NRPE vs local check_procs = different result?

Onotsky, Steve x55328 Steve.Onotsky at broadridge.com
Wed Apr 1 22:24:28 CEST 2009


Maybe I'm not understanding the problem, or the cold meds are clouding
my thinking...  but wouldn't the child process that NRPE fires off, have
'/usr/sbin/alljunk' as a parameter? 

 

________________________________

From: Aaron Largent [mailto:aaron.largent at gmail.com] 
Sent: April 1, 2009 15:43
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] NRPE vs local check_procs = different result?

 

I am getting different results from NRPE than the local commands that
NRPE is supopsed to be running.  I am trying to understand if I am doing
something wrong, or if I am hitting a bug.  the process is NOT running,
and the local command verifies this.  the NRPE command from the server
is saying it IS running, though.

 

any help is appreciated!

 

 

-------- from the client being monitored

 

# grep alljunk /etc/nagios/nrpe.cfg
command[procs_alljunka]=/usr/lib/nagios/plugins/check_procs -w 1: -c 1:
-a '/usr/sbin/alljunk'

# /usr/lib/nagios/plugins/check_procs -c 1: -c 1: -a '/usr/sbin/alljunk'
PROCS CRITICAL: 0 processes with args '/usr/sbin/alljunk'

 

 

-------- from the nagios server

# /usr/lib/nagios/plugins/check_nrpe -H xx.xx.xx.xx -c procs_alljunka
PROCS OK: 1 process with args '/usr/sbin/alljunk'

 

 


This message and any attachments are intended only for the use of the addressee and
may contain information that is privileged and confidential. If the reader of the 
message is not the intended recipient or an authorized representative of the
intended recipient, you are hereby notified that any dissemination of this
communication is strictly prohibited. If you have received this communication in
error, please notify us immediately by e-mail and delete the message and any
attachments from your system.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090401/dfb58a53/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
-------------- next part --------------
_______________________________________________
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