Hot to delete graph from tree

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

Moderators: Developers, Moderators

Post Reply
ffeingol
Posts: 21
Joined: Thu Jun 27, 2019 8:57 am

Hot to delete graph from tree

Post by ffeingol »

This sure seems like it should be easy, but how to do it is totally baffling me.

We're running Cacti V 1.2.8

The Graph tree looks like this:

Root
--Branch One
---- Sub-Branch One

A graph that should have been on "Sub-Branch One" was placed on "Branch One".

how do you delete it?
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: Hot to delete graph from tree

Post by netniV »

Drag and drop to move it, right click delete to remove it.
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
ffeingol
Posts: 21
Joined: Thu Jun 27, 2019 8:57 am

Re: Hot to delete graph from tree

Post by ffeingol »

Hello,

Sorry if I was not clear. It's individual graphs that are in the wrong part of the tree. I see how I can delete the branches of the tree, but not the actual graphs that are under that branch.

If it's simple as right click, where in Cacti do I need to be to do that?

Thanks again.
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: Hot to delete graph from tree

Post by netniV »

When you edit the tree.
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
User avatar
camerabob
Cacti User
Posts: 386
Joined: Fri Feb 10, 2017 2:45 pm
Location: Long Island, New York, USA
Contact:

Re: Hot to delete graph from tree

Post by camerabob »

Place the cursor on the item you wish to remove and right click. A menu should drop down allowing you to remove it.
Prod: Cacti 1.2.15 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Maint @ 1.2
Monitor @ 2.3.6
Thold @ 1.2.4

Temp: Cacti 1.2.3 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Flowview @ 2.1
Mactrack @ 4.2
Maint @ 1.2
Monitor @ 2.3.6
Router Configs @ 1.3.4
Syslog Monitoring @ 2.1
Thold @ 1.2.4
ffeingol
Posts: 21
Joined: Thu Jun 27, 2019 8:57 am

Re: Hot to delete graph from tree

Post by ffeingol »

OK, I must have totally lost my mind, as I still see no way to delete graphs (or even list the graphs). Here is what I'm doing:

- Choose Management
- Choose Trees
- Choose the root
- Click "Edit Tree"
- Choose the branch I want to clean up

In the left I see "tree items" and I can right click / delete there, but I don't want to delete the tree items, I want to delete graphs that are "under" those items. On the right I see Available Sites, Available Devices and Available Graphs.

What am I missing?
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Hot to delete graph from tree

Post by TheWitness »

You may be looking under a site or a device object. You don't have the ability to remove graphs from those object types. They are meta-objects and not Graphs. If you want to remove a users permission to see a Graph, you do that from the user, or preferably user group permissions page.
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?
ffeingol
Posts: 21
Joined: Thu Jun 27, 2019 8:57 am

Re: Hot to delete graph from tree

Post by ffeingol »

Let me try to explain this again. Here is what part of our tree looks like:

Root
--Branch One
---- Sub-Branch One

Graphs were added at "Branch One" and they should not have been put there. They were then added (a second sent) under "Sub-Branch One" (where they actually should be). I now want to delete the graphs from "Branch One" as they do not belong there.

I don't want to totally delete the graphs (and loose all the hosting) I just want to remove them from the wrong branch in the tree.

Does that help?
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Hot to delete graph from tree

Post by TheWitness »

You should be able to drag them around.
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?
ffeingol
Posts: 21
Joined: Thu Jun 27, 2019 8:57 am

Re: Hot to delete graph from tree

Post by ffeingol »

TheWitness wrote: Tue Apr 07, 2020 10:36 am You should be able to drag them around.
I'm in Console, Management, Trees, Root Tree. When I click on a branch, I see Available Sites, Devices and Graphs, but not any graphs that are under that branch in the tree.

Can you provide a screen shot of what a sample system should look like / where I can drag / delete?
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Hot to delete graph from tree

Post by TheWitness »

This is what you will see below. The graph is under the tree branch.
Attachments
Like this one?
Like this one?
ThisGraph.png (13.24 KiB) Viewed 1807 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?
ffeingol
Posts: 21
Joined: Thu Jun 27, 2019 8:57 am

Re: Hot to delete graph from tree

Post by ffeingol »

Thank you very much. I had my ah ha moment. We have dozens of devices on each branch of the tree, so I simply had not scrolled down enough.
Post Reply

Who is online

Users browsing this forum: anwaraahmad1 and 0 guests