check_procs xend

Richard Mohr rfmohr at osc.edu
Tue Sep 11 17:16:51 CEST 2007


On Sat, 2007-09-08 at 00:57 -0500, Terry L. Inzauro wrote:

> root at peyton:/etc/xen# ps -ef | grep xend
> root      2392     1  0 Sep07 ?        00:00:00 python /usr/lib/xen-3.0.3-1/bin/xend start
> root      2394  2392  0 Sep07 ?        00:00:11 python /usr/lib/xen-3.0.3-1/bin/xend start
> 
> i've tried the following with no success:
> 
> '/opt/nagios/libexec/check_procs -w 2:2 -c 2:2 -C python -a '/usr/lib/xen-3.0.3-1/bin/xend start''
> '/opt/nagios/libexec/check_procs -w 2:2 -c 2:2 -C python -a '/usr/lib/xen-3.0.3-1/bin/xend''
> '/opt/nagios/libexec/check_procs -w 2:2 -c 2:2 -C python -a 'start''
> '/opt/nagios/libexec/check_procs -w 2:2 -c 2:2 -C python'

Matching the command can sometimes be tricky.  (Running "ps -ef" on one
of my systems shows the command /usr/sbin/gmond, but check_procs will
only see it if I use "-C gmond" and not "-C /usr/sbin/gmond".)

Since you are more interested in finding the "xend" portion of the
command, I suggest dropping the -C option and just use "-a xend" to
locate the xend instances.

-- 
Rick Mohr
Systems Developer
Ohio Supercomputer Center


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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