Distributed Polling and Storing Data only in Database
Moderators: Developers, Moderators
Distributed Polling and Storing Data only in Database
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
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
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!!
bye, christian
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!!
bye, christian
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
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]
[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]
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
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.
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]
[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]
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
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.
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.
[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]
[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]
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
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]
[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]
Who is online
Users browsing this forum: No registered users and 1 guest