These PERL scripts help us manage our flock of APC UPSes ... via the AP96xx line of cards.
APC-Calibrate initiates the calibration function.
APC-Mod-Config uploads an AP96xx config file.
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-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.
Last modified: 18-May-2010