why my cacti can not graph load average graphs

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
Stone_ll
Posts: 16
Joined: Thu Mar 05, 2009 2:15 am

why my cacti can not graph load average graphs

Post by Stone_ll »

maybe I can not care that something is wrong about the load graph template by my modified.
Now I am recovered the settings about the template of ucd/net - Load Average.
But there is also any errors when I turn on Graph Debug Mode.. such as:
20110510163634.jpg
20110510163634.jpg (105.59 KiB) Viewed 944 times
what can I do to this error?
best wishes!
User avatar
belianisto
Posts: 20
Joined: Tue Feb 15, 2011 12:53 pm

Re: why my cacti can not graph load average graphs

Post by belianisto »

Hello,
The CDEF you are using seems to be empty. Verify that.
regards
Stone_ll
Posts: 16
Joined: Thu Mar 05, 2009 2:15 am

Re: why my cacti can not graph load average graphs

Post by Stone_ll »

I try to create a new graph using the same load graph template. It is normal.such as that:
---------------------------------------------------------------------------
RRDTool Command:
/usr/local/rrdtool/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="x.x.x.xtest - Load Average" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--units-exponent=0 \
--vertical-label="processes in the run queue" \
--slope-mode \
--font TITLE:8: \
--font AXIS:8: \
--font LEGEND:8: \
--font UNIT:8: \
DEF:a="/home/web/cacti/rra/3844/42150.rrd":load_1min:AVERAGE \
DEF:b="/home/web/cacti/rra/3844/42152.rrd":load_5min:AVERAGE \
DEF:c="/home/web/cacti/rra/3844/42151.rrd":load_15min:AVERAGE \
CDEF:cdefg=TIME,1305123927,GT,a,a,UN,0,a,IF,IF,TIME,1305123927,GT,b,b,UN,0,b,IF,IF,TIME,1305123927,GT,c,c,UN,0,c,IF,IF,+,+ \
AREA:a#EACC00FF:"1 Minute Average" \
GPRINT:a:LAST:" Current\: %8.2lf\n" \
AREA:b#EA8F00FF:"5 Minute Average":STACK \
GPRINT:b:LAST:" Current\:%8.2lf\n" \
AREA:c#FF0000FF:"15 Minute Average":STACK \
GPRINT:c:LAST:"Current\:%8.2lf\n" \
LINE1:cdefg#000000FF:"Total"
RRDTool Says:

OK

------------------------------------------------------------------------

But the old graph also can not graph.
It seems that the old graph I created in the past can not load the corresponding rrd file .
that is so worried....
Stone_ll
Posts: 16
Joined: Thu Mar 05, 2009 2:15 am

Re: why my cacti can not graph load average graphs

Post by Stone_ll »

can anybody helo me ?

best regards.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests