summaryrefslogtreecommitdiffstats
path: root/plugins-scripts/check_oracle.sh
diff options
context:
space:
mode:
authorJan Wagner <waja@cyconet.org>2014-08-20 20:32:09 +0200
committerJan Wagner <waja@cyconet.org>2014-08-20 20:37:24 +0200
commit3a668c0f87f3ad31f28997ed43b374edf78f6227 (patch)
tree6578424f919711c80eef39dedc2ec23d9a07f70d /plugins-scripts/check_oracle.sh
parentd4b6d09f104f73c462e0e0c8a297ba9fc7c5a53e (diff)
downloadmonitoring-plugins-3a668c0f87f3ad31f28997ed43b374edf78f6227.tar.gz
Setting PATH at first
Diffstat (limited to 'plugins-scripts/check_oracle.sh')
-rwxr-xr-xplugins-scripts/check_oracle.sh3
1 files changed, 2 insertions, 1 deletions
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 @@
6# This Monitoring plugin was created to check Oracle status 6# This Monitoring plugin was created to check Oracle status
7# 7#
8 8
9PATH="@TRUSTED_PATH@"
10export PATH
9PROGNAME=`basename $0` 11PROGNAME=`basename $0`
10PROGPATH=`echo $0 | sed -e 's,[\\/][^\\/][^\\/]*$,,'` 12PROGPATH=`echo $0 | sed -e 's,[\\/][^\\/][^\\/]*$,,'`
11REVISION="@NP_VERSION@" 13REVISION="@NP_VERSION@"
12PATH="@TRUSTED_PATH@"
13 14
14. $PROGPATH/utils.sh 15. $PROGPATH/utils.sh
15 16