Hi
I am using the cacti 0.8.7a version with SNMP verion 5.4. My boxes r running Solaris 5.9 version respectively.I am trying to plot a Multi CPU graph on this particular sever and its showing the following error with the debug mode turned on.Kindly help.
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Multi CPU Utilization on SERVERNAME" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/home/cacti/cacti-0.8.7a/rra/SERVERNAME_cpu0_770.rrd":cpu0:AVERAGE \
DEF:b="/home/cacti/cacti-0.8.7a/rra/SERVERNAME_cpu1_771.rrd":cpu1:AVERAGE \
DEF:c="/home/cacti/cacti-0.8.7a/rra/SERVERNAME_cpu2_772.rrd":cpu2:AVERAGE \
DEF:d="/home/cacti/cacti-0.8.7a/rra/SERVERNAME_cpu3_773.rrd":cpu3:AVERAGE \
DEF:e="/home/cacti/cacti-0.8.7a/rra/SERVERNAME_cpu_774.rrd":cpu:AVERAGE \
CDEF:cdefa=a,b,+,c,+,d,+,e,+,f,+,g,+,h,+,8,/ \
AREA:cdefa#F9FD5FFF:"Mean CPU\:" \
GPRINT:cdefa:LAST:"Current\:%8.2lf %%" \
GPRINT:cdefa:AVERAGE:"Mean\:%8.2lf %%" \
GPRINT:cdefa:MAX:"Max\:%8.2lf %%\n" \
LINE1:a#0000FFFF:"CPU0\:" \
GPRINTLAST:" Current\:%8.2lf %%" \
GPRINTAVERAGE:"Mean\:%8.2lf %%" \
GPRINTMAX:"Max\:%8.2lf %%\n" \
LINE1:b#00A348FF:"CPU1\:" \
GPRINTLAST:" Current\:%8.2lf %%" \
GPRINTAVERAGE:"Mean\:%8.2lf %%" \
GPRINTMAX:"Max\:%8.2lf %%\n" \
LINE1:c#C4FD3DFF:"CPU2\:" \
GPRINT:c:LAST:" Current\:%8.2lf %%" \
GPRINT:c:AVERAGE:"Mean\:%8.2lf %%" \
GPRINT:c:MAX:"Max\:%8.2lf %%\n" \
LINE1:d#FF0000FF:"CPU3\:" \
GPRINT:d:LAST:" Current\:%8.2lf %%" \
GPRINT:d:AVERAGE:"Mean\:%8.2lf %%" \
GPRINT:d:MAX:"Max\:%8.2lf %%\n" \
LINE1:e#000000FF:"CPU4\:" \
GPRINT:e:LAST:" Current\:%8.2lf %%" \
GPRINT:e:AVERAGE:"Mean\:%8.2lf %%" \
GPRINT:e:MAX:"Max\:%8.2lf %%\n" \
LINE1:e#00BED9FF:"CPU5\:" \
GPRINT:e:LAST:" Current\:%8.2lf %%" \
GPRINT:e:AVERAGE:"Mean\:%8.2lf %%" \
GPRINT:e:MAX:"Max\:%8.2lf %%\n" \
LINE1:e#FF00FFFF:"CPU6\:" \
GPRINT:e:LAST:" Current\:%8.2lf %%" \
GPRINT:e:AVERAGE:"Mean\:%8.2lf %%" \
GPRINT:e:MAX:"Max\:%8.2lf %%\n" \
LINE1:e#AAABA1FF:"CPU7\:" \
GPRINT:e:LAST:" Current\:%8.2lf %%" \
GPRINT:e:AVERAGE:"Mean\:%8.2lf %%" \
GPRINT:e:MAX:"Max\:%8.2lf %%"
RRDTool Says:
ERROR: invalid rpn expression in: a,b,+,c,+,d,+,e,+,f,+,g,+,h,+,8,/
NOTE:The RRD files for the above parameters r also not getting created, all the other graphs like memory usage,load average etc are all working fine..
Multi CPU Utilization Graph Not Plotting
Moderators: Developers, Moderators
Multi CPU Utilization Graph Not Plotting
Regards
Mayur
Mayur
Hi llow..
Yes its not a default cacti template.I have got this particular multi CPU graph from the following link.
http://forums.cacti.net/about11615-0-asc-120.html.
Yes its not a default cacti template.I have got this particular multi CPU graph from the following link.
http://forums.cacti.net/about11615-0-asc-120.html.
Regards
Mayur
Mayur
Who is online
Users browsing this forum: No registered users and 5 guests