GRAPH PROBLEM

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

Moderators: Developers, Moderators

Post Reply
hrp2010
Posts: 14
Joined: Mon Dec 04, 2006 4:51 pm
Contact:

GRAPH PROBLEM

Post by hrp2010 »

I have instaelled rrdtool-1.2.0 . i have congigured as per the requirement listed on cacti.net and installed and configured as per the procedure listed there. i have netscreen firewall and linux based server for monitoring traffice on each interface on netscreen firewall and memory and cpu utilisation on linux system respectively. I am not getting graph.

I verified the following

1. /usr/local/rrdtool-1.2.0/bin/rrdtool -v with settings ( in settings RRDTool Utility Version ) . Matching the settings

2. Increaed the memory_limit size from 8MB to 64MB in /etc/php.ini

3.In the device settings , device satus is showing me up.

4. when i go to graph management and click on respective interface and turn on the debugging mode i see following



RRDTool Command:

/usr/local//rrdtool-1.2.0/bin graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="NETSCREEN FIREWALL SSG550 - Traffic - |query_ifName|" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bytes per second" \
--slope-mode \
DEF:a="/var/www/html/cacti/rra/netscreen_firewall_ssg550_traffic_in_35.rrd":traffic_in:AVERAGE \
DEF:b="/var/www/html/cacti/rra/netscreen_firewall_ssg550_traffic_in_35.rrd":traffic_out:AVERAGE \
AREA:a#00CF00:"Inbound" \
GPRINT:a:LAST:" Current\:%8.2lf %s" \
GPRINT:a:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:a:MAX:"Maximum\:%8.2lf %s" \
COMMENT:"Total In\: 0 bytes\n" \
LINE1:b#002A97:"Outbound" \
GPRINT:b:LAST:"Current\:%8.2lf %s" \
GPRINT:b:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:b:MAX:"Maximum\:%8.2lf %s" \
COMMENT:"Total Out\: 0 bytes"
RRDTool Says:

sh: /usr/local//rrdtool-1.2.0/bin: is a directory

Please refer the attached work file for graph error.

Please advice as i have deadline to fix this issue.

HP
Attachments
snapshot cacti.doc
(123 KiB) Downloaded 146 times
chaachee
Posts: 22
Joined: Tue Aug 23, 2005 9:29 am

Post by chaachee »

I believe the RRDTool Binary Path configuration setting in Cacti is misconfigured. This setting should be the full path, including filename, for RRDTool.

You may have incorrectly entered /usr/local/rrdtool-1.2.0/bin. In you case, this should be /usr/local/rrdtool-1.2.0/bin/rrdtool.
hrp2010
Posts: 14
Joined: Mon Dec 04, 2006 4:51 pm
Contact:

Thanks for your reply

Post by hrp2010 »

Still not getting the graph

Now it gives me this error :

ERROR: unknown option '--slope-mode' . when i change the version from 1.2.x to 1.0.x than i am getting a diffrent error which is
RRDTool Says:

ERROR: opening '/var/www/html/cacti/rra/aragorn_mem_buffers_14.rrd': No such file or directory

Plesae note that my version is


[root@aragorn cacti]# /usr/local/rrdtool-1.2.0/bin/rrdtool -v
RRDtool 1.2.0 Copyright 1997-2005 by Tobias Oetiker <tobi@oetiker.ch>
Compiled Mon Dec 4 00:00:13 EST 2006

Usage: rrdtool [options] command command_options

Valid commands: create, update, updatev, graph, dump, restore,
last, first, info, fetch, tune, resize, xport

RRDtool is distributed under the Terms of the GNU General
Public License Version 2. (www.gnu.org/copyleft/gpl.html)

For more information read the RRD manpages

Please advise.
chaachee
Posts: 22
Joined: Tue Aug 23, 2005 9:29 am

Post by chaachee »

Note that it will take a few poll cycles before you get any graphs. The file should be created during the first polling cycle.
hrp2010
Posts: 14
Joined: Mon Dec 04, 2006 4:51 pm
Contact:

graph does not appear

Post by hrp2010 »

Graph does not appear in

Graph - Host - it show different template like memroy usage but not graph but when i click on that template it show me graph

pl advice

thanks
HP
hrp2010
Posts: 14
Joined: Mon Dec 04, 2006 4:51 pm
Contact:

Plesae help !

Post by hrp2010 »

I still have a problem with my graph on the front page. presently rrdtool version is set to 1.x.0 and graph is coming properly on the tree accept the first page. if i change it to 1.2.x than it gives me the following error.

RRDTool Command:

/usr/local/rrdtool-1.2.0/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="aragorn - Memory Usage" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="kilobytes" \
--slope-mode \
DEF:a="/var/www/html/cacti/rra/aragorn_mem_buffers_14.rrd":mem_buffers:AVERAGE \
DEF:b="/var/www/html/cacti/rra/aragorn_mem_swap_15.rrd":mem_swap:AVERAGE \
CDEF:cdefa=a,1024,* \
CDEF:cdefe=b,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:cdefe#FFC73B:"Swap":STACK \
GPRINT:cdefe:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s"
RRDTool Says:

ERROR: unknown option '--slope-mode'

Output of the rrdtool version command

]# ./rrdtool --version
RRDtool 1.2.0 Copyright 1997-2005 by Tobias Oetiker <tobi@oetiker.ch>
Compiled Mon Dec 4 00:00:13 EST 2006

SECOND POINT


I have added second host from devices and that is netscreen firewall. but status i am getting is down. on netscreen firewall snmp is enabled .

Any will be greatly appericated.

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

Post by gandalf »

rrdtool 1.2.0 is way too old and known as buggy. --slope is supported (in principle) for 1.2.x, but your version may have a bug. My 1.2.13 version is ok when it comes to slope mode. And, please, open a new topic for a second item. Else we get lost in all those mangled topics
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest