[HOWTO] Use externally updated rrd files + BONUS TRACK

If you figure out how to do something interesting/cool in Cacti and want to share it with the community, please post your experience here.

Moderators: Developers, Moderators

llow
Cacti User
Posts: 170
Joined: Fri Oct 05, 2007 5:34 pm

Post by llow »

I like this idea allowing to I am thinking the best way to implement this is by modifying the data source path to take URIs like rrd://x.x.x.x/filename.rrd.

I will write up a patch to 0.8.7a for this as I would like to offload the web interface completely from polling.

I am curious as to what kind of overhead running rrdtool through a tcp/ip socket will have though.
vineeshkumarpv
Posts: 5
Joined: Mon Jan 05, 2009 1:16 am

Post by vineeshkumarpv »

mbhoward wrote:ok, thanks. i opened feature request #0001000: support for globally dispersed rrd store. i can't figure out how to assign it to cigamit.

thanks again,

mark
Can u please post the changed files in the forum?
mikygee
Cacti User
Posts: 88
Joined: Thu Jul 30, 2009 3:13 am

Re: [HOWTO] Use externally updated rrd files + BONUS TRACK

Post by mikygee »

Hello Gandalf,
The link that you provided in your first message is invalid.
Where could I get the latest version for this topic ?
Thank you
Some info about my system
- Cacti: 0.8.8g / OpenBSD 6.6
- Third Party: Nginx 1.16.1 / PHP 7.3.10 / MariaDB 10.3.18v1 / NET-SNMP version 5.8p2 / RRDTool 1.7.2
- Plugins: Weathermap 0.97c / Settings 0.71 / Thold 0.5 / Flowview 1.1 / Realtime 0.5.2 / Predict 1.0
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: [HOWTO] Use externally updated rrd files + BONUS TRACK

Post by gandalf »

Thanks for the hint. Link updated
R.
kaf3773
Posts: 22
Joined: Sun Sep 09, 2012 8:48 pm

Re: [HOWTO] Use externally updated rrd files + BONUS TRACK

Post by kaf3773 »

thanks. i think i've figured out how to make it work:

- modified data source to include remote_rrd checkbox which indicates whether rrd should be fetched locally or remotely via rrdsrv
- modified rrdtool_execute (rrd.php) so that it sends rrdtool command to appropriate host if remote_rrd checkbox is checked

but this is a less than optimal solution for us since we'd rather not modify cacti code directly due to upgrade/maintenance issues. ideally, i would like to be able to get this to work by using the plug-in architecture but it doesn't seem like the requisite hooks are in place. please correct me if i'm wrong.

thanks for your help,

mark
Hi mbhoward,

I am also trying to achieve this and i have the rrdsrv setup and working. I will appreciate very much if you can share how you got this section done
- modified data source to include remote_rrd checkbox which indicates whether rrd should be fetched locally or remotely via rrdsrv
- modified rrdtool_execute (rrd.php) so that it sends rrdtool command to appropriate host if remote_rrd checkbox is checked
Secondly can anyone also point me to any post that has this done please.

Thanks and will appreciate help very much.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests