Adding/removing datasources/graphs externally

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

Post Reply
Aceldama
Posts: 3
Joined: Tue Jun 05, 2007 2:17 pm

Adding/removing datasources/graphs externally

Post by Aceldama »

Hello, I'm new to the forums so I'm not exactly sure if this is in the right place but here is what I'd like to do and I'm wondering if there is already a way to do it:

I would like to be able to add and remove graphs/data to cacti without using the web-based cacti interface. I'm thinking something like a CLI command where a script is called to directly input data using cacti functions. Something simple where I provide the name of a graph template and perhaps a data source and then when I refresh my graphs in cacti it just shows up.

Through serching I found the following thread which provides a php script(s) to do something similar though I'm not entirely sure it's what I want:

http://forums.cacti.net/about7683-0-asc-0.html

Are there any other suggestions or solutions out there to achieve this functionality that I am missing?

Thanks a lot.
o019676
Posts: 7
Joined: Sat Apr 07, 2007 11:52 pm

Your on the right track

Post by o019676 »

The link you posted will get you there for internal rrd's

and for external rrd's i wrote a bash script

http://forums.cacti.net/viewtopic.php?t=21668&view=next
Aceldama
Posts: 3
Joined: Tue Jun 05, 2007 2:17 pm

Post by Aceldama »

Thanks for the links.

My data sources are pretty much entirely going to be perl scripts. So I was hoping for something simple via CLI where I supply a datasource (perl script) and maybe a graph template and some names.

I'm going to re-read the first thread.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests