I installed rrdtool 1.2 today and I find I can't use it: it will export static graphs just fine and it displays detail graphs for a given data source (5 min/2 hour/week/year) but no previews.
Is this something anyone else has seen?
This is in SuSE linux 8/9, cacti .8.6f with cactid and rrdtool 1.2.11.
rrdtool 1.2 not creating preview graphs
Moderators: Developers, Moderators
-
- Cacti User
- Posts: 150
- Joined: Sat Jul 30, 2005 2:15 pm
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Enable DEBUG, goto a preview graphs. Then immediately goto the log. You will find an entry "CACTI2RRD". Take that command and paste it into a shell and see what error it returns (please redirect output to a file).
Then paste that error message to this forum. Don't forget to turn off DEBUG when complete.
TheWitness
Then paste that error message to this forum. Don't forget to turn off DEBUG when complete.
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?
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?
-
- Cacti User
- Posts: 150
- Joined: Sat Jul 30, 2005 2:15 pm
Hmm. works now.
Well, never mind, as Emily Litella would say. It works, though slowly.
Good enough.
Thanks.
Good enough.
Thanks.
I've got exactly the same problem using rrdtool 1.2. Here is the rrdtool command to generate the previews :
/usr/local/rrdtool/bin/rrdtool graph - --imgformat=PNG --start=1124915153 --end=1125001553 --title="Cisco 6513 - CPU Usage" --rigid --base=1000 --height=100 --width=300 --alt-autoscale-max --lower-limit=0 --no-legend COMMENT:"From 2005/08/24 22:25:53 To 2005/08/25 22:25:53\c" COMMENT:" \n" --vertical-label="percent" DEF:a="/var/www/cacti.crihan.fr/rra/cisco_6513_5min_cpu_275.rrd":5min_cpu:AVERAGE AREA:a#FF0000:""
and here is the error output of this command :
ERROR: Garbage ':25:53 To 2005/08/25 22:25:53\c' after command:
COMMENT:From 2005/08/24 22:25:53 To 2005/08/25 22:25:53\c
It looks like rrdtool doesn't like the ':' character into the comment line
/usr/local/rrdtool/bin/rrdtool graph - --imgformat=PNG --start=1124915153 --end=1125001553 --title="Cisco 6513 - CPU Usage" --rigid --base=1000 --height=100 --width=300 --alt-autoscale-max --lower-limit=0 --no-legend COMMENT:"From 2005/08/24 22:25:53 To 2005/08/25 22:25:53\c" COMMENT:" \n" --vertical-label="percent" DEF:a="/var/www/cacti.crihan.fr/rra/cisco_6513_5min_cpu_275.rrd":5min_cpu:AVERAGE AREA:a#FF0000:""
and here is the error output of this command :
ERROR: Garbage ':25:53 To 2005/08/25 22:25:53\c' after command:
COMMENT:From 2005/08/24 22:25:53 To 2005/08/25 22:25:53\c
It looks like rrdtool doesn't like the ':' character into the comment line
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Settings->General
RRDTool Version
That is all I will say.
RRDTool Version
That is all I will say.
[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]
[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]
Who is online
Users browsing this forum: No registered users and 1 guest