When I create a new device from a device template and add graphs to it ("In/Out Bits" and "In/Out Errors/Discarded Packets"), the devices and graphs are created without a problem.
The next time the poller runs, however, the .rrd files aren't created. Going to the "Data Sources" page shows all of them in the list, and there's no error message reported in the debug output for any of them. In fact, I can take the rrdtool create line that is provided in the debug output and use that as my poller user to create the .rrd file without a problem. For example:
Code: Select all
Data Source Debug
/usr/bin/rrdtool create \
/var/www/cacti.desales.edu/htdocs/rra/56_16_-_campus_ministry_traffic_in_5188.rrd \
--step 300 \
DS:traffic_in:COUNTER:600:0:100000000 \
DS:traffic_out:COUNTER:600:0:100000000 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:1440:3985 \
RRA:MIN:0.5:1:600 \
RRA:MIN:0.5:6:700 \
RRA:MIN:0.5:24:775 \
RRA:MIN:0.5:1440:3985 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:1440:3985 \
RRA:LAST:0.5:1:600 \
RRA:LAST:0.5:6:700 \
RRA:LAST:0.5:24:775 \
RRA:LAST:0.5:1440:3985 \
Debug logging shows that the poller is trying to create and update the rrd file:
Code: Select all
04/10/2008 06:30:10 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool create /var/www/cacti.desales.edu/htdocs/rra/56_16_-_campus_ministry_traffic_in_5188.rrd --step 300 DS:traffic_in:COUNTER:600:0:100000000 DS:traffic_out:COUNTER:600:0:100000000 RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:1440:3985 RRA:MIN:0.5:1:600 RRA:MIN:0.5:6:700 RRA:MIN:0.5:24:775 RRA:MIN:0.5:1440:3985 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:1440:3985 RRA:LAST:0.5:1:600 RRA:LAST:0.5:6:700 RRA:LAST:0.5:24:775 RRA:LAST:0.5:1440:3985
04/10/2008 06:30:10 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/cacti.desales.edu/htdocs/rra/56_16_-_campus_ministry_traffic_in_5188.rrd --template traffic_in:traffic_out N:2553209490:98811999