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:[email protected]] 
Sent: April 1, 2009 15:43
To: [email protected]
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.

------------------------------------------------------------------------------
_______________________________________________
Nagios-users mailing list
[email protected]
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

Reply via email to