[Nagiosplug-help] check_procs

Rick Garland Rick.Garland at quantum.com
Thu Jan 10 22:45:30 CET 2008


Hi all:

 

Working with Nagios 2.9 and plugins 1.4.9 on a RHEL4 system.

 

I have a check_procs monitor looking for specific application processes
and alerts if one or more of the application processes begins to consume
over 50% CPU.

     check_procs -m CPU -P 50 -w 50 -c 50 -C f60webmx

So I get an alert when such a process (or processes) is found.

     CPU CRITICAL: 1 crit, 0 warn out of 1 processes with PCPU >= 50.00,
command name 'f60webmx'

There can be more than 1 f60webmx process being a CPU hog.

 

The question is, when the plugin finds an offender(s) how can I get the
respective PID as well?

 

Thanks

 

 

 

Rick Garland

Sr System Administrator

Quantum, Corp.

8560 Upland Dr.

Englewood, CO  80112

 

office   720-249-5984

cell      720-210-4671

rick.garland at quantum.com

 


-----------------------------------------------------------
The information contained in this transmission may be 
confidential. Any disclosure, copying, or further 
distribution of confidential information is not permitted 
unless such privilege is explicitly granted in writing by 
Quantum Corporation. Furthermore, Quantum Corporation is not 
responsible for the proper and complete transmission of the 
substance of this communication or for any delay in its 
receipt.
------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20080110/7ade2bc8/attachment.html>


More information about the Help mailing list