As you can see in the attached picutre, the last GRPINT line (mct50a72_11) does not look as the other ones.
Here is the rrd command for the graph copied from graph debug mode in cacti:
Code: Select all
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="MCT Load Average" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="percentage" \
--slope-mode \
DEF:a="/var/www/cacti-0.8.6i/rra/local_machine_cpu_58_100.rrd":cpu_58:AVERAGE \
DEF:b="/var/www/cacti-0.8.6i/rra/local_machine_cpu_58_100.rrd":cpu_10:AVERAGE \
DEF:c="/var/www/cacti-0.8.6i/rra/local_machine_cpu_58_100.rrd":cpu_11:AVERAGE \
LINE1:a#F51D30:"mct50a72_8" \
GPRINT:a:LAST:" Current\:%8.2lf" \
GPRINT:a:AVERAGE:"Average\:%8.2lf" \
GPRINT:a:MAX:"Max\:%8.2lf %s\n" \
LINE1:b#A150AA:"mct50a72_10" \
GPRINT:b:LAST:"Current\:%8.2lf" \
GPRINT:b:AVERAGE:"Average\:%8.2lf" \
GPRINT:b:MAX:"Max\:%8.2lf %s\n" \
LINE1:c#74C366:"mct50a72_11" \
GPRINT:c:LAST:"Current\:%8.2lf %s" \
GPRINT:c:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:c:MAX:"Max\:%8.2lf %s"
Thanks for help in advance!
Regards,
Simon