Why isn't nrpe 'check_procs' finding my Passenger process?

Posted by ethrbunny on Server Fault See other posts from Server Fault or by ethrbunny
Published on 2014-06-04T20:00:45Z Indexed on 2014/06/04 21:28 UTC
Read the original article Hit count: 216

Filed under:
|

I'm trying to use check_procs from NRPE to find out whether Passenger is running on my server. It loads from httpd but appears separately.

32135 ?        Sl     0:09 Passenger RackApp: /usr/share/puppet/rack/puppetmasterd  
32589 ?        Sl     0:01 Passenger AppPreloader: /usr/share/puppet/rack/puppetmasterd  
32629 ?        Sl     0:05 Passenger RackApp: /usr/share/puppet/rack/puppetmasterd  
32751 ?        Sl     0:05 Passenger RackApp: /usr/share/puppet/rack/puppetmasterd  

When I try to test it like so:

 check_procs -w 2: -c 3: -C Passenger

It tells me there are 0 processes found. I see them - how do I get NRPE to count them?

© Server Fault or respective owner

Related posts about nagios

Related posts about nrpe