Build precise queries to find exactly what you need
Press ESC to close
Join our next live webinar: “Advanced Nagios Monitoring Techniques” – Register Now
Your review has been submitted and is pending approval.
This is a Nagios Plugin destined to check the status of APC Automatic Transform Switch via SNMP. The plugin checks status of both inputs and output.
Current Version
1.0
Last Release Date
2012-11-09
Owner
Tytus Kurek
Website
http://tkurek.blogspot.com/
License
GPL
Compatible With
The 'snmp' package must be installed on the Nagios box. The plugin is destined for SNMP version 2. The plugin checks power supply of both inputs and output of the APC Automatic Transfer Switch. It checks both frequency and voltage. It has been successfully tested on APC ATS 7724. Usage: check_aoc_ats.pl [options] (-help || -?) Options: Mandatory: -H IP address of monitored APC ATS -C SNMP community
There is a critical bug on line 94 - the check will never return CRITICAL for "source B" unless both power sources are down!
Seems to work well, with one minor problem, the supply names do not show, i.e. supply A and supply B. On Ubuntu 14.04 LTS the OID that it gets back are different, even though for the same hardware. To correct for an AP7723 this part of the code needs to be altered: my $OID = '.1.3.6.1.4.1.318.1.1.8.5'; my $inputOID = '.3'; my $outputOID = '.4'; my $tableOID = '.2.1'; my $phaseTableOID = '.3'; my $bankTableOID= '.3'; my $frequencyOID = '.4'; my $nameOID = '.6'; my $voltageOID = '.1.3'; my $bankVoltageOID = '.1.3.1.1.1'; my $version = '2c'; with the updated OIDs for inputs and outputs.
You must be logged in to submit a review.
To:
From: