From: Alexander Barton Date: Mon, 14 Dec 2009 23:30:05 +0000 (+0100) Subject: Sys-Load: result in warning when load15 >2 (instead >1) X-Git-Tag: rel-2~25 X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=nagcollect.git;a=commitdiff_plain;h=1bbc79d9927caf04d9e8c406340c43351b69fe30;ds=sidebyside Sys-Load: result in warning when load15 >2 (instead >1) --- diff --git a/client/lib/tests/Sys-Load.tst b/client/lib/tests/Sys-Load.tst index c731f4b..54b9eb0 100644 --- a/client/lib/tests/Sys-Load.tst +++ b/client/lib/tests/Sys-Load.tst @@ -13,7 +13,7 @@ load15=`echo $load | cut -d' ' -f3 | cut -d'.' -f1` if [ $load01 -ge 8 -o $load05 -ge 6 -o $load15 -ge 3 ]; then STATUS=2 TEXT="ERROR - Load average: $load" -elif [ $load01 -ge 4 -o $load05 -ge 3 -o $load15 -ge 1 ]; then +elif [ $load01 -ge 4 -o $load05 -ge 3 -o $load15 -ge 2 ]; then STATUS=1 TEXT="WARNING - Load average: $load" else