Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

check_apc_ats

Current Version
1.0
Last Release Date
2012-11-09
Compatible With
  • Nagios 3.x
  • Nagios XI
Owner
License
GPL
Hits
53378
Files:
FileDescription
check_apc_ats.plcheck_apc_ats.pl
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
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.
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
Reviews (2)
byVO, October 25, 2021
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.