diff --git a/monitoring/check_ntppool_score b/monitoring/check_ntppool_score index 4ce5777..4cbf0fe 100755 --- a/monitoring/check_ntppool_score +++ b/monitoring/check_ntppool_score @@ -9,11 +9,17 @@ then exit 3 fi -result=`echo "$score > 10" | bc` +result=`echo "$score >= 20" | bc` if [ $result == 1 ] then echo "OK: score=$score|score=$score;;;;" exit 0 +fi +result=`echo "$score > 10" | bc` +if [ $result == 1 ] +then + echo "WARNING: score=$score|score=$score;;;;" + exit 1 else echo "CRITICAL: score=$score|score=$score;;;;" exit 2