Difference between revisions of "PDU Cacti"

From Secure Computing Wiki
Jump to: navigation, search
(New page: PDUMH20ATNET 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...)
 
m (Reverted edits by Esubiguxoc (talk) to last revision by Ecrist)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Image:tripplite.jpg|left|thumb|PDUMH20ATNET]] 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.
+
[[Image:ex_volt_comb.png|left|thumb|Combined In/Out Voltage]]
 +
[[Image:ex_freq_comb.png|left|thumb|Combined In/Out Frequencies]]
 +
[[Image:tripplite.jpg|left|thumb|PDUMH20ATNET]]
 +
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
 +
 
 +
=== Requirements ===
 +
This script has the following prerequisites:
 +
# Perl 5.8.8 or newer.  This may work with older versions, but I'm not a perl expert, and this was written  with 5.8.8.
 +
# Perl's SNMP module (net-mgmt/p5-SNMP-Utils on FreeBSD ports)
 +
# [[Media:MIBs.zip|Required MIBs]]
 +
# [[Media:PDUMH20ATNET.tgz|Cacti Poller Script]]

Latest revision as of 16:42, 26 November 2010

Combined In/Out Voltage
Combined In/Out Frequencies
PDUMH20ATNET

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:

  1. Input Frequency
  2. Output Frequency
  3. Input Voltage
  4. Output Voltage
  5. Output Current

Requirements

This script has the following prerequisites:

  1. Perl 5.8.8 or newer. This may work with older versions, but I'm not a perl expert, and this was written with 5.8.8.
  2. Perl's SNMP module (net-mgmt/p5-SNMP-Utils on FreeBSD ports)
  3. Required MIBs
  4. Cacti Poller Script