Device


UPS Management

APC-UPS-Alarm

APC-Battery-Status

APC-Calibrate

APC-Chassis-Status

APC-Hardware

APC-IO-Status

APC-Mgmt-Card

APC-Mod-Config

APC-PDU-Alarm

APC-Reset

APC-Reset-Passwd-Alarm

APC-Save-Files

APC-Set-Stuff

APC-Seq-Calibrate

APC-Software

APC-Upgrade

APC-Verify-Trapping-Alarm

APC-Watch-Calibrate


UPS Management

The Scripts

These PERL scripts help us manage our flock of APC UPSes ... via the AP96xx line of cards.

APC-UPS-Alarm produces a report listing UPSes reporting problems and e-mails the result to interested parties.

APC-Battery-Status produces a report listing battery status, temperature, capacity, load, run-time, last date of calibration, and battery replacement flag.

APC-Calibrate initiates the calibration function.

APC-Chassis-Status produces a report listing parameters relevant to the UPS as a whole, rather than focussed on its batteries.

APC-Hardware produces a report listing firmware, serial numbers, model names, and manufacturing dates.

APC-IO-Status produces a report listing input and output current, voltage, and load.

APC-Mod-Config uploads an AP96xx config file.

APC-Mgmt-Card produces a report listing management card parameters.

APC-PDU-Alarm produces a report listing PDUs reporting problems and e-mails the result to interested parties.

APC-Reset reboots AP96xx cards.

APC-Reset-Passwd-Alarm queries APC devices, looking for ones configured with the default username/password, and uploads a config file snippet correcting this.

APC-Save-Files saves configuration, data, and/or event files from APC devices to a tftp server.

APC-Seq-Calibrate initiates the calibration function serially, checks for alarms, and then proceeds to the next device.

APC-Set-Stuff sets date/time plus name in AP96xx cards.

APC-Software produces a report listing the software/firmware revisions of AP96xx and the underlying UPS.

APC-Upgrade uploads both the operating system image (aosXXX.bin) and and the 'overlay' or 'application' or 'platform' image (sumxXXX.bin, syXXX.bin, dpeXXX.bin).

APC-Verify-Trapping-Alarm inflicts HTTP Auth Fails on each device and then pokes through syslog, verifying that each device logs appropriately.

APC-Watch-Calibrate initiates the calibration function on a device and then polls it every few minutes, checking for alarms, notifying and bailing if it detects a problem. Once the calibration completes successfully, it continues to the next device.


Prepared by:
Stuart Kendrick

Last modified: 18-May-2010