Recently i ran into a problem while graphing the total number of pages being printed every day on xerox 7765 workcentre printer, snmpwalk worked fine and gave the correct result, but cacti rrd did not display any data.
1 2 | snmpwalk -v 1 -c 'communitystring' printer SNMPv2-SMI::mib-2.43.10.2.1.4.1.1 107212 |
I increased the maximum value on cacti but it did not take any effect so i had to edit the rra file directly using rrdtool and increase the maximum snmp oid
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | cd /var/www/cacti/rra rrdtool info printer_snmp_oid_241.rrd ........ .............. ds[snmp_oid].index = 0 ds[snmp_oid].type = "GAUGE" ds[snmp_oid].minimal_heartbeat = 600 ds[snmp_oid].min = 0.0000000000e+00 ds[snmp_oid].max = 1.0000000000e+03 ds[snmp_oid].last_ds = "107211" ds[snmp_oid].value = 5.3605500000e+05 ds[snmp_oid].unknown_sec = 0 ................ ........ |