Seems like just one of the data sources is not getting populated. This is working correctly with 0.8.6a.
I'm using 0.8.6d with cactid 0.8.6e.rc7 (also fails with 0.8.6d)
I have an RRD with 3 data sources. I use it for sent, received, and rejected email.
The following is debug output from cactid:
Code: Select all
CACTID: Host[94] SCRIPT: /var/www/cacti/scripts/getmail 192.168.70.10, output: ds0:49 ds1:39 ds2:58
CACTID: DEBUG: SQLCMD: insert into poller_output (local_data_id,rrd_name,time,output) values (333,'','2005-05-31 10:54:36','ds0:49 ds1:39 ds2:58')
CACTID: Host[94] DEBUG: The POPEN returned the following File Descriptor 11
/opt/rrdtool/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Postfix Mail" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="" \
DEF:a="/var/www/cacti/rra/spam_filter_ds0_333.rrd":ds0:AVERAGE \
DEF:b="/var/www/cacti/rra/spam_filter_ds0_333.rrd":ds1:AVERAGE \
AREA:a#00CF00:"Sent\:" \
GPRINTLAST:" Current\:%8.0lf" \
GPRINTAVERAGE:"Average\:%8.0lf" \
GPRINTMAX:"Max\:%8.0lf\n" \
LINE1:b#4444FF:"Received\:" \
GPRINTLAST:"Current\:%8.0lf" \
GPRINTAVERAGE:"Average\:%8.0lf" \
GPRINTMAX:"Max\:%8.0lf\n"
/opt/rrdtool/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Rejected Messages" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="" \
DEF:a="/var/www/cacti/rra/spam_filter_ds0_333.rrd":ds2:AVERAGE \
DEF:b="/var/www/cacti/rra/spam_filter_ds0_333.rrd":ds2:AVERAGE \
AREA:b#00CF00:"Rejected\:" \
GPRINTLAST:" Current\:%8.0lf" \
GPRINTAVERAGE:"Average\:%8.0lf" \
GPRINTMAX:"Maximum%8.0lf" \
LINE1:b#0000FF:""
As you can see, it's not anything fancy. Just two graphs from one RRD.
I have two instances of this happening. The other is one graph/one RRD. I'm happy to post the details of that one if it's deemed to be helpful.