Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Monit version: 5.0.3
Server: Ubuntu 10.04.4 LTS

I want to monitor the system cpu usage with Monit and I am trying as follows:

check system host_name
   if cpu usage (user) > 70% then alert
   if cpu usage (system) > 30% then alert
   if cpu usage (wait) > 20% then alert

But when I use this command:

monit -v

The response is:

'host_name' cpu wait usage check succeeded [current cpu wait usage=-1.0%]
'host_name' cpu system usage check succeeded [current cpu system usage=-1.0%]
'host_name' cpu user usage check succeeded [current cpu user usage=-1.0%] 

I guess it is not working :) Why do I get this message? The cpu usage is not -1.0% of course, so why do I get this false result?

share|improve this question
Also, can you update to a more current Monit? Today's version is 5.5. – ewwhite Mar 14 '14 at 21:10
up vote 0 down vote accepted

I think you have this result because no check has already been performed.

I would suggest to edit file /etc/monit/monitrc and uncomment line :

set daemon  120

Then restart monit : /etc/init.d/monit restart

Should be OK.

The fact is that your monit version comes with a control file fully commented.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.