No Graph
Moderators: Developers, Moderators
No Graph
Hi
I have a problem with a graph from a custome script.
I went trouht the steps of your documentation http://www.cacti.net/downloads/docs/htm ... graph.html .
No graph will created, but the rrd file will be updated every round.
I checked the logs i found the following passage:
10/19/2005 09:12:41 AM - WEBLOG: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=1129619557 --end=1129705957 --title="|host_description| - CPU Usage" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2005/10/18 09\:12\:37 To 2005/10/19 09\:12\:37\c" COMMENT:" \n" --vertical-label="percent" --slope-mode AREA:#B1441E:"CPU Usage" GPRINT::LAST:"Current\:%8.0lf" GPRINT::AVERAGE:"Average\:%8.0lf" GPRINT::MAX:"Maximum\:%8.0lf"
On a good graph you will see this :
10/19/2005 09:12:32 AM - WEBLOG: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=-86400 --end=-300 --title="NSBDN012 - Traffic - 4/7" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --vertical-label="bytes per second" --slope-mode DEF:a="C\:/Apache2/htdocs/cacti/rra/nsbdn012_traffic_in_49.rrd":traffic_in:AVERAGE DEF:b="C\:/Apache2/htdocs/cacti/rra/nsbdn012_traffic_in_49.rrd":traffic_out:AVERAGE AREA:a#00CF00:"Inbound" GPRINTLAST:" Current\:%8.2lf %s" GPRINTAVERAGE:"Average\:%8.2lf %s" GPRINTMAX:"Maximum\:%8.2lf %s\n" LINE1:b#002A97:"Outbound" GPRINTLAST:"Current\:%8.2lf %s" GPRINTAVERAGE:"Average\:%8.2lf %s" GPRINTMAX:"Maximum\:%8.2lf %s"
Any ideas where i made a mistake?
Greetz
Chris
W2K3
Php 5
Latest Cacti (0.8.6g with patches)
Latest rrdtool (from your webside)
Latest MYSql version 4.1.14
Latest cactid version 0.8.6e
I have a problem with a graph from a custome script.
I went trouht the steps of your documentation http://www.cacti.net/downloads/docs/htm ... graph.html .
No graph will created, but the rrd file will be updated every round.
I checked the logs i found the following passage:
10/19/2005 09:12:41 AM - WEBLOG: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=1129619557 --end=1129705957 --title="|host_description| - CPU Usage" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2005/10/18 09\:12\:37 To 2005/10/19 09\:12\:37\c" COMMENT:" \n" --vertical-label="percent" --slope-mode AREA:#B1441E:"CPU Usage" GPRINT::LAST:"Current\:%8.0lf" GPRINT::AVERAGE:"Average\:%8.0lf" GPRINT::MAX:"Maximum\:%8.0lf"
On a good graph you will see this :
10/19/2005 09:12:32 AM - WEBLOG: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=-86400 --end=-300 --title="NSBDN012 - Traffic - 4/7" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --vertical-label="bytes per second" --slope-mode DEF:a="C\:/Apache2/htdocs/cacti/rra/nsbdn012_traffic_in_49.rrd":traffic_in:AVERAGE DEF:b="C\:/Apache2/htdocs/cacti/rra/nsbdn012_traffic_in_49.rrd":traffic_out:AVERAGE AREA:a#00CF00:"Inbound" GPRINTLAST:" Current\:%8.2lf %s" GPRINTAVERAGE:"Average\:%8.2lf %s" GPRINTMAX:"Maximum\:%8.2lf %s\n" LINE1:b#002A97:"Outbound" GPRINTLAST:"Current\:%8.2lf %s" GPRINTAVERAGE:"Average\:%8.2lf %s" GPRINTMAX:"Maximum\:%8.2lf %s"
Any ideas where i made a mistake?
Greetz
Chris
W2K3
Php 5
Latest Cacti (0.8.6g with patches)
Latest rrdtool (from your webside)
Latest MYSql version 4.1.14
Latest cactid version 0.8.6e
Last edited by sirheaven on Wed Oct 19, 2005 5:33 am, edited 1 time in total.
- TheWitness
- Developer
- Posts: 17061
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
MySQL 5.x is not supported as of today.
TheWitness
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?
1) Other graphs work fine?
2) manually run the rrdtool graph command output and see what the error(s) are. If you see a lot of gibberish, pipe it into a .png file and see if thats valid.
2) manually run the rrdtool graph command output and see what the error(s) are. If you see a lot of gibberish, pipe it into a .png file and see if thats valid.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Hi BSOD2600
1. All other graphs woks fine.
2. when we run the the rrd tool manually its generate the graph with the corrcte values!
It seems that cacti not generate the complete command for the rrd tool.
The DEF Parameter doesn't exist. Look at the example :
10/19/2005 09:12:41 AM - WEBLOG: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=1129619557 --end=1129705957 --title="|host_description| - CPU Usage" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2005/10/18 09\:12\:37 To 2005/10/19 09\:12\:37\c" COMMENT:" \n" --vertical-label="percent" --slope-mode AREA:#B1441E:"CPU Usage" GPRINT::LAST:"Current\:%8.0lf" GPRINT::AVERAGE:"Average\:%8.0lf" GPRINT::MAX:"Maximum\:%8.0lf"
On a good graph you will see this :
10/19/2005 09:12:32 AM - WEBLOG: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=-86400 --end=-300 --title="NSBDN012 - Traffic - 4/7" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --vertical-label="bytes per second" --slope-mode DEF:a="C\:/Apache2/htdocs/cacti/rra/nsbdn012_traffic_in_49.rrd":traffic_in:AVERAGE DEF:b="C\:/Apache2/htdocs/cacti/rra/nsbdn012_traffic_in_49.rrd":traffic_out:AVERAGE AREA:a#00CF00:"Inbound" GPRINTLAST:" Current\:%8.2lf %s" GPRINTAVERAGE:"Average\:%8.2lf %s" GPRINTMAX:"Maximum\:%8.2lf %s\n" LINE1:b#002A97:"Outbound" GPRINTLAST:"Current\:%8.2lf %s" GPRINTAVERAGE:"Average\:%8.2lf %s" GPRINTMAX:"Maximum\:%8.2lf %s"
Greetz
chris
1. All other graphs woks fine.
2. when we run the the rrd tool manually its generate the graph with the corrcte values!
It seems that cacti not generate the complete command for the rrd tool.
The DEF Parameter doesn't exist. Look at the example :
10/19/2005 09:12:41 AM - WEBLOG: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=1129619557 --end=1129705957 --title="|host_description| - CPU Usage" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2005/10/18 09\:12\:37 To 2005/10/19 09\:12\:37\c" COMMENT:" \n" --vertical-label="percent" --slope-mode AREA:#B1441E:"CPU Usage" GPRINT::LAST:"Current\:%8.0lf" GPRINT::AVERAGE:"Average\:%8.0lf" GPRINT::MAX:"Maximum\:%8.0lf"
On a good graph you will see this :
10/19/2005 09:12:32 AM - WEBLOG: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=-86400 --end=-300 --title="NSBDN012 - Traffic - 4/7" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --vertical-label="bytes per second" --slope-mode DEF:a="C\:/Apache2/htdocs/cacti/rra/nsbdn012_traffic_in_49.rrd":traffic_in:AVERAGE DEF:b="C\:/Apache2/htdocs/cacti/rra/nsbdn012_traffic_in_49.rrd":traffic_out:AVERAGE AREA:a#00CF00:"Inbound" GPRINTLAST:" Current\:%8.2lf %s" GPRINTAVERAGE:"Average\:%8.2lf %s" GPRINTMAX:"Maximum\:%8.2lf %s\n" LINE1:b#002A97:"Outbound" GPRINTLAST:"Current\:%8.2lf %s" GPRINTAVERAGE:"Average\:%8.2lf %s" GPRINTMAX:"Maximum\:%8.2lf %s"
Greetz
chris
If it's just one graph thats broken, try deleting and recreating it.
You're using rrdtool 1.2.11 ?
You're using rrdtool 1.2.11 ?
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Hi
Yes just that Graph is broken.
I deleted this graph and the sources and creted it again. I did also repeated the How-to several times. But always the same result.
I use the rrdtool version:
RRDtool 1.2.11 Copyright 1997-2005 by Tobias Oetiker <tobi@oetiker.ch>
Compiled Tue Aug 2 21:46:25 EST 2005
Greetz
Chris
Yes just that Graph is broken.
I deleted this graph and the sources and creted it again. I did also repeated the How-to several times. But always the same result.
I use the rrdtool version:
RRDtool 1.2.11 Copyright 1997-2005 by Tobias Oetiker <tobi@oetiker.ch>
Compiled Tue Aug 2 21:46:25 EST 2005
Greetz
Chris
1) Have you applied the patches for cacti?
2) Did you specify (or double check) the data sources for that graph have been properly been selected?
3) When you recreated the graph, all you deleted was the graph template, right? Might need to delete the data source too (you can probably use the same rrd file again though) and recreate that as well.
2) Did you specify (or double check) the data sources for that graph have been properly been selected?
3) When you recreated the graph, all you deleted was the graph template, right? Might need to delete the data source too (you can probably use the same rrd file again though) and recreate that as well.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Who is online
Users browsing this forum: No registered users and 1 guest