I use a number of scripts gathering data and returning to Cacti, but after editing the Data Input Method and Data Template affecting one RRD it is not being updated.
I have debugged the script and it is being run and outputting the data in the format Cacti expects. I have also enabled Poller debugging but it doesn't report reading the data or doing rrdtool update. Poller is processing other data sources though.
How do I find out why poller.php isn't processing the data for this one Data Source?
Thanks,
Mike
Script debugging for non-working "sdlengineevents" and working "schedulequeue" Data Sources:
Code: Select all
# egrep '17:25.*(sdlengineevents|schedulequeue)' /var/log/ora_stats.log
2011-11-16T17:25:08.376 [15068] argv=['/usr/local/bin/ora_stats.py', '--log=/var/log/ora_stats.log', '--', 'cacti/c4ct1@LIVE', 'schedulequeuelen', 'schedulequeuetime']
2011-11-16T17:25:08.377 [15068] Printing statistics -> schedulequeuelen:0 schedulequeuetime:0
2011-11-16T17:25:28.597 [15354] argv=['/usr/local/bin/ora_stats.py', '--log=/var/log/ora_stats.log', '--group=database', '--', 'cacti/c4ct1@LIVE', 'newsdlengineevents', 'opensdlengineevents']
2011-11-16T17:25:29.143 [15354] Printing statistics -> newsdlengineevents:114 opensdlengineevents:48
Code: Select all
# egrep '(sdlengineevents|schedulequeue)' /tmp/poller-20111116-1725.out
11/16/2011 05:25:31 PM - POLLER: Poller[0] Parsed MULTI output field 'schedulequeuelen:0' [map schedulequeuelen->schedulequeuelen]
11/16/2011 05:25:31 PM - POLLER: Poller[0] Parsed MULTI output field 'schedulequeuetime:0' [map schedulequeuetime->schedulequeuetime]
11/16/2011 05:25:31 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool/bin/rrdtool update /srv/www/htdocs/cacti/rra/live_schedulequeue_2908.rrd --template schedulequeuelen:schedulequeuetime 1321464301:0:0