Problem for re-create a deleted graph

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

Moderators: Developers, Moderators

Post Reply
kenny29
Posts: 25
Joined: Thu Mar 05, 2009 7:38 am

Problem for re-create a deleted graph

Post by kenny29 »

Hello,

Yestersay I have deleted a graph with the option "Leave the data sources untouched". Then I have deleted the data source associated to this graph later.

Now when I want create again the graph I can't because Cacti think the graph is already created (grayed line)

The graph and his data source doesn't exist however.

Someone can help me ?
User avatar
Linegod
Developer
Posts: 1626
Joined: Thu Feb 20, 2003 10:16 am
Location: Canada
Contact:

Post by Linegod »

First I would double-check via the Graph Management and Data Source pages that there is not still an instance of this graph related to the host - you may have duplicated it at some point.
--
Live fast, die young
You're sucking up my bandwidth.

J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Linedude. I have an assignment for a customer to write a recovery script. Don't know when I'm going to find time to do it. Maybe today while I sit at SFO airport for 5 hours. :(

The customer deleted all of their graphs, yet kept the Data Sources. So, polling is working just fine, just need to recreate the Graphs and Re-associate them with the Data Sources.

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
Linegod
Developer
Posts: 1626
Joined: Thu Feb 20, 2003 10:16 am
Location: Canada
Contact:

Post by Linegod »

That would be relatively simple in theory, but difficult in practice, unless you can be absolutely sure that the data source naming has not been comprimised by manual adjustments.

Unless you create new graphs & data sources, then rename the old rra files to the new rra filename - that might be easier to maintain in the long run.

But that has nothing to do with his problem, to me it appears that the datasource was not actually deleted, or a older datasource is still there somehow.
--
Live fast, die young
You're sucking up my bandwidth.

J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest