Catching up Sharingan, Geth, and ShadowArch roles
This commit is contained in:
@@ -6,9 +6,9 @@
|
||||
## usage. Each test specifies a resource, conditions and the action to be
|
||||
## performed should a test fail.
|
||||
check system $HOST
|
||||
if loadavg (1min) per core > 2 for 5 cycles then exec "/etc/monit.d/scripts/critical Load average is high"
|
||||
if memory usage > 75% then exec "/etc/monit.d/scripts/critical Memory is overused."
|
||||
if swap usage > 25% then exec "/etc/monit.d/scripts/critical Swap is overused."
|
||||
if loadavg (1min) per core > 2 for 25 times within 30 cycles then exec "/etc/monit.d/scripts/critical Load average is high"
|
||||
if memory usage > 75% for 8 times within 10 cycles then exec "/etc/monit.d/scripts/critical Memory is overused."
|
||||
if swap usage > 25% for 8 times within 10 cycles then exec "/etc/monit.d/scripts/critical Swap is overused."
|
||||
group system
|
||||
#
|
||||
## Check filesystem permissions, uid, gid, space usage, inode usage and disk I/O.
|
||||
|
Reference in New Issue
Block a user