monitoring: chunk back the various monitoring bits for cpu and mem

This commit is contained in:
Aaron Bieber 2023-04-14 13:35:05 -06:00
parent c739c710e3
commit 662f7c538b
No known key found for this signature in database

View File

@ -11,12 +11,6 @@ include /run/secrets/monit_cfg
}
check system $HOST
if loadavg (5min) > 3 then alert
if loadavg (15min) > 2 then alert
if memory usage > 80% for 4 cycles then alert
if swap usage > 20% for 4 cycles then alert
if cpu usage (user) > 80% for 2 cycles then alert
if cpu usage (system) > 40% for 2 cycles then alert
if cpu usage (wait) > 80% for 2 cycles then alert
if cpu usage > 200% for 4 cycles then alert
if memory usage > 80% for 10 cycles then alert
if cpu usage > 200% for 200 cycles then alert