Fixed typo's in config

This commit is contained in:
2021-01-08 17:52:30 +01:00
parent ff9b4229c5
commit 7c719140fe
4 changed files with 13 additions and 9 deletions

View File

@@ -1,8 +1,8 @@
check system $HOST
#SystemLoad
if loadavg (5min) > 4 then exec "/opt/MonitNotify.sh 'SYS-WARN:: High load (5min)'"
if loadavg (5min) > 4 then exec "/opt/MonitNotify.sh 'SYS-WARN: High load (5min)'"
else if recovered then exec "/opt/MonitNotify.sh 'SYS-OK: load (5min)'"
if loadavg (15min) > 2 then exec "/opt/MonitNotify.sh 'SYS-WARN:: High load (15min)'"
if loadavg (15min) > 2 then exec "/opt/MonitNotify.sh 'SYS-WARN: High load (15min)'"
else if recovered then exec "/opt/MonitNotify.sh 'SYS-OK: load (15min)'"
#Memory
@@ -18,7 +18,7 @@ check system $HOST
else if recovered then exec "/opt/MonitNotify.sh 'SYS-OK: CPU(sys) threshold'"
if cpu usage (wait) > 80% for 4 cycles then exec"/opt/MonitNotify.sh 'SYS-WARN: CPU(wait) threshold'"
else if recovered then exec "/opt/MonitNotify.sh 'SYS-OK: CPU(wait) threshold'"
if cpu usage > 200% for 4 cycles then exec "/opt/MonitNotify.sh /opt/MonitNotify.sh 'SYS-WARN: CPU threshold'"
if cpu usage > 200% for 4 cycles then exec "/opt/MonitNotify.sh 'SYS-WARN: CPU threshold'"
else if recovered then exec "/opt/MonitNotify.sh 'SYS-OK: CPU threshold'"
#Disk