check_cpu plugin problems

nemir nemiria nemir at hotmail.com
Fri Apr 22 06:27:02 CEST 2005


>I am having problems with check_cpu

That is a pity. I hope I can help.


>1. running it stand along produces
>OK: CPU os 0% idle
>hmm that does not make sens

Running it stand alone just reports the amount of idle CPU as a percentage.  
It will always report the value as "OK:" so as not to trigger a nagios 
event.   Even if the CPU is running flat out.


>when i call it with arguements i get
>check_cup -c 10 -w 20

>i get
>CPU CRITICAL: CPU is only 0% idle

Yes.  This CPU seems to be very busy.  This is what I would expect.

What happens when you run top?  What processes are using CPU?


>if  is set critical high than warning i get an error telling me warning 
>must be higher
>than critical

This plugin reports the CPU Idle state as a percentage.  Therefore if the 
warning threshold were lower than the critical threshold it would be 
redundant.   This is similar to other plugins.


>last when i run it as a nagios plug in I get no values returned

Can you show you checkcommands.cfg entry?


>has anyone played around with this plugin

A little, yes.

>i am running this on red hat fedora

Should be no problem,   I run it on RH8,  Fedora 2 & 3 and OpenBSD



>thanks

Very happy to help!

Chau!

Nemir




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list