diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2003-04-03 21:21:59 +0000 |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2003-04-03 21:21:59 +0000 |
commit | 6f49cfd991d0d3cfa63aea26ebb14f73bd656bcd (patch) | |
tree | 7d2ceda3cb5872c9b06a89bfea180929ba3e8d01 /plugins-scripts/check_oracle.sh | |
parent | 2a173047e21124c93a0e881557f89a8097a6fc50 (diff) | |
download | monitoring-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/check_oracle.sh')
-rwxr-xr-x | plugins-scripts/check_oracle.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins-scripts/check_oracle.sh b/plugins-scripts/check_oracle.sh index 1de8fa07..22ba2bb6 100755 --- a/plugins-scripts/check_oracle.sh +++ b/plugins-scripts/check_oracle.sh @@ -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 ;; |