Problem with graph management

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

Moderators: Developers, Moderators

Post Reply
pawelb
Posts: 2
Joined: Mon Jul 07, 2008 8:39 am

Problem with graph management

Post by pawelb »

Hi.

I've problem with graph management on recent cacti version (0.8.7b).
When i've add new device (for ex. cisco router), the data source shows only None. Also, when i save the unchanged form debug says:

RRDTool Command:
/usr/local/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="GW - Traffic - Gi1/1" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
CDEF:cdefa=a,8,* \
AREA:cdefa#00CF00FF:"Inbound" \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" \
LINE1:cdefa#002A97FF:"Outbound" \
GPRINT:cdefa:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s"

RRDTool Says:
ERROR: invalid rpn expression in: a,8,*

and that graph is not working anymore...
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

The Graph Template is broken. It does not include any data source to be graphed. That's what rrdtool is complaining about. Please correct
Reinhard
pawelb
Posts: 2
Joined: Mon Jul 07, 2008 8:39 am

Post by pawelb »

Hmm, but this is fresh install from vanilla 0.8.7b and the template is simply cisco router from default templates... There is no modification to any of those templates or any code.

Well, even simple localhost - load average seems to not working. There is also none data sources, and after save I've got:

RRDTool Says:

Segmentation fault

rrdtool works fine because I've using it to generate some graphs by hand.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Again, either the mysql table holding the definitions is broken (try to repair all atbles to cope with that) or the Template is broken. Please verify the template used and check, if e.g. the first Graph Item refers to any data source
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests