Code

Cleaned up cache output
authorTon Voon <tonvoon@users.sourceforge.net>
Thu, 3 Apr 2003 21:21:59 +0000 (21:21 +0000)
committerTon Voon <tonvoon@users.sourceforge.net>
Thu, 3 Apr 2003 21:21:59 +0000 (21:21 +0000)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@469 f882894a-f735-0410-b71e-b25c423dba1c

plugins-scripts/check_oracle.sh

index 1de8fa076937c22cf9ec0e91d70d7c985e471953..22ba2bb6a753bd47fce9652380acfa5ad880c101 100755 (executable)
@@ -222,14 +222,14 @@ EOF`
     lib_hr=`echo $result | awk '{print int($1)}'`
 
     if [ $buf_hr -le ${5} -o $lib_hr -le ${5} ] ; then
-       echo "${4} : ${2} CRITICAL - Cache Hit Rates: $lib_hr % Lib -- $buf_hr % Buff"
+       echo "${2} CRITICAL - Cache Hit Rates: $lib_hr% Lib -- $buf_hr% Buff"
        exit $STATE_CRITICAL
     fi
     if [ $buf_hr -le ${6} -o $lib_hr -le ${6} ] ; then
-       echo "${4} : ${2} WARNING  - Cache Hit Rates: $lib_hr % Lib -- $buf_hr % Buff"
+       echo "${2} WARNING  - Cache Hit Rates: $lib_hr% Lib -- $buf_hr% Buff"
        exit $STATE_WARNING
     fi
-    echo "${4} : ${2} OK - Cache Hit Rates: $lib_hr % Lib -- $buf_hr % Buff"
+    echo "${2} OK - Cache Hit Rates: $lib_hr% Lib -- $buf_hr% Buff"
 
     exit $STATE_OK
     ;;