summaryrefslogtreecommitdiffstats
path: root/plugins-scripts
diff options
context:
space:
mode:
authorTon Voon <tonvoon@users.sourceforge.net>2003-04-03 21:21:59 (GMT)
committerTon Voon <tonvoon@users.sourceforge.net>2003-04-03 21:21:59 (GMT)
commit6f49cfd991d0d3cfa63aea26ebb14f73bd656bcd (patch)
tree7d2ceda3cb5872c9b06a89bfea180929ba3e8d01 /plugins-scripts
parent2a173047e21124c93a0e881557f89a8097a6fc50 (diff)
downloadmonitoring-plugins-6f49cfd991d0d3cfa63aea26ebb14f73bd656bcd.tar.gz
Cleaned up cache output
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@469 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins-scripts')
-rwxr-xr-xplugins-scripts/check_oracle.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins-scripts/check_oracle.sh b/plugins-scripts/check_oracle.sh
index 1de8fa0..22ba2bb 100755
--- a/plugins-scripts/check_oracle.sh
+++ b/plugins-scripts/check_oracle.sh
@@ -222,14 +222,14 @@ EOF`
222 lib_hr=`echo $result | awk '{print int($1)}'` 222 lib_hr=`echo $result | awk '{print int($1)}'`
223 223
224 if [ $buf_hr -le ${5} -o $lib_hr -le ${5} ] ; then 224 if [ $buf_hr -le ${5} -o $lib_hr -le ${5} ] ; then
225 echo "${4} : ${2} CRITICAL - Cache Hit Rates: $lib_hr % Lib -- $buf_hr % Buff" 225 echo "${2} CRITICAL - Cache Hit Rates: $lib_hr% Lib -- $buf_hr% Buff"
226 exit $STATE_CRITICAL 226 exit $STATE_CRITICAL
227 fi 227 fi
228 if [ $buf_hr -le ${6} -o $lib_hr -le ${6} ] ; then 228 if [ $buf_hr -le ${6} -o $lib_hr -le ${6} ] ; then
229 echo "${4} : ${2} WARNING - Cache Hit Rates: $lib_hr % Lib -- $buf_hr % Buff" 229 echo "${2} WARNING - Cache Hit Rates: $lib_hr% Lib -- $buf_hr% Buff"
230 exit $STATE_WARNING 230 exit $STATE_WARNING
231 fi 231 fi
232 echo "${4} : ${2} OK - Cache Hit Rates: $lib_hr % Lib -- $buf_hr % Buff" 232 echo "${2} OK - Cache Hit Rates: $lib_hr% Lib -- $buf_hr% Buff"
233 233
234 exit $STATE_OK 234 exit $STATE_OK
235 ;; 235 ;;