I have a script that generates data to a flat text file :
Code: Select all
ping:123.424 download:6.78 upload:0.69
My graph are not completely updated an only the Ping data is updated (see the attached image). I have checked my data templates, they are all configured the same way, internal data source name & output field apart of course.11/10/2015 11:18:31 AM - WEBLOG: Poller[0] CACTI2RRD: /opt/bin/rrdtool graph - --imgformat=PNG --start=-60 --end=-5 --title="Sequoia - Speedtest" --base=1000 --height=240 --width=1000 --x-grid SECOND:10:MINUTE:1:SECOND:10:0:%M:%S --alt-autoscale-max --lower-limit=0 --vertical-label="" --slope-mode --font TITLE:10: --font AXIS:7: --font LEGEND:8: --font UNIT:7: DEF:a="/volume1/web/cacti/plugins/realtime/cache/realtime_22_5.rrd":ping:AVERAGE DEF:b="/volume1/web/cacti/plugins/realtime/cache/realtime_21_5.rrd":download:AVERAGE DEF:c="/volume1/web/cacti/plugins/realtime/cache/realtime_23_5.rrd":upload:AVERAGE LINE1:a#FF0000FF:"" AREA:b#00FF00FF:"" AREA:c#0000FFFF:"" COMMENT:"Download" GPRINTMIN:"Min\: %8.2lf %s" GPRINTAVERAGE:"Avg\: %8.2lf %s" GPRINTMAX:"Max\: %8.2lf %s" GPRINTLAST:"Last\: %8.2lf %s\n" COMMENT:"Upload" GPRINT:c:MIN:"Min\: %8.2lf %s" GPRINT:c:AVERAGE:"Avg\: %8.2lf %s" GPRINT:c:MAX:"Max\: %8.2lf %s" GPRINT:c:LAST:"Last\: %8.2lf %s\n" COMMENT:"Ping" GPRINTMIN:"Min\: %8.2lf %s" GPRINTAVERAGE:"Avg%8.2lf %s" GPRINTMAX:"Max\: %8.2lf %s" GPRINTLAST:"Last\: %8.2lf %s"
11/10/2015 11:18:31 AM - WEBLOG: Poller[0] CACTI2RRD: /opt/bin/rrdtool info /volume1/web/cacti/rra/sequoia_ping_22.rrd
11/10/2015 11:18:31 AM - WEBLOG: Poller[0] CACTI2RRD: /opt/bin/rrdtool info /volume1/web/cacti/rra/sequoia_download_21.rrd
11/10/2015 11:18:31 AM - POLLER: Poller[0] CACTI2RRD: /opt/bin/rrdtool update /volume1/web/cacti/plugins/realtime/cache/realtime_21_5.rrd --template download 1447150711:6.78
11/10/2015 11:18:31 AM - POLLER: Poller[0] CACTI2RRD: /opt/bin/rrdtool update /volume1/web/cacti/plugins/realtime/cache/realtime_22_5.rrd --template ping 1447150711:123.424
11/10/2015 11:18:31 AM - POLLER: Poller[0] CACTI2RRD: /opt/bin/rrdtool update /volume1/web/cacti/plugins/realtime/cache/realtime_23_5.rrd --template upload 1447150711:0.69
11/10/2015 11:18:25 AM - WEBLOG: Poller[0] CACTI2RRD: /opt/bin/rrdtool graph - --imgformat=PNG --start=-60 --end=-5 --title="Sequoia - Speedtest" --base=1000 --height=240 --width=1000 --x-grid SECOND:10:MINUTE:1:SECOND:10:0:%M:%S --alt-autoscale-max --lower-limit=0 --vertical-label="" --slope-mode --font TITLE:10: --font AXIS:7: --font LEGEND:8: --font UNIT:7: DEF:a="/volume1/web/cacti/plugins/realtime/cache/realtime_22_5.rrd":ping:AVERAGE DEF:b="/volume1/web/cacti/plugins/realtime/cache/realtime_21_5.rrd":download:AVERAGE DEF:c="/volume1/web/cacti/plugins/realtime/cache/realtime_23_5.rrd":upload:AVERAGE LINE1:a#FF0000FF:"" AREA:b#00FF00FF:"" AREA:c#0000FFFF:"" COMMENT:"Download" GPRINTMIN:"Min\: %8.2lf %s" GPRINTAVERAGE:"Avg\: %8.2lf %s" GPRINTMAX:"Max\: %8.2lf %s" GPRINTLAST:"Last\: %8.2lf %s\n" COMMENT:"Upload" GPRINT:c:MIN:"Min\: %8.2lf %s" GPRINT:c:AVERAGE:"Avg\: %8.2lf %s" GPRINT:c:MAX:"Max\: %8.2lf %s" GPRINT:c:LAST:"Last\: %8.2lf %s\n" COMMENT:"Ping" GPRINTMIN:"Min\: %8.2lf %s" GPRINTAVERAGE:"Avg%8.2lf %s" GPRINTMAX:"Max\: %8.2lf %s" GPRINTLAST:"Last\: %8.2lf %s"
11/10/2015 11:18:25 AM - WEBLOG: Poller[0] CACTI2RRD: /opt/bin/rrdtool info /volume1/web/cacti/rra/sequoia_ping_22.rrd
11/10/2015 11:18:25 AM - WEBLOG: Poller[0] CACTI2RRD: /opt/bin/rrdtool info /volume1/web/cacti/rra/sequoia_download_21.rrd
11/10/2015 11:18:25 AM - POLLER: Poller[0] CACTI2RRD: /opt/bin/rrdtool update /volume1/web/cacti/plugins/realtime/cache/realtime_21_5.rrd --template download 1447150705:6.78
11/10/2015 11:18:25 AM - POLLER: Poller[0] CACTI2RRD: /opt/bin/rrdtool update /volume1/web/cacti/plugins/realtime/cache/realtime_22_5.rrd --template ping 1447150705:123.424
11/10/2015 11:18:25 AM - POLLER: Poller[0] CACTI2RRD: /opt/bin/rrdtool update /volume1/web/cacti/plugins/realtime/cache/realtime_23_5.rrd --template upload 1447150705:0.69
Thank you for your help.