[rrd-users] Re: RRDtool and APCUPSD
Aaron Bush
abush at microcenter.com
Mon Mar 26 23:54:23 MEST 2001
dk wrote:
>
> I would like to have that def file if you don't mind....
>
> TIA
sure, here is what i am using:
----------------------------
# ups sub-tree
#
# This is where we collect stats on the UPS's
# (i.e. run time, temperature).
Target --default--
ups = %auto-target-name%
snmp-host = %ups%
# you could set a ups-specific community string here:
# snmp-community = not-public
target-type = apc
trap-address = sysadm.microcenter.com
directory-desc = "UPS runtime, temperature, load average"
# OID's we'll be using in this tree
OID upsAdvBattRunTime 1.3.6.1.4.1.318.1.1.1.2.2.3.0
OID upsAdvBattTemp 1.3.6.1.4.1.318.1.1.1.2.2.2.0
OID upsAdvOutputLoad 1.3.6.1.4.1.318.1.1.1.4.2.3.0
datasource --default--
rrd-ds-type = GAUGE
rrd-heartbeat = 1800
rrd-min = undef
rrd-max = undef
datasource battRunTime ds-source =
snmp://%snmp%/upsAdvBattRunTime
datasource battTemp ds-source =
snmp://%snmp%/upsAdvBattTemp
datasource battLoad
ds-source = snmp://%snmp%/upsAdvOutputLoad
rrd-min = undef
rrd-max = 100
targetType apc
ds = "battRunTime, battTemp, battLoad"
view = "run-time: battRunTime, temperature: battTemp,
load: battLoad"
graph battLoad
draw-as = AREA
legend = "Battery Load (percent)"
y-min = 0
y-max = 100
graph battRunTime
draw-as = AREA
scale = "6000,/"
y-axis = "Run Time (minutes)"
legend = "Battery run time in minutes"
y-min = 0
graph battTemp
draw-as = AREA
y-axis = "degrees Centigrade"
units = "°"
legend = "Battery temperature in C"
y-min = 0
--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the rrd-users
mailing list