diff options
-rwxr-xr-x | plugins-scripts/check_log.sh | 5 | ||||
-rwxr-xr-x | plugins-scripts/check_oracle.sh | 3 | ||||
-rwxr-xr-x | plugins-scripts/check_sensors.sh | 5 |
3 files changed, 6 insertions, 7 deletions
diff --git a/plugins-scripts/check_log.sh b/plugins-scripts/check_log.sh index f67eff6..d28c8d0 100755 --- a/plugins-scripts/check_log.sh +++ b/plugins-scripts/check_log.sh | |||
@@ -58,12 +58,11 @@ | |||
58 | # Paths to commands used in this script. These | 58 | # Paths to commands used in this script. These |
59 | # may have to be modified to match your system setup. | 59 | # may have to be modified to match your system setup. |
60 | 60 | ||
61 | PATH="@TRUSTED_PATH@" | ||
62 | export PATH | ||
61 | PROGNAME=`basename $0` | 63 | PROGNAME=`basename $0` |
62 | PROGPATH=`echo $0 | sed -e 's,[\\/][^\\/][^\\/]*$,,'` | 64 | PROGPATH=`echo $0 | sed -e 's,[\\/][^\\/][^\\/]*$,,'` |
63 | REVISION="@NP_VERSION@" | 65 | REVISION="@NP_VERSION@" |
64 | PATH="@TRUSTED_PATH@" | ||
65 | |||
66 | export PATH | ||
67 | 66 | ||
68 | . $PROGPATH/utils.sh | 67 | . $PROGPATH/utils.sh |
69 | 68 | ||
diff --git a/plugins-scripts/check_oracle.sh b/plugins-scripts/check_oracle.sh index 1873a3c..96078ac 100755 --- a/plugins-scripts/check_oracle.sh +++ b/plugins-scripts/check_oracle.sh | |||
@@ -6,10 +6,11 @@ | |||
6 | # This Monitoring plugin was created to check Oracle status | 6 | # This Monitoring plugin was created to check Oracle status |
7 | # | 7 | # |
8 | 8 | ||
9 | PATH="@TRUSTED_PATH@" | ||
10 | export PATH | ||
9 | PROGNAME=`basename $0` | 11 | PROGNAME=`basename $0` |
10 | PROGPATH=`echo $0 | sed -e 's,[\\/][^\\/][^\\/]*$,,'` | 12 | PROGPATH=`echo $0 | sed -e 's,[\\/][^\\/][^\\/]*$,,'` |
11 | REVISION="@NP_VERSION@" | 13 | REVISION="@NP_VERSION@" |
12 | PATH="@TRUSTED_PATH@" | ||
13 | 14 | ||
14 | . $PROGPATH/utils.sh | 15 | . $PROGPATH/utils.sh |
15 | 16 | ||
diff --git a/plugins-scripts/check_sensors.sh b/plugins-scripts/check_sensors.sh index 05c64c4..f742830 100755 --- a/plugins-scripts/check_sensors.sh +++ b/plugins-scripts/check_sensors.sh | |||
@@ -1,11 +1,10 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | 2 | ||
3 | PATH="@TRUSTED_PATH@" | ||
4 | export PATH | ||
3 | PROGNAME=`basename $0` | 5 | PROGNAME=`basename $0` |
4 | PROGPATH=`echo $0 | sed -e 's,[\\/][^\\/][^\\/]*$,,'` | 6 | PROGPATH=`echo $0 | sed -e 's,[\\/][^\\/][^\\/]*$,,'` |
5 | REVISION="@NP_VERSION@" | 7 | REVISION="@NP_VERSION@" |
6 | PATH="@TRUSTED_PATH@" | ||
7 | |||
8 | export PATH | ||
9 | 8 | ||
10 | . $PROGPATH/utils.sh | 9 | . $PROGPATH/utils.sh |
11 | 10 | ||