check_load is good?

Marc Powell marc at ena.com
Fri Mar 31 18:41:06 CEST 2006


Yep, you're right on. The OP would need to use something like --

check_procs -m CPU -w 80 -c 90

That would warn if any process exceeded 80% cpu and show critical if it
exceeded 90%.

--
Marc

> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of InnovationsTech, Matthew
Thomas
> Sent: Friday, March 31, 2006 3:54 AM
> To: Sim; Nagios Users Mailing List
> Subject: RE: [Nagios-users] check_load is good?
> 
> This is only checking the load of the box. You have it set to alert
when
> the load gets to 15 or 5 or such. Your load is circa 1..
> 
> You would have to use ./check_proc or something of another
> 
> Am I following correctly?
> 
> Regards,
> Matt
> 
> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net
> [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Sim
> Sent: Friday, March 31, 2006 04:48
> To: Nagios Users Mailing List
> Subject: [Nagios-users] check_load is good?
> 
> Hi! I'm using check_load with this sintax
> 
> /usr/local/nagios/libexec/check_load -w 15,10,5 -c 30,25,20
> 
> This morning I have see ( from RRDTools ) high/100% load for my cpu (
> this costant state for approximately 5 hours ).
> 
> # top
> top - 11:40:55 up 82 days, 20:12,  2 users,  load average: 1.00, 1.07,
> 1.09
> Tasks:  69 total,   3 running,  66 sleeping,   0 stopped,   0 zombie
> Cpu(s):  96.7% user,   1.0% system,   0.0% nice,   2.3% idle
> Mem:   1033420k total,  1019868k used,    13552k free,     1448k
buffers
> Swap:  1831400k total,     6368k used,  1825032k free,    79300k
cached
> 
>   PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
> 11426 root      18   0  560m 560m 1204 R 97.3 55.6  82:23.55 vi
> 17116 root      10   0   964  964  776 R  0.3  0.1   0:00.04 top
> 
> 
> 
> # /usr/local/nagios/libexec/check_load -w 15,10,5 -c 30,25,20
> OK - load average: 1.01, 1.05, 1.08|load1=1.010;15.000;30.000;0;
> load5=1.050;10.000;25.000;0; load15=1.080;5.000;20.000;0;
> 
> 
> Why check_load can't see this "abouse" of CPU?



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
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