Graph Management - No Data Sources to Choose From
Moderators: Developers, Moderators
Graph Management - No Data Sources to Choose From
I went to try to change the title of a graph by editing it in graph management, and after doing so, the graph "broke". Investigating further, none of my graphs when selected through graph management have associated data sources to choose from.
Thus, if I edit a graph, the datasource association is lost and the graph permanently broken.
Any ideas what to look for?
I'm attaching a screenshot to show you what I'm talking about. If I were to click 'save', the graph would break, and graph debug would show something like (this is a different graph):
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Prod - Used Space - hda" \
--rigid \
--base=1024 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bytes" \
--slope-mode \
AREA:#002A97:"Total" \
GPRINT::LAST:" Current\:%8.2lf %s" \
GPRINT::AVERAGE:"Average\:%8.2lf %s" \
GPRINT::MAX:"Maximum\:%8.2lf %s\n" \
AREA:#F51D30:"Used" \
GPRINT::LAST:" Current\:%8.2lf %s" \
GPRINT::AVERAGE:"Average\:%8.2lf %s" \
GPRINT::MAX:"Maximum\:%8.2lf %s\n"
RRDTool Says:
ERROR: Not a valid vname: #002A97 in line AREA:#002A97:Total
Thus, if I edit a graph, the datasource association is lost and the graph permanently broken.
Any ideas what to look for?
I'm attaching a screenshot to show you what I'm talking about. If I were to click 'save', the graph would break, and graph debug would show something like (this is a different graph):
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Prod - Used Space - hda" \
--rigid \
--base=1024 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bytes" \
--slope-mode \
AREA:#002A97:"Total" \
GPRINT::LAST:" Current\:%8.2lf %s" \
GPRINT::AVERAGE:"Average\:%8.2lf %s" \
GPRINT::MAX:"Maximum\:%8.2lf %s\n" \
AREA:#F51D30:"Used" \
GPRINT::LAST:" Current\:%8.2lf %s" \
GPRINT::AVERAGE:"Average\:%8.2lf %s" \
GPRINT::MAX:"Maximum\:%8.2lf %s\n"
RRDTool Says:
ERROR: Not a valid vname: #002A97 in line AREA:#002A97:Total
- Attachments
-
- nodatasources.JPG (171.79 KiB) Viewed 9924 times
Graphs were created using the 'devices' screen, then 'create graphs for this host'. This appears to be affecting every graph on my system, so maybe an upgrade went bad? Whatever the case, I cannot make any changes to existing graphs--it just breaks the graph upon save. Clearly, though, the database knows which data sources are associated with the graph, as it works initially, just not after making any changes. I'd really rather not recreate all my graphs (which probably wouldn't help, either, since even new graphs are this way).
I'm not sure what you're looking for on the graph management list, but here's a screenshot.
I'm not sure what you're looking for on the graph management list, but here's a screenshot.
- Attachments
-
- cacti-graph-mgmt.jpg (184.19 KiB) Viewed 9781 times
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Please dump and email me your database.
I will inspect by the end of week.
I will inspect by the end of week.
[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]
Ahh! This looks similar to what I'm seeing:
http://forums.cacti.net/viewtopic.php?t=14879
http://forums.cacti.net/viewtopic.php?t=14879
i found this bug already registered
http://bugs.cacti.net/view.php?id=624
is any solution at the moment?
http://bugs.cacti.net/view.php?id=624
is any solution at the moment?
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
So, my questions to ALL who are monitoring this port.
Did any of you clear the checkbox in the Graph Template to automatically name the Graph in an effort to change the names of your graphs?
Second question:
Are these problems associated with Data Query related Graph Templates or simple SNMP/Script type Graph Templates.
Please advise...
TheWitness
Did any of you clear the checkbox in the Graph Template to automatically name the Graph in an effort to change the names of your graphs?
Second question:
Are these problems associated with Data Query related Graph Templates or simple SNMP/Script type Graph Templates.
Please advise...
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?
i don't understand what do you meanTheWitness wrote: Did any of you clear the checkbox in the Graph Template to automatically name the Graph in an effort to change the names of your graphs?
currently i don't use Data Query, simple graph templates onlyTheWitness wrote: Are these problems associated with Data Query related Graph Templates or simple SNMP/Script type Graph Templates.
http://www.ernetfree.net/mapa_site/mapa.jpg
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Here is what I am talking about. So, restating the question, "Did you check the checkbox in order to uniquely name all of your graphs?
TheWitness
TheWitness
- Attachments
-
- GraphTemplate-PerGraphValue.JPG (115.24 KiB) Viewed 9654 times
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?
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
So, did you dump/forward your database to Tony? Do you recall anything that you have done from the user interface relative to templating prior to this change. Did you import any templates? If you did import a template or templates, please provide the links to them. If you did make additional template changes, please describe them here.
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?
no, Fred was ask for DB dumpTheWitness wrote:So, did you dump/forward your database to Tony?
noTheWitness wrote: Do you recall anything that you have done from the user interface relative to templating prior to this change. Did you import any templates?
If you did import a template or templates, please provide the links to them.
i tried to make tamplate graphs few times, steps:
1) data input methods
2) data templates
3) data source
5) host template
6) device
7) graph template
graph management
without templates graphs works fine, but i want to use template, because i have many data sources and bla bla
Last edited by reset on Fri Aug 04, 2006 7:34 am, edited 1 time in total.
http://www.ernetfree.net/mapa_site/mapa.jpg
Who is online
Users browsing this forum: No registered users and 0 guests