|
From: | Francisco Reyes |
Subject: | CPU syntax |
Date: | Thu, 31 Jul 2014 12:55:59 -0400 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0 |
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? |
[Prev in Thread] | Current Thread | [Next in Thread] |