Cacti/CentOS 4.4

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
bairdmj
Posts: 3
Joined: Thu Oct 26, 2006 11:01 am

Cacti/CentOS 4.4

Post by bairdmj »

Having a few problems with my new Cacti installation.. here are some system details:

CentOS 4.4 / PHP 5.1.4 / RRDTool 1.2.15 / Cacti 0.8.6i / NET-SNMP

I have the paths for the SNMP and RRDtool utils set correctly as well as their proper version settings.

My problem is, when I create a new graph, no graph image is displayed. Upon turning on graph debugging, this is the information that I get:

RRDTool Command:

/usr/local/rrdtool/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Localhost - Memory Usage" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="kilobytes" \
--slope-mode \
CDEF:cdefa=a,1024,* \
AREA:cdefa#FF4105:"Free" \
GPRINT:cdefa:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" \
AREA:cdefa#FFC73B:"Swap":STACK \
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,1024,*


--------

This is for a Linux-Memory Usage Graph. For the Linux-Traffic graph, I get a similar error: ERROR: invalid rpn expression in: a,8,*.

Does anyone know what would be causing this? I tried manually running poller.php as root and as the cacti user. No go.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

There's no DEF statement in there. Should be related to a missing item to be graphed. May you please post a screenshot of the Graph Template, upper half of the screen (graph items)
Reinhard
bairdmj
Posts: 3
Joined: Thu Oct 26, 2006 11:01 am

Post by bairdmj »

Hope this is what you were looking for:
Attachments
Screenshot
Screenshot
cacti1.png (57.99 KiB) Viewed 4815 times
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Graph Items Fields are not associated with any data source, hence the error.
How did you create this graph? You may want to read through http://docs.cacti.net/node/70 for some beginners first steps
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests