Negative Y axis values

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

Moderators: Developers, Moderators

Post Reply
reallove
Posts: 16
Joined: Mon Jan 01, 2007 4:58 am

Negative Y axis values

Post by reallove »

Hello,
In the Device option, at Data Query [SNMP - Interface Statistics] , I modified the graph type from "In/Out bits 64 bit counter" to "In/Out Bits with total bandwidth ".
A strange behaviour occured,as you can see in the attached file.
Can anyone help me how to fix this ?
Thank you very much !
(I am using cacti version 0.8.7c)
Attachments
graph_image.php.png
graph_image.php.png (28.34 KiB) Viewed 2044 times
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please goto Graph management and post output of DEBUG mode
Reinhard
reallove
Posts: 16
Joined: Mon Jan 01, 2007 4:58 am

Post by reallove »

Hello,
Here's the output :

Code: Select all

RRDTool Command:

/usr/local/rrdtool-1.2.29/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="babylon - Traffic - eth0" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
--slope-mode \
--font TITLE:10: \
--font AXIS:7.5: \
--font LEGEND:7.5: \
--font UNIT:7.5: \
DEF:a="/data/www/cacti/rra/babylon_traffic_in_318.rrd":traffic_in:AVERAGE \
DEF:b="/data/www/cacti/rra/babylon_traffic_in_318.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdeff=b,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"  \
COMMENT:"Total In\:  2.88 GB\n"  \
LINE1:cdeff#002A97FF:"Outbound"  \
GPRINT:cdeff:LAST:"Current\:%8.2lf %s"  \
GPRINT:cdeff:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:cdeff:MAX:"Maximum\:%8.2lf %s"  \
COMMENT:"Total Out\: 9.86 GB" 

RRDTool Says:

OK
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please upgrade rrdtool to 1.2.30 and retry
Reinhard
reallove
Posts: 16
Joined: Mon Jan 01, 2007 4:58 am

Post by reallove »

Ok,will do it tomorrow and I'll let you know if it's working well .
Thank you !
reallove
Posts: 16
Joined: Mon Jan 01, 2007 4:58 am

Post by reallove »

upgraded to 1.2.30 , also to cacti 0.8.7d , and the problem remains .
Should I do something else after upgrade to make it work ?
I only modified in cacti settings the path to the new rrdtool binary .
Thanks.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please pm a rrdtool dump of your rrd file. I'll try to reproduce.
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests