APC snmp monitoring

Jim Perrin jperrin at gmail.com
Wed May 7 14:50:32 CEST 2008


I'm running into an interesting issue with monitoring some of our UPS
systems via the 9617 management card's snmp interface. I've trying to
get the altinity check_apc_ups plugin
(http://www.nagiosexchange.org/cgi-bin/page.cgi?g=1733.html;d=1)
working, but I'm having an issue with the ePN interpreter.

Running CentOS 5 (x86) and nagios 2.11.

If I execute the plugin as root or as the nagios user via su - nagios,
it works fine, however when nagios itself executes the command, I get
ePN failures about how the variables are un-defined. The only thing I
can see which might cause this (my perl sucks) is that some of the
other perl plugins have a 'use vars $var1 $var2' etc, and this one
does not.

Is anyone else seeing similar behavior, or could take a look at the
perl-fu in the plugin?

-- 
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
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