Skip to content
Snippets Groups Projects

6010 check pqsql

1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
+ 2
2
@@ -254,7 +254,7 @@ case "${sMode}" in
# sum of 7th column (with delta per sec)
typeset -i iTotal; iTotal=$( echo "$out" | awk '{ sum+=$7} END { print sum;}' )
if [ $iTotal -gt 0 ]; then
ph.setStatus "warning"
ph.setStatus "critical"
fi
descr+=" - currently $iTotal per ${deltaunit}"
;;
@@ -292,7 +292,7 @@ case "${sMode}" in
# sum of 7th column (with delta per sec)
typeset -i iTotal; iTotal=$( echo "$out" | awk '{ sum+=$7} END { print sum;}' )
if [ $iTotal -gt 0 ]; then
ph.setStatus "warning"
ph.setStatus "critical"
fi
descr+=" - currently $iTotal per ${deltaunit}"
;;
Loading