Distributed Polling and Storing Data only in Database

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

Moderators: Developers, Moderators

Post Reply
succulent
Posts: 11
Joined: Sun Dec 19, 2004 4:43 am

Distributed Polling and Storing Data only in Database

Post by succulent »

Hi,

I would like to use Cacti in an distributed environment (due to security reasons) in an one parent/many children manner.

I managed to limit cmd.php on every child to only poll data for a specific domain (by introducing the variable "poll_domain" in config.php and changing cmd.php to only select hosts within this poll_domain).

But: The children-hosts should not update the rrd-files. Gathered Data should only be placed in the Database - is this possible with cacti?

It would als be enough, if the children could store the newly gathered data in a queue in the database. When run, the cmd.php script on the masternode could then update the rrd-Files in the correct timely order.

Is there a supporting mechanismen in cacti?

If not - hmm - I have to overcome my lazyness and write it - except there is something stupid about my above strategy :)

thanx for any help in advance!

bye, christian
succulent
Posts: 11
Joined: Sun Dec 19, 2004 4:43 am

Post by succulent »

after digging through cmd.php and the documentation I have a slightly confused feeling about data_input_methods and queries in combination with snmp.

Is it possible to

- gather snmp-data
- store it in the database
- and make graphs out of the data in the database
- by doing some magic (here is the point where I im confused :) with data_input_methodes and queries

in cmd.php snmp-pollling has the action type = 0 and there is no interpretation of ""update_rra" (which I think means => store in database if update_rra = false).

Help!! :roll:

bye, christian
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Multiple poller hosts is a feature that is being developed in version 0.8.7 which is extremely alpha. If you want to try it out, download the latest CVS version of cacti.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
succulent
Posts: 11
Joined: Sun Dec 19, 2004 4:43 am

Post by succulent »

Will the Data be stored in the Database only or is it also necessary to put it in rra's?

christian
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

The data is temporarly stored in the database per the polling cycle, then the central poller updates the locally stored rra. The central poller / central console would be the box that houses the webserver and the main cacti installation.

Plus, cacti will never store the data just in the database, it's a frontend for rrdtool. rrdtool is what is providing the statistical data storage and graphing of that data. It would be very problematic to remove rrdtool from cacti, it's what cacti is build on.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
succulent
Posts: 11
Joined: Sun Dec 19, 2004 4:43 am

Post by succulent »

ok - got it. thx!

when do you plan to release 8.7?

christian
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Unknown at this time.

I hope, and I think the other developers do as well, that we will release in the first 1/2 of 2005.

But, I don't want to make any promises. :D
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
succulent
Posts: 11
Joined: Sun Dec 19, 2004 4:43 am

Post by succulent »

no promises is ok (january 2005 also - or do you mean first half of 2005 :)

christian
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

I mean first half of 2005, in other words, release by the end of 2nd quarter 2005. But again, this is subject to change.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest