Graph Management - No Data Sources to Choose From

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

Moderators: Developers, Moderators

Fred
Cacti User
Posts: 81
Joined: Fri Jan 03, 2003 11:43 am

Graph Management - No Data Sources to Choose From

Post by Fred »

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
Attachments
nodatasources.JPG
nodatasources.JPG (171.79 KiB) Viewed 9777 times
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

How did you create those graphs?
And please post a screenshot of the Graph Management List
Reinhard
Fred
Cacti User
Posts: 81
Joined: Fri Jan 03, 2003 11:43 am

Post by Fred »

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.
Attachments
cacti-graph-mgmt.jpg
cacti-graph-mgmt.jpg (184.19 KiB) Viewed 9634 times
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

That was the correct info. Will forward to a dev
Reinhard
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Please dump and email me your database.

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]
jjhuff
Posts: 11
Joined: Mon Jul 17, 2006 7:02 pm

Post by jjhuff »

Ahh! This looks similar to what I'm seeing:
http://forums.cacti.net/viewtopic.php?t=14879
Fred
Cacti User
Posts: 81
Joined: Fri Jan 03, 2003 11:43 am

Post by Fred »

rony wrote:Please dump and email me your database.
Sorry, didn't check back soon enough. But I sent a database dump to your email address yesterday afternoon.

Thanks.
reset
Posts: 10
Joined: Thu Aug 03, 2006 7:10 pm
Location: Czech Republic
Contact:

Post by reset »

Hi,
i found same problem, missing rrd DEF durring graph making.
How can be fix it?

cacti: 0.8.6.h
rrdTool: 1.2.6
reset
Posts: 10
Joined: Thu Aug 03, 2006 7:10 pm
Location: Czech Republic
Contact:

Post by reset »

i found this bug already registered
http://bugs.cacti.net/view.php?id=624

is any solution at the moment?
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

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
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?
reset
Posts: 10
Joined: Thu Aug 03, 2006 7:10 pm
Location: Czech Republic
Contact:

Post by reset »

TheWitness 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?
i don't understand what do you mean
TheWitness wrote: Are these problems associated with Data Query related Graph Templates or simple SNMP/Script type Graph Templates.
currently i don't use Data Query, simple graph templates only
http://www.ernetfree.net/mapa_site/mapa.jpg
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

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
Attachments
GraphTemplate-PerGraphValue.JPG
GraphTemplate-PerGraphValue.JPG (115.24 KiB) Viewed 9507 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?
reset
Posts: 10
Joined: Thu Aug 03, 2006 7:10 pm
Location: Czech Republic
Contact:

Post by reset »

it's unchecked

my problem in graph management looks:
Attachments
gr_man.jpg
gr_man.jpg
gr_man.jpg (137.64 KiB) Viewed 9501 times
http://www.ernetfree.net/mapa_site/mapa.jpg
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

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
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?
reset
Posts: 10
Joined: Thu Aug 03, 2006 7:10 pm
Location: Czech Republic
Contact:

Post by reset »

TheWitness wrote:So, did you dump/forward your database to Tony?
no, Fred was ask for DB dump
TheWitness 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.
no

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
8) 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
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests