I had this in my monitrc
if cpu usage (user) > 85% then alert
if cpu usage (system) > 65% then alert
if cpu usage (wait) > 30% then alert
CPU got to 100% and when I checked MMonit it was 65% user and 35% system.
I went to the monit site to look for a syntax for cpu without specific
type and found
http://mmonit.com/wiki/Monit/ConfigurationExamples
Spamassassin daemon (spam scan daemon)
if cpu usage > 99% for 5 cycles then alert
However, when I try
if cpu usage > 85 for 5 cycles then alert
if cpu usage > 95 then alert
Both of those lines give errors.
monit --version
This is Monit version 5.8
There is no way to check total CPU instead of user or system separately?
--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general