Removing and re-adding a data source

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
dlstokes
Posts: 8
Joined: Mon May 02, 2005 10:26 am

Removing and re-adding a data source

Post by dlstokes »

I am somewhat new to Cacti, and would appreciate a little help. We had a graph that appeared to be behaving strangely. I decided to remove the graph and start from scratch (there were recent changes made to the host which may have changed SNMP indexes). I removed the data source and all of the associated data. When I go to the polling host in order to start graphing that interface again, it still shows greyed out as if it is currently graphing. However, there is no corrosponding entry for the interface under data sources or under graph management.

I have gone to the polling host and used the green circle to update the snmp query, but there was no change in behavior. That interface still shows greyed out.

What is the proper method for removing an interface from monitoring and what is the proper method for updating a polling host to reflect any new changes?

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

Post by rony »

Double check that the graph has been removed as well. When removing a graph and data source, you have to do both to graph again.
[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]
dlstokes
Posts: 8
Joined: Mon May 02, 2005 10:26 am

Post by dlstokes »

The graph is no longer listed under data sources or under graph management for that device. Is there anywhere else that I should check to verify that the graph has been deleted?
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Cacti version?

When you go into graph management, you can Filter by host, that is if you are running a more resent version.
[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]
dlstokes
Posts: 8
Joined: Mon May 02, 2005 10:26 am

Post by dlstokes »

Yep. That's where I'd been checking all along. If I filter on my host, the graph is not listed, yet it still shows greyed out when I try to start graphing it again.

I actually noticed that we were having more problems than I thought with this one particular host. So I decided to just remove the entire host and start from scratch.

Let me ask this...for future reference...if I want to remove a graph and re-add it, what should my procedure have been? First remove the graph, then remove the data source? As it is, I think I only removed the data source (and selected the 'remove all references, etc') option.

What is the proper procedure?

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

Post by rony »

Well, in latest version, removing the data source and all references works. But I think I recall an issue in earlier version.
[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]
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests