[Nagiosplug-help] Problem with NRPE and check_procs with -C or-a usage

Peter Spatz peter.spatz at xchanging.com
Thu Aug 12 19:42:31 CEST 2010


Activate debug mode in nrpe.cfg an have a look on your syslog what's happening when the check is called. 

Mit freundlichen Grüßen / Best Regards 



Peter Spatz 
IT Networks & Support – Data Center Services 

Xchanging Transaction Bank GmbH 
Wilhelm-Fay-Straße 31-37 
65936 Frankfurt 
Germany 

IT Service Desk: +49 (0) 69 12012 64446 
Facsimile: +49 (0) 69 12012 68825 
Hotline Mailbox: pchelp at xchanging.com <mailto:pchelp at xchanging.com> 
E-mail: peter.spatz at xchanging.com 
Web:

________________________________

Von: Arthur Franke <arthurjfranke at gmail.com> 
An: Nagios Plugin Help List <nagiosplug-help at lists.sourceforge.net> 
Gesendet: Thu Aug 12 19:37:17 2010
Betreff: Re: [Nagiosplug-help] Problem with NRPE and check_procs with -C or-a usage 


Thanks for the reply.  Yes, many times.

-Arthur



On Thu, Aug 12, 2010 at 12:29 PM, Michael Saldivar <mike.saldivar at advocatecreditrepair.com> wrote:


	On Tue, Aug 10, 2010 at 7:07 PM, Arthur Franke <arthurjfranke at gmail.com> wrote:
	

		Hi all,


		I'm trying to check for the presence of a particular process on a remove machine using NRPE and check_procs with a -a or -C argument.  I have defined on the remote machine's nrpe_local.cfg:
		
		command[check_foo]=/usr/nagios/plugins/check_procs -c 1:1 -C foo
		
		Running a similar command locally on that machine works fine:
		
		$ /usr/lib/nagios/plugins/check_procs -c 1:1 -C foo
		PROCS OK: 1 process with command name 'foo'
		
		But when I try to run the command from the Nagios server, I get the following result:
		
		$ /usr/lib/nagios/plugins/check_nrpe -H remote.host -c check_foo
		NRPE: Unable to read output
		
		Whereas other monitored services work fine:
		$ /usr/lib/nagios/plugins/check_nrpe -H remote.host -c check_procs
		PROCS OK: 97 processes
		



	 Just to be certain, did you restart the nrpe daemon on remote.host after modifying its nrpe.cfg file?
	



	-- 
	Mike Saldivar
	
	------------------------------------------------------------------------------
	This SF.net email is sponsored by
	
	Make an app they can't live without
	Enter the BlackBerry Developer Challenge
	http://p.sf.net/sfu/RIM-dev2dev 
	_______________________________________________
	Nagiosplug-help mailing list
	Nagiosplug-help at lists.sourceforge.net
	https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
	::: Please include plugins version (-v) and OS when reporting any issue.
	::: Messages without supporting info will risk being sent to /dev/null
	
	



Xchanging Transaction Bank GmbH - HRB 58 951 - Sitz Frankfurt - Amtsgericht Frankfurt am Main
Vorsitzender des Aufsichtsrats: Andreas Povel - Geschaeftsfuehrer: Richard Breitenbuecher, Matthias Sohler


-----------------------------------------------------------------------------------------------
"Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.

This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden."
-----------------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20100812/d4466aeb/attachment.html>


More information about the Help mailing list