aboutsummaryrefslogtreecommitdiff
path: root/plugins-scripts
diff options
context:
space:
mode:
Diffstat (limited to 'plugins-scripts')
-rwxr-xr-xplugins-scripts/check_log.sh5
-rwxr-xr-xplugins-scripts/check_oracle.sh3
-rwxr-xr-xplugins-scripts/check_sensors.sh5
3 files changed, 6 insertions, 7 deletions
diff --git a/plugins-scripts/check_log.sh b/plugins-scripts/check_log.sh
index f67eff69..d28c8d0a 100755
--- a/plugins-scripts/check_log.sh
+++ b/plugins-scripts/check_log.sh
@@ -58,12 +58,11 @@
# Paths to commands used in this script. These
# may have to be modified to match your system setup.
+PATH="@TRUSTED_PATH@"
+export PATH
PROGNAME=`basename $0`
PROGPATH=`echo $0 | sed -e 's,[\\/][^\\/][^\\/]*$,,'`
REVISION="@NP_VERSION@"
-PATH="@TRUSTED_PATH@"
-
-export PATH
. $PROGPATH/utils.sh
diff --git a/plugins-scripts/check_oracle.sh b/plugins-scripts/check_oracle.sh
index 1873a3c2..96078aca 100755
--- a/plugins-scripts/check_oracle.sh
+++ b/plugins-scripts/check_oracle.sh
@@ -6,10 +6,11 @@
# This Monitoring plugin was created to check Oracle status
#
+PATH="@TRUSTED_PATH@"
+export PATH
PROGNAME=`basename $0`
PROGPATH=`echo $0 | sed -e 's,[\\/][^\\/][^\\/]*$,,'`
REVISION="@NP_VERSION@"
-PATH="@TRUSTED_PATH@"
. $PROGPATH/utils.sh
diff --git a/plugins-scripts/check_sensors.sh b/plugins-scripts/check_sensors.sh
index 05c64c48..f7428301 100755
--- a/plugins-scripts/check_sensors.sh
+++ b/plugins-scripts/check_sensors.sh
@@ -1,11 +1,10 @@
#!/bin/sh
+PATH="@TRUSTED_PATH@"
+export PATH
PROGNAME=`basename $0`
PROGPATH=`echo $0 | sed -e 's,[\\/][^\\/][^\\/]*$,,'`
REVISION="@NP_VERSION@"
-PATH="@TRUSTED_PATH@"
-
-export PATH
. $PROGPATH/utils.sh