nrpe and check_apcups newb problem

Andy Graybeal andy.graybeal at casanueva.com
Wed Sep 29 00:38:12 CEST 2010


Greetings, I'm sure this is a newb problem, but I'm sorry I haven't been 
able to figure it out.

I'm trying to monitor my APC UPS on a remote computer.

My nagios website is saying this:
	
	
APC CHARGE 	UNKNOWN 	2010-09-28 18:22:02 	7d 8h 2m 19s 	4/4 	(No output 
returned from plugin)
	
APC LOAD 	UNKNOWN 	2010-09-28 18:23:17 	7d 8h 1m 4s 	4/4 	(No output 
returned from plugin)
	
APC STATUS 	UNKNOWN 	2010-09-28 18:24:32 	7d 7h 59m 49s 	4/4 	(No output 
returned from plugin)
	
APC TEMP 	UNKNOWN 	2010-09-28 18:25:47 	7d 7h 58m 34s 	4/4 	(No output 
returned from plugin)


running the check_nrpe from the command line works great though:

andy at nagios:/usr/lib/nagios/plugins$ ./check_nrpe -H 192.168.2.200 -c 
check_apcups_bcharge
OK - Battery Charge: 100.0%
andy at nagios:/usr/lib/nagios/plugins$ ./check_nrpe -H 192.168.2.200 -c 
check_apcups_loadpct
OK - Load: 57.2%
andy at nagios:/usr/lib/nagios/plugins$ ./check_nrpe -H 192.168.2.200 -c 
check_apcups_status
ONLINE - STATUS : ONLINE
andy at nagios:/usr/lib/nagios/plugins$ ./check_nrpe -H 192.168.2.200 -c 
check_apcups_itemp
OK - Internal Temperature: 27.0 C
andy at nagios:/usr/lib/nagios/plugins$

I think this shows that the NRPE client is configured correctly on the 
remote computer, and the nagios box is chatting correctly with the 
remote computer.

How do I go about making this work?

-Andy

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
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