Hi all,super-hornet wrote:8CPU should correct.rmarinho wrote:Hi,
I've an dual quadcore cpu wich template should I use, I've try 8 cpu but I getting error:
ERROR: invalid rpn expression in: a,b,+,c,+,d,+,e,+,f,+,g,+,h,+,8,/
Help please.
Regards,
Go debug mode and double check on what value it has. Your error message maybe due to:
1. U are not using snmp-5.4 and above for the system u going to monitor.
2. U didn't plot the individual CPU also.
3. Sometime, different system (cacti system) may end up having different value in the a, b, c, d and so on.
SH
I'm trying to solve the same problem from days without results!
This is the debug (I have a dual socket quad-core board) :
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="server xxxx - 8 CPU Utilization" \
--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="/usr/share/cacti/rra/server_xxxx_cpu_14.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:MIN:"Min\:%8.2lf %%" \
GPRINT:cdefa:MAX:"Max\:%8.2lf %%\n" \
LINE1:a#0000FFFF:"CPU0\:" \
GPRINTLAST:" Current\:%8.2lf %%" \
GPRINTMIN:"Min\:%8.2lf %%" \
GPRINTMAX:"Max\:%8.2lf %%\n" \
LINE1:a#00A348FF:"CPU1\:" \
GPRINTLAST:" Current\:%8.2lf %%" \
GPRINTMIN:"Min\:%8.2lf %%" \
GPRINTMAX:"Max\:%8.2lf %%\n" \
LINE1:a#C4FD3DFF:"CPU2\:" \
GPRINTLAST:" Current\:%8.2lf %%" \
GPRINTMIN:"Min\:%8.2lf %%" \
GPRINTMAX:"Max\:%8.2lf %%\n" \
LINE1:a#FF0000FF:"CPU3\:" \
GPRINTLAST:" Current\:%8.2lf %%" \
GPRINTMIN:"Min\:%8.2lf %%" \
GPRINTMAX:"Max\:%8.2lf %%\n" \
LINE1:a#000000FF:"CPU4\:" \
GPRINTLAST:" Current\:%8.2lf %%" \
GPRINTMIN:"Min\:%8.2lf %%" \
GPRINTMAX:"Max\:%8.2lf %%\n" \
LINE1:a#00BED9FF:"CPU5\:" \
GPRINTLAST:" Current\:%8.2lf %%" \
GPRINTMIN:"Min\:%8.2lf %%" \
GPRINTMAX:"Max\:%8.2lf %%\n" \
LINE1:a#FF00FFFF:"CPU6\:" \
GPRINTLAST:" Current\:%8.2lf %%" \
GPRINTMIN:"Min\:%8.2lf %%" \
GPRINTMAX:"Max\:%8.2lf %%\n" \
LINE1:a#AAABA1FF:"CPU7\:" \
GPRINTLAST:" Current\:%8.2lf %%" \
GPRINTMIN:"Min\:%8.2lf %%" \
GPRINTMAX:"Max\:%8.2lf %%\n"
RRDTool Says:
ERROR: invalid rpn expression in: a,b,+,c,+,d,+,e,+,f,+,g,+,h,+,8,/
I've installed net-snmp 5.4.1.2 from source (with the old net-snpm-5.3 got from apt-get install I have the same error) in the destination device to monitor.
Another strange behavior: when I create the graph for the host , cacti prompt me with three blank fields :
- Index Type
- Index Value
- Output Type ID
I need to monitor CPUs graph , this is the main reason I'm trying to use cacti. I'm using debian etch with cacti and net-snmp-5.4 compiled from source, I've rebuild the system three times to avoid procedures mistakes without results...help and thank in advance,
Simon