# raid sub-tree # # This is where we collect the status of the raid array # It is combined disk usage & disk operability # Target --default-- inst = 1 snmp-host = %router% target-type = apc # ifInOctets and ifOutOctets come from above, since they # are used by switch-ports as well datasource apcMin rrd-ds-type = GAUGE ds-source = exec:0:/root/scripts/snmp/apc_data datasource apcCur rrd-ds-type = GAUGE ds-source = exec:1:/root/scripts/snmp/apc_data datasource apcMax rrd-ds-type = GAUGE ds-source = exec:2:/root/scripts/snmp/apc_data datasource apcBattery rrd-ds-type = GAUGE ds-source = exec:3:/root/scripts/snmp/apc_data targetType apc ds = "apcMin, apcCur, apcMax, apcBattery" graph apcMin color = blue y-axis = "V Min" legend = "Volt" units = "V" draw-as = AREA y-max = 250 graph apcCur color = green y-axis = "V Cur" legend = "Volt" units = "V" draw-as = AREA y-max = 250 graph apcMax color = red y-axis = "V Max" legend = "Volt" units = "V" draw-as = AREA y-max = 250 graph apcBattery color = yellow y-axis = "%" legend = "Percent Battery left" units = "%" draw-as = AREA y-max = 100