no graphs with rrdtool 1.1

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

Moderators: Developers, Moderators

kamanita
Posts: 11
Joined: Mon Feb 21, 2005 11:56 am

no graphs with rrdtool 1.1

Post by kamanita »

hi, i installed cacti for debian sarge, ossim and bind-mailgraph.
but i get no graphs only broken images ... on all systems, only ossim shows graphs.
the poller collects the data but there are no graphs.

if i turn on the debug mode i get the following messages:

ERROR: invalid rpn expression in: a,1024,*

or

ERROR: height > 32 is not possible with --only-graph option

has anybody any idea?

thanks
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Yes, downgrade to rrdtool 1.0.49. 1.1.x is not for Productions, says it right on the rrdtool website.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
kamanita
Posts: 11
Joined: Mon Feb 21, 2005 11:56 am

new rrdtool 1.0.49 ...

Post by kamanita »

same problem!

mmmh ... how can i check what rrdtool needs, if a library is missing and so on?
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Did you update the path? Just making sure that cacti is using the 1.0.x version.

Can you post the debug of the graph generation?
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
kamanita
Posts: 11
Joined: Mon Feb 21, 2005 11:56 am

the ...

Post by kamanita »

path is the same (if you mean the rrdtool path settings in cact) as in the old version.

how to generate rrtool debug output. the only hint i have is the "debug" from the cacti interface!
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

To view the graph debug, click the little wrench next the the graph when viewing graphs.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
kamanita
Posts: 11
Joined: Mon Feb 21, 2005 11:56 am

Post by kamanita »

there are two errors,

ERROR: invalid rpn expression in: a,1024,*

or

ERROR: height > 32 is not possible with --only-graph option

thats all ...
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Please post the debug, I want to see how cacti structured your command line for rrdtool.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
kamanita
Posts: 11
Joined: Mon Feb 21, 2005 11:56 am

here is

Post by kamanita »

one debug ....
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="server1 - Memory Usage" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="kilobytes" \
DEF:a="/usr/share/cacti/rra/localhost_mem_buffers_3.rrd":mem_buffers:AVERAGE \
DEF:b="/usr/share/cacti/rra/localhost_mem_swap_4.rrd":mem_swap:AVERAGE \
AREA:a#FF4105:"Free" \
GPRINT:a:LAST:"Current\:%8.2lf %s" \
GPRINT:a:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:a:MAX:"Maximum\:%8.2lf %s\n" \
STACK:b#FFC73B:"Swap" \
GPRINT:b:LAST:"Current\:%8.2lf %s" \
GPRINT:b:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:b:MAX:"Maximum\:%8.2lf %s"

if you need more i will send
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

You still appear to be running rrdtool 1.1 which is NOT supported. Please run "rrdtool --version" to verify. Also, verify that your setting in "Settings->Paths" refers to the correct version of RRDTOOL.

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?
kamanita
Posts: 11
Joined: Mon Feb 21, 2005 11:56 am

its right

Post by kamanita »

i am using rrdtool version 1.1
but other apps ... like ossim which also use rrdtool have no problems!
should i have both versions on one system?
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Up to you if you want to run both version.

But as we have said, cacti does not support rrdtool 1.1.x, please use rrdtool 1.0.x with cacti.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
kamanita
Posts: 11
Joined: Mon Feb 21, 2005 11:56 am

i tried

Post by kamanita »

it on an other system.

debian sarge, with cacti, bindgraph.cgi mailgraph.cgi and rrdtools 1.0.49 ... same problem ....

no graphs ...
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Have you waited at least 1 polling cycle? Have you confirmed permissions on the rra and log directory allow the polling user to access them?
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
kamanita
Posts: 11
Joined: Mon Feb 21, 2005 11:56 am

yes

Post by kamanita »

i did ...
my question is ... is there any possible tools or command that i can use manually to see what happens whenn rrdtool starts .. or the cacti poller?
i tried strace but i doesnt make much sense !
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests