# 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 = raid # ifInOctets and ifOutOctets come from above, since they # are used by switch-ports as well datasource raidSize rrd-ds-type = GAUGE ds-source = exec:1:/root/scripts/snmp/raid_data datasource raidUsed rrd-ds-type = GAUGE ds-source = exec:0:/root/scripts/snmp/raid_data datasource raidStatus rrd-ds-type = GAUGE ds-source = exec:2:/root/scripts/snmp/raid_data targetType raid ds = "raidUsed, raidSize, raidStatus" graph raidSize color = red y-axis = "bytes" legend = "Size in Bytes" units = "bytes" scale = 1024,* draw-as = AREA graph raidUsed color = green y-axis = "bytes" legend = "Size in Bytes" units = "bytes" scale = 1024,* draw-as = AREA