no graphs and "ERROR: Installed RRDTool version" s

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

Moderators: Developers, Moderators

Post Reply
asemen
Posts: 9
Joined: Thu Jun 11, 2009 4:40 am

no graphs and "ERROR: Installed RRDTool version" s

Post by asemen »

did install on opensuse 11.0 cati,
but says there is a wrong RRDTool version.
But I did choose the right one.

got this error message.

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

No graphs are done only the text header is shown in the graph view.

So which version has of rrdtoll has to be installed,
and how to fix the graphic drawin

cacti.log looks ok
Log File [Total Lines: 50 - All Items Shown]
06/11/2009 11:45:03 AM - SYSTEM STATS: Time:1.3274 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:8 RRDsProcessed:8
06/11/2009 11:45:03 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/rra/mx_linuxiq_de_mem_buffers_76.rrd --template mem_buffers 1244713502:237828
06/11/2009 11:45:03 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/rra/mx_linuxiq_de_mem_swap_77.rrd --template mem_swap 1244713502:1909712
06/11/2009 11:45:03 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/rra/mx_linuxiq_de_snmp_oid_80.rrd --template snmp_oid 1244713502:U
06/11/2009 11:45:03 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/rra/mx_linuxiq_de_mem_buffers_81.rrd --template mem_buffers 1244713502:212480
06/11/2009 11:45:03 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/rra/mx_linuxiq_de_mem_swap_82.rrd --template mem_swap 1244713502:1909712
06/11/2009 11:45:03 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/rra/mx_linuxiq_de_5min_cpu_83.rrd --template 5min_cpu 1244713502:U
06/11/2009 11:45:03 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/rra/mx_linuxiq_de_mem_buffers_84.rrd --template mem_buffers 1244713502:197468
06/11/2009 11:45:03 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/rra/mx_linuxiq_de_mem_swap_85.rrd --template mem_swap 1244713502:1909712
06/11/2009 11:45:02 AM - CMDPHP: Poller[0] Time: 0.1712 s, Theads: N/A, Hosts: 1

the databse is getting data
Attachments
cacti2.jpg
cacti2.jpg (118.58 KiB) Viewed 5550 times
cacti1.jpg
cacti1.jpg (63.9 KiB) Viewed 5551 times
Last edited by asemen on Sat Jun 20, 2009 1:42 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 »

Which version of rrdtool is installed? Do a

Code: Select all

rrdtool --version
to check
Reinhard
asemen
Posts: 9
Joined: Thu Jun 11, 2009 4:40 am

Post by asemen »

# rrdtool --version
RRDtool 1.2.27 Copyright 1997-2008 by Tobias Oetiker <tobi@oetiker.ch>
Compiled Jun 7 2008 01:12:36

Usage: rrdtool [options] command command_options

Valid commands: create, update, updatev, graph, dump, restore,
last, lastupdate, 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
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

And Settings -> RRDTool Utility Version shows what?
Reinhard
asemen
Posts: 9
Joined: Thu Jun 11, 2009 4:40 am

Post by asemen »

as it should be 1.2.x
f0llia
Posts: 21
Joined: Fri Apr 22, 2005 4:06 am

Post by f0llia »

i've the same problem, cacti is installed via apt-get on a ubuntu server ..

my rrd version is

Code: Select all

RRDtool 1.3.1  Copyright 1997-2008 by Tobias Oetiker <tobi@oetiker.ch>
Compiled Mar 18 2009 17:20:51
and the version selected in cacti settings is 1.2 ..

How can i solve this ?

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

Post by gandalf »

The error does not stop cacti from creating rrdtool commands. So perhaps we have an issue in out rrdtool version autodetection. I have no clue what happens here; but at least this is not the reason why the graphs are broken.
So please change to Graph management, switch to debug and try to run the generated command from cli. Post your findings
Reinhard
asemen
Posts: 9
Joined: Thu Jun 11, 2009 4:40 am

solved

Post by asemen »

solved

the mention snmp error is only displayed when using the ip Address in displaying the cati site.

e.g.
http://22.22.22.22/cacti/utilities.php?action=view_tech

non on using the real host name
e.g
http://cacti.example.com/cacti/utilitie ... =view_tech

this looks like a bug,
but works for me.
f0llia
Posts: 21
Joined: Fri Apr 22, 2005 4:06 am

Post by f0llia »

The same for me ... using IP address i can see all graphs ..
khufure
Cacti User
Posts: 203
Joined: Wed Oct 24, 2007 5:47 pm
Location: San Francisco, CA
Contact:

Post by khufure »

f0llia wrote:The same for me ... using IP address i can see all graphs ..
Then you need to fix your Apache virtualhost and/or DNS entries.
f0llia
Posts: 21
Joined: Fri Apr 22, 2005 4:06 am

Post by f0llia »

gandalf wrote:The error does not stop cacti from creating rrdtool commands. So perhaps we have an issue in out rrdtool version autodetection. I have no clue what happens here; but at least this is not the reason why the graphs are broken.
So please change to Graph management, switch to debug and try to run the generated command from cli. Post your findings
Reinhard
This is an example of i see when i enable debug:

Code: Select all

	RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="h01-esx.dnrnet.it - Load Average" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--units-exponent=0 \
--vertical-label="processes in the run queue" \
--slope-mode \
--font TITLE:12: \
--font AXIS:7: \
--font LEGEND:8: \
--font UNIT:7: \
DEF:a="/var/lib/cacti/rra/h01-esx_dnrnet_it_load_1min_86.rrd":load_1min:AVERAGE \
DEF:b="/var/lib/cacti/rra/h01-esx_dnrnet_it_load_1min_86.rrd":load_5min:AVERAGE \
DEF:c="/var/lib/cacti/rra/h01-esx_dnrnet_it_load_1min_86.rrd":load_15min:AVERAGE \
CDEF:cdefg=TIME,1245783292,GT,a,a,UN,0,a,IF,IF,TIME,1245783292,GT,b,b,UN,0,b,IF,IF,TIME,1245783292,GT,c,c,UN,0,c,IF,IF,+,+ \
AREA:a#EACC00FF:"1 Minute Average"  \
GPRINT:a:LAST:" Current\:%8.2lf\n"  \
AREA:b#EA8F00FF:"5 Minute Average":STACK \
GPRINT:b:LAST:" Current\:%8.2lf\n"  \
AREA:c#FF0000FF:"15 Minute Average":STACK \
GPRINT:c:LAST:"Current\:%8.2lf\n"  \
LINE1:cdefg#000000FF:"" 
RRDTool Says:
ERROR: opening '/var/lib/cacti/rra/h01-esx_dnrnet_it_load_1min_86.rrd': No such file or directory
f0llia
Posts: 21
Joined: Fri Apr 22, 2005 4:06 am

Post by f0llia »

no ideas ?
Thanks all
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

What does your Cacti Log file look like? Are you actually polling. Have you followed Gandolf's degugging page?

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest