Installed RRDTool version does not match

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

Moderators: Developers, Moderators

Post Reply
Khalid
Posts: 9
Joined: Tue Apr 22, 2008 6:15 am

Installed RRDTool version does not match

Post by Khalid »

I installed Cacti 0.8.7a on Fedora 6, Linux is new for me. when i try to create graph for my Routers and Swithches, the graph does not appears, evern it does not showing graph of localhost.

I try to find out the problem.

ERROR: Installed RRDTool version does not match configured version.
Please visit the Configuration Settings and select the correct RRDTool Utility Version.

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

Post by gandalf »

Please run

Code: Select all

rrdtool --version
Then, select "Settings->RRDTool Utility Version" to match the results of the command above
Reinhard
Khalid
Posts: 9
Joined: Tue Apr 22, 2008 6:15 am

Post by Khalid »

First of all I would like to thank you very much!

I check it was version 1.2.23, I select it in cacti > utilities> confituration setting>RRDTool Utility Version. But still showing same error.

Please help

Ragards
kk
Khalid
Posts: 9
Joined: Tue Apr 22, 2008 6:15 am

Post by Khalid »

RRDTool Command:

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Cisco Switch - Traffic - Fa0/23" \
--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: \
DEF:a="/var/www/html/cacti2/rra/cisco_switch_traffic_in_15.rrd":traffic_in:AVERAGE \
DEF:b="/var/www/html/cacti2/rra/cisco_switch_traffic_in_15.rrd":traffic_in:MAX \
DEF:c="/var/www/html/cacti2/rra/cisco_switch_traffic_in_15.rrd":traffic_out:AVERAGE \
DEF:d="/var/www/html/cacti2/rra/cisco_switch_traffic_in_15.rrd":traffic_out:MAX \
CDEF:cdefa=a,8,* \
CDEF:cdefd=b,8,* \
CDEF:cdefe=c,8,* \
CDEF:cdefh=d,8,* \
AREA:cdefa#00CF00FF:"Inbound" \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefd:MAX:"Maximum\:%8.2lf %s\n" \
LINE1:cdefe#002A97FF:"Outbound" \
GPRINT:cdefe:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefh:MAX:"Maximum\:%8.2lf %s\n" \
COMMENT:"\n" \
HRULE:0#FF0000FF:"95th Percentile" \
COMMENT:"(0 mbit in+out)"

RRDTool Says:

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

This is the cacti log:

DEF:a="/var/www/html/cacti2/rra/cisco_switch_traffic_in_15.rrd":traffic_in:AVERAGE DEF:b="/var/www/html/cacti2/rra/cisco_switch_traffic_in_15.rrd":traffic_in:MAX DEF:c="/var/www/html/cacti2/rra/cisco_switch_traffic_in_15.rrd":traffic_out:AVERAGE DEF:d="/var/www/html/cacti2/rra/cisco_switch_traffic_in_15.rrd":traffic_out:MAX CDEF:cdefa=a,8,* CDEF:cdefd=b,8,* CDEF:cdefe=c,8,* CDEF:cdefh=d,8,* AREA:cdefa#00CF00FF:"Inbound" GPRINT:cdefa:LAST:" Current\:%8.2lf %s" GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefd:MAX:"Maximum\:%8.2lf %s\n" LINE1:cdefe#002A97FF:"Outbound" GPRINT:cdefe:LAST:"Current\:%8.2lf %s" GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefh:MAX:"Maximum\:%8.2lf %s\n" COMMENT:"\n" HRULE:0#FF0000FF:"95th Percentile" COMMENT:"(0 mbit in+out)"
Last edited by Khalid on Thu Apr 24, 2008 3:31 am, edited 1 time in total.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Do you find any error in httpd's error_log
Reinhard
Khalid
Posts: 9
Joined: Tue Apr 22, 2008 6:15 am

Post by Khalid »

gandalf wrote:Do you find any error in httpd's error_log
Reinhard
yes my httpd log is as

[Wed Apr 23 23:14:06 2008] [error] [client 192.168.10.162] PHP Notice: Undefined index: columns in /var/www/html/cacti2/graph_xport.php on line 121, referer: http://192.168.10.161/cacti2/graph.php? ... 1208988839
[Wed Apr 23 23:14:06 2008] [error] [client 192.168.10.162] PHP Notice: Undefined index: data in /var/www/html/cacti2/graph_xport.php on line 127, referer: http://192.168.10.161/cacti2/graph.php? ... 1208988839
[Wed Apr 23 23:14:39 2008] [error] [client 192.168.10.162] PHP Notice: Undefined index: id in /var/www/html/cacti2/graph.php on line 209, referer: http://192.168.10.161/cacti2/graph.php? ... rra_id=all
[Wed Apr 23 23:14:41 2008] [error] [client 192.168.10.162] PHP Notice: Undefined index: id in /var/www/html/cacti2/graph.php on line 209
[Thu Apr 24 00:09:02 2008] [error] [client 192.168.10.162] PHP Notice: Undefined index: id in /var/www/html/cacti2/graph.php on line 209, referer: http://192.168.10.161/cacti2/graph.php? ... rra_id=all
[Thu Apr 24 00:14:03 2008] [error] [client 192.168.10.162] PHP Notice: Undefined index: id in /var/www/html/cacti2/graph.php on line 209
[Thu Apr 24 00:19:05 2008] [error] [client 192.168.10.162] PHP Notice: Undefined index: id in /var/www/html/cacti2/graph.php on line 209
referer: http://192.168.10.161/cacti2/utilities.php
[Thu Apr 24 02:15:04 2008] [error] [client 192.168.10.162] PHP Notice: Undefined index: in /var/www/html/cacti2/utilities.php on line 639, referer: http://192.168.10.161/cacti2/utilities.php



---------------------------------------------------------------------------
This is my graph.php configuration on line no 209


/* Get RRDtool version */
$rrdtool_version = "Unknown";
if ((file_exists(read_config_option("path_rrdtool"))) && (($config["cacti_server_os"] == "win32") || (is_executable(read_config_option("path_rrdtool"))))) {

$out_array = array();
exec(read_config_option("path_rrdtool"), $out_array);

if (sizeof($out_array) > 0) {
if (ereg("^RRDtool 1\.2", $out_array[0])) {
$rrdtool_version = "rrd-1.2.x";
}else if (ereg("^RRDtool 1\.0\.", $out_array[0])) {
$rrdtool_version = "rrd-1.0.x";
}
}
}
------------------------------------------------------------------------
even i have been selected rrdtool version 1.2 in cacti setting

please help what i should do ?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

This part of the code was changed to a great extend. I'm not able to support 087a ATM. Please upgrade, if possible
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests