Having a nice PDU at our colocation downtown Minneapolis, I've decided to do the homework required to monitor such a device. In addition to this Cacti graphing page, there is a nagios perl plugin over at PDU NAGIOS, for those who are interested.
There are only a couple graphs, but once the script is in place and the templates are built within Cacti, customizing the data is pretty simple.
Data Polling Script
To poll the data from the device, I've written the following perl script. This script will pull 5 pieces of data for use:
- Input Frequency
- Output Frequency
- Input Voltage
- Output Voltage
- Output Current
This script has the following prerequisites: