Fixed typo's in config
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user