Graph Items: Data Source Dropdown list is empty

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

Moderators: Developers, Moderators

clowntoe
Posts: 11
Joined: Tue Aug 30, 2005 12:50 pm

Graph Items: Data Source Dropdown list is empty

Post by clowntoe »

When I try to add Graph Items to a graph, the data source list contains "None" and nothing more. However, when editing a graph template, I am able to see all data sources. How is this link made?

Cacti 0.8.6f

Thanks for any guidance that can be given. I can give more versions/screenshots/outputs if desired.
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 select a host when you created that graph?
[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]
clowntoe
Posts: 11
Joined: Tue Aug 30, 2005 12:50 pm

Post by clowntoe »

I tried it both ways, but it should work even without a host. I have another Cacti server which works fine. I just don't know if it's a permission issue on a directory or something else. I uninstalled/reinstalled Cacti on the trouble machine, but the data sources listed under "Data Sources" do not appear in the drop down box when I'm creating graphs.
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Run a check/repair on your database?
[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]
clowntoe
Posts: 11
Joined: Tue Aug 30, 2005 12:50 pm

Post by clowntoe »

Here's the output of mysqlcheck -r cacti:

cacti.cdef OK
cacti.cdef_items OK
cacti.colors OK
cacti.data_input OK
cacti.data_input_data OK
cacti.data_input_fields OK
cacti.data_local OK
cacti.data_template OK
cacti.data_template_data OK
cacti.data_template_data_rra OK
cacti.data_template_rrd OK
cacti.graph_local OK
cacti.graph_template_input OK
cacti.graph_template_input_defs OK
cacti.graph_templates OK
cacti.graph_templates_gprint OK
cacti.graph_templates_graph OK
cacti.graph_templates_item OK
cacti.graph_tree OK
cacti.graph_tree_items OK
cacti.host OK
cacti.host_graph OK
cacti.host_snmp_cache OK
cacti.host_snmp_query OK
cacti.host_template OK
cacti.host_template_graph OK
cacti.host_template_snmp_query OK
cacti.poller OK
cacti.poller_command OK
cacti.poller_item OK
cacti.poller_output OK
cacti.poller_reindex OK
cacti.poller_time OK
cacti.rra OK
cacti.rra_cf OK
cacti.settings OK
cacti.settings_graphs OK
cacti.settings_tree OK
cacti.snmp_query OK
cacti.snmp_query_graph OK
cacti.snmp_query_graph_rrd OK
cacti.snmp_query_graph_rrd_sv OK
cacti.snmp_query_graph_sv OK
cacti.user_auth OK
cacti.user_auth_perms OK
cacti.user_auth_realm OK
cacti.user_log OK
cacti.version OK

And here's a screenshot of what I'm still seeing (note that I see this same thing for any graph, not just this one with the template particularly).

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

Post by rony »

That's because that is associated with a graph template, you have to edit the graph template.

Sorry, didn't think about that before, thanks for the screen shot.
[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]
clowntoe
Posts: 11
Joined: Tue Aug 30, 2005 12:50 pm

Post by clowntoe »

Thanks for the reply.

Actually, as I mentioned, I get this anywhere I try to add a data source for a graph - template or not. Here's another shot to show you what I mean. I knew that was a bad example :) On my other box, either one of these locations shows a list of available data sources.

In case this helps, when I reinstalled Cacti on this box, I deleted the database, moved all data files, and removed everything else associated with the old installation. I used the debian package, which I used on the properly working box, and imported the cacti.sql into a newly created database - and I'm still having the same problem. So I'm not sure what the two fresh installations would have in common to make this occur. Hopefully that information will spark something. Here's the second screenshot:

Image[/i]
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Make sure you have the patches to 0.8.6f applied.

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?
clowntoe
Posts: 11
Joined: Tue Aug 30, 2005 12:50 pm

Post by clowntoe »

All patches are applied. The problem still exists.
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

dump database, send to me via e-mail. Please reference this post.

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?
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Tony's correct. You need to read the users manual. Next time, I must learn to pay more attentions.

Sorry,

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?
clowntoe
Posts: 11
Joined: Tue Aug 30, 2005 12:50 pm

Post by clowntoe »

I've gone through the manual. I've also done two more installations on two other boxes and have verified that this particular installation is acting differently than all THREE other installations (have had one working at another location for a while). Here are two images to show the basics of what I'm doing. On the other three installations, I have data source options. To reiterate, I am not using a template, as you see below. The fact that I'm not associating with a host doesn't matter on my other installations, and I've tried it both ways without success anyway.

Image

Image

Thanks again for looking at this.
clowntoe
Posts: 11
Joined: Tue Aug 30, 2005 12:50 pm

Post by clowntoe »

I suppose we're out of options, then?
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Do you have any data sources that don't have a host attached to them?

What are you trying to acomplish?
[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]
clowntoe
Posts: 11
Joined: Tue Aug 30, 2005 12:50 pm

Post by clowntoe »

Well, it's just this particular machine that's having the problem. I have a script that runs to get some market data from another server on my network. I have the script running successfully with Cacti on another server but it makes more sense to have Cacti running on this particular server, so I'm looking to migrate it over. Basically, I want to create a Data Input Method for the script, add three data sources for each of the outputs, and create a chart based on them. I can manage the first two items, but once I try to add items to the graph, you see that I do not only lack the custom Data Sources, but also the default data sources which normally drop down.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest