graphs not generating after upgrade

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

Moderators: Developers, Moderators

grzeslaw
Posts: 26
Joined: Thu Mar 26, 2009 4:38 pm
Location: Poland

Post by grzeslaw »

Yeah, the situation is the same when using cmd.php. Still don't draw my graphs.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

grzeslaw wrote:
Sirup wrote:
gandalf wrote:And which one has been defined under "Settings"?
The same version 1.4.2
This is not correct unless you are running Cacti from SVN/trunk. Afficial Cacti releases do not yet support rrdtool-1.4.x
R.
grzeslaw
Posts: 26
Joined: Thu Mar 26, 2009 4:38 pm
Location: Poland

Post by grzeslaw »

so with wersion should I use?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Perhaps I did not make myself clear enough.
Using rrdtool 1.4 is fine even with cacti 087. Cacti does not support the new features but will run fine (except for font usage).
But there is no rrdtool 1.4 setting under "Settings" yet! At best, you can set "RRDTool-1.3.x".
So either there is a misunderstanding or a mis-configuration
R.
grzeslaw
Posts: 26
Joined: Thu Mar 26, 2009 4:38 pm
Location: Poland

Post by grzeslaw »

Ok, so As I wrote:

I use lastest cacti and cacti-spine and cacti-plugin in versions: 0.8.7e
The rrdtool is 1.3.9 from source. So it should be fine. but it isn't
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

grzeslaw wrote:the same:

Code: Select all

root@hp1:/# /usr/bin/rrdtool graph /tmp/foo.png --imgformat=PNG --start=1269188049 --end=1269274449 --title="H4 - Load Average" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --units-exponent=0 COMMENT:"From 2010/03/21 17:14:09 To 2010/03/22 17:14:09\c" COMMENT:" \n" --vertical-label="processes in the run queue" DEF:a="/usr/share/cacti/rra/h4_load_1min_302.rrd":load_1min:AVERAGE DEF:b="/usr/share/cacti/rra/h4_load_5min_304.rrd":load_5min:AVERAGE DEF:c="/usr/share/cacti/rra/h4_load_15min_303.rrd":load_15min:AVERAGE CDEF:cdefg=TIME,1269274149,GT,a,a,UN,0,a,IF,IF,TIME,1269274149,GT,b,b,UN,0,b,IF,IF,TIME,1269274149,GT,c,c,UN,0,c,IF,IF,+,+ AREA:a#EACC00:"1 Minute Average" GPRINT:a:LAST:" Current\:%8.2lf\n" STACK:b#EA8F00:"5 Minute Average" GPRINT:b:LAST:" Current\:%8.2lf\n" STACK:c#FF0000:"15 Minute Average" GPRINT:c:LAST:"Current\:%8.2lf\n" LINE1:cdefg#000000:"Total"
ERROR: I don't understand ':14:09 To 2010/03/22 17:14:09\c' in command: 'COMMENT:From 2010/03/21 17:14:09 To 2010/03/22 17:14:09\c'.
This error messages shows "wrong" escaping of ":". This would happen e.g. when your "Settings" screen shows the wrong "RRDTool Utility Version", e.g. "RRDTool-1.0.x".
Cacti would apply escaping sequence that matches "RRDTool-1.0.x", then which fails for "RRDTool-1.3.9". That's why I asked.

R.
grzeslaw
Posts: 26
Joined: Thu Mar 26, 2009 4:38 pm
Location: Poland

Post by grzeslaw »

Soo you think, that is a problem with rrdtool versions?
Why do I need to install 1.0.X - this versions are veeeeeeeery old - last 1.0.X has 5years old! When i have the newest version of cacti-* why do I need so old version of rrdtool ?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

grzeslaw wrote:Soo you think, that is a problem with rrdtool versions?
Why do I need to install 1.0.X - this versions are veeeeeeeery old - last 1.0.X has 5years old! When i have the newest version of cacti-* why do I need so old version of rrdtool ?
I do not say to install old version.
It is fine to run any known version of rrdtool.
But the Cacti internally defined version number of rrdtool, to be found under "Settings -> RRDTool Utility Version" must match the running version of rrdtool in order to work.
R.
grzeslaw
Posts: 26
Joined: Thu Mar 26, 2009 4:38 pm
Location: Poland

Post by grzeslaw »

Got it!

"Settings -> RRDTool Utility Version"
This option was not inscribed correctly, soo when I set it to 1.3,X (witch is my current realise), my eyes saw the graphs ;-)

BIG thanks for helping! Now all's clear
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

grzeslaw wrote:Got it!

"Settings -> RRDTool Utility Version"
This option was not inscribed correctly, soo when I set it to 1.3,X (witch is my current realise), my eyes saw the graphs ;-)

BIG thanks for helping! Now all's clear
I'm happy that you're now satisfied. Greetings to Poland
R.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest