Backend Documentation/Mass Add To Graph Tree

Anything that you think should be in Cacti.

Moderators: Developers, Moderators

Post Reply
xdragon
Posts: 1
Joined: Wed Aug 31, 2005 4:12 pm

Backend Documentation/Mass Add To Graph Tree

Post by xdragon »

I'm not sure if this is already requested:

Backend Documentation
I'm an avid php scripter and would like to add my own automation on adding hosts/graphs. As you all may know, adding hosts/graphs in cacti is pretty tedious and not many of employees in my company like to do these tedious stuff. If we could have some sort of where everything is without having to reverse engineer the codes ourselves, that would add so much usability to this wonderful program.

One example that I'm kind of frustrated about is finding out how cacti store the rrd information in the database. I know it's in the rra directory, but the filename, I believe, is derived. I went and half reverse engineer the codes but gave up since it went over too many files to find out the final code. I'm trying to use this info to determine which file is no longer used by cacti and delete them.

So, this will be a good thing to add to cacti.net documentation website for us backend scripter.

Mass add to Graph Tree
If the backend documentation is not possible, it would help for us to be able to add multiple hosts to the graph tree at one time, instead of clicking add, select, create, add, select create, add select create...
User avatar
Setarcos
Cacti User
Posts: 143
Joined: Mon Dec 13, 2004 2:55 pm
Location: San Jose, CA
Contact:

Graph tree templates?

Post by Setarcos »

RE: Mass add to Graph Tree

Perhaps something akin to graph tree templates is in order? I for one would love to see something like this implimented in an upcoming release.
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Deleting unwanted files -> compare the table "poller_items" to the contents of the directory, subtract and you have your answer.

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?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest