Ups monitoring
Tedman Eng
teng at dataway.com
Sat Nov 8 05:51:47 CET 2003
You can try using the check_apc_ups.pl plugin and editing the SNMP OID's to
fit your brand. They are easy enough to find, just look for the section
that looks like this:
# APC UPS OIDs
my $upsBasicOutputStatus = ".1.3.6.1.4.1.318.1.1.1.4.1.1.0";
my $upsBasicBatteryStatus = ".1.3.6.1.4.1.318.1.1.1.2.1.1.0";
...
my $upsAdvOutputLoad = ".1.3.6.1.4.1.318.1.1.1.4.2.3.0";
my $upsAdvTestDiagnosticsResults = ".1.3.6.1.4.1.318.1.1.1.7.2.3.0";
If your UPS doesn't support a particular metric (temp, runtime, output
load), it shouldn't be too hard to comment out the section asociated with
each.
"MiikaT" <mlist.nagios at inlan.inmics.fi> wrote in message
news:1068201448.3fab75e850716 at imp.inmics.fi...
>
> Hi,
>
> I'm trying to use check_snmp with ups, to see if input voltage drops under
> value 200. I suppose libexec/negate could negate the snmp query, so I
could
> get a warning when the voltage value drops to 220 and a critical when
value is
> <200.
>
> ./negate check_snmp -H 192.xxx.xxx.12 -o 1.3.6.1.2.1.33.1.3.3.1.3.1 -w
220 -c
> 200
>
> the result for this is:
>
> SNMP CRITICAL - *233*
>
> which should be "ok".
>
> Should negate command work like this, or should I use something else? The
ups
> is powerware, so apc ups plugins don't work...
>
> -MiikaT
>
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive? Does it
> help you create better code? SHARE THE LOVE, and help us help
> YOU! Click Here: http://sourceforge.net/donate/
> _______________________________________________
> 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
>
-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
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