Dave Heavy Industries » Monitoring http://www.daveheavyindustries.com Dave Heavy Industries - blog Mon, 12 Aug 2013 00:24:10 +0000 en-US hourly 1 http://wordpress.org/?v=3.6 MRTG Config for Eaton ConnectUPS Web/SNMP Card http://www.daveheavyindustries.com/2011/10/24/mrtg-config-for-eaton-connectups-websnmp-card/ http://www.daveheavyindustries.com/2011/10/24/mrtg-config-for-eaton-connectups-websnmp-card/#comments Mon, 24 Oct 2011 01:31:12 +0000 admin http://wp.daveheavyindustries.com/?p=239 We've had this one for a while, decided to put some power monitoring on it to graph the usage...

The UPS has a metric for each Phase, so for a total output, we have to aggregate the figure. I chose to use Watts in my graphs. The other thing to note is that it requires version 1 of SNMP.

Config below....

$Path is the working directory, needs to exist. $Name is the mrtg name of the instance. $Community is the snmp community (usually public), $host is the hostname/ip of the device. $Title is the friendly name of the instance. Easy as that.

 

WorkDir:$Path
Target[$Name]: enterprises.534.1.4.4.1.4.1&enterprises.534.1.4.4.1.4.1:$Community@$Host:::::1 + enterprises.534.1.4.4.1.4.2&enterprises.534.1.4.4.1.4.2:$Community@$Host:::::1 + enterprises.534.1.4.4.1.4.3&enterprises.534.1.4.4.1.4.3:$Community@$Host:::::1
MaxBytes[$Name]: 36000
Title[$Name]: $Title
PageTop[$Name]: <H1>$Title</H1>
Options[$Name]: gauge, nopercent, absolute, unknaszero, growright
YLegend[$Name]: Watts
ShortLegend[$Name]: Watts
Legend1[$Name]: Watts
Legend2[$Name]: .
Legend3[$Name]: Max value per interval on graph
Legend4[$Name]: .
LegendI[$Name]: True Power
LegendO[$Name]: .
Colours[$Name]: GREEN#00eb0c,BLUE#0000ff,GRAY#AAAAAA,VIOLET#ff00ff
WithPeak[$Name]: ymw

 

 

 

]]>
http://www.daveheavyindustries.com/2011/10/24/mrtg-config-for-eaton-connectups-websnmp-card/feed/ 0
MRTG config for APC Switched Rack PDU http://www.daveheavyindustries.com/2011/10/24/mrtg-config-for-apc-switched-rack-pdu/ http://www.daveheavyindustries.com/2011/10/24/mrtg-config-for-apc-switched-rack-pdu/#comments Mon, 24 Oct 2011 00:37:31 +0000 admin http://wp.daveheavyindustries.com/?p=233 We just got a pair of AP8959EU3 Managed power rails, and decided to point MRTG at it to graph our power usage...

Well, the SNMP oid for this device isĀ enterprises.318.1.1.12.2.3.1.1.2.1 .The current is returned as AMPSx10 .

I.E... will return 100 for 10 amps. The reason for this is that all things snmp expect whole numbers (bits, bytes etc..), the rail measures to 1/10th AMP, so this is the only way they could really do it.

Because of this, you need to let MRTG know that the scale is 0.1

other than that... its very straight foward.

$Path is the Working directory, you need to create it before running it. $Community is the snmp community (usually public), $Host is the hostname/ip of the power rail, $name is the MRTG name of the instance. $Title is the friendly name. Easy?

WorkDir: $PATH
Target[$NAME]: enterprises.318.1.1.12.2.3.1.1.2.1&enterprises.318.1.1.12.2.3.1.1.2.1:$COMMUNITY@$HOST
MaxBytes[$NAME]: 200
Title[$NAME]: $Title
PageTop[$NAME]: <H1>$Title</H1>
Options[$NAME]: gauge, nopercent, absolute, unknaszero, growright
YLegend[$NAME]: Current
ShortLegend[$NAME]: Amps
Legend1[$NAME]: Current, Amps
Legend2[$NAME]: .
Legend3[$NAME]: Max value per interval on graph
Legend4[$NAME]: .
LegendI[$NAME]: Current
LegendO[$NAME]: .
Colours[$NAME]: GREEN#00eb0c,BLUE#0000ff,GRAY#AAAAAA,VIOLET#ff00ff
WithPeak[$NAME]: ymw
YTicsFactor[$NAME]: 0.1
]]>
http://www.daveheavyindustries.com/2011/10/24/mrtg-config-for-apc-switched-rack-pdu/feed/ 0