I've been tampering with a certain graph for a month now, without any success.
I'm gathering toner levels using SNMP values from various printers around our offices, and everything is working fine and dandy from all printers - except a certain type, specifically a Canon iR C2620.
I can get the value using snmpwalk using a shell on the cacti server, and I have created data and graph templates as usual - no problems so far. However, when created graphs using the templates on those very printers, all data sources gets created perfectly, except one - the magenta toner.
Now, this toner has haunted me for a while, and I can't seem to create a data source for it in any way. The DS gets added to the database, thus appearing on the list of data sources, but the physical file does not exist.
The printer returns one integer for every toner, and since the other toners works fine, I really can't figure how to debug this further. Here is the output for the DS debug:
Code: Select all
/usr/bin/rrdtool create \
/var/www/cacti-0.8.6i/rra/10_canon_ir_c2620_c2620_toner_magenta_918.rrd \
--step 300 \
DS:c2620_toner_magenta:GAUGE:600:0:5000 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MIN:0.5:1:600 \
RRA:MIN:0.5:6:700 \
RRA:MIN:0.5:24:775 \
RRA:MIN:0.5:288:797 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
RRA:LAST:0.5:1:600 \
RRA:LAST:0.5:6:700 \
RRA:LAST:0.5:24:775 \
RRA:LAST:0.5:288:797 \
Where to next?
EDIT:
I have created the RRD manually, and checked the complete poller log. It seems that the poller does not even try to fetch values for the magenta toner, only the other three (cyan, yellow, black).
What could cause the poller to skip this DS even though it exists in the cacti database?