Distributed collection of data
Moderators: Developers, Moderators
-
- Posts: 4
- Joined: Mon Jan 12, 2004 5:50 am
Distributed collection of data
Hello, I am just a newbie to cacti and I really like it. However, my goal is to have a distributed system where my servers (both Linux and Windows machines) send to Cacti the data, and later create the graphs. I have been searching for it, but couldn´t find a packed solution. I have found a way to do it but it takes me to a dead link http://www.raxnet.net/board/viewtopic.php?t=499 Does anybody have a copy of this script that you can send me? Or, can you tell me how to do it? I'd prefer not to dig into programming a whole new server cause I am not a great programmer.
-
- Posts: 4
- Joined: Mon Jan 12, 2004 5:50 am
No such distributed solution currently exists that I know of. I have been throwing some ideas around with another user of Cacti about how this could be implimented very easily using MySQL. We were basically talking about each remote poller doing it's own thing and reporting back to the main Cacti box using MySQL. It would require modifications to the pollers on both ends, but shouldn't be too difficult.
So in short, this is definitely planned, but there is no current distributed solution for Cacti that I know of.
-Ian
So in short, this is definitely planned, but there is no current distributed solution for Cacti that I know of.
-Ian
Do it via SSH???
Hello,
I am a new user to cacti, but an experienced admin. From what I can see, this is being planned but does not yet exist. I am looking to get aroud the problem by creating the scripts that I require (Apache stats, MySQL stats, Traffic stats, disk, load, etc...) on each box that I want to monitor. Some of the scripts will have to be executed with 'sudo'. I am then going to create a "cacti" user on each of the remote boxes. I will then create a public SSH key for the cacti user on the monitoring box and copy it to all the remote hosts' cacti user. This will allow the monitoring cacti user to execute scripts remotely on the remote hosts as the cacti user via SSH. This is all theory of course. Perhaps a more experienced user can tell me if I am wasting my time or if it is plausible.
Cheers.
I am a new user to cacti, but an experienced admin. From what I can see, this is being planned but does not yet exist. I am looking to get aroud the problem by creating the scripts that I require (Apache stats, MySQL stats, Traffic stats, disk, load, etc...) on each box that I want to monitor. Some of the scripts will have to be executed with 'sudo'. I am then going to create a "cacti" user on each of the remote boxes. I will then create a public SSH key for the cacti user on the monitoring box and copy it to all the remote hosts' cacti user. This will allow the monitoring cacti user to execute scripts remotely on the remote hosts as the cacti user via SSH. This is all theory of course. Perhaps a more experienced user can tell me if I am wasting my time or if it is plausible.
Cheers.
This would definitely work, however each check would require the overhead of an SSH login. Another approach is that net-snmp provides a cool feature that allows you to execute commands remotely and monitor the result using SNMP. To do this you just need to add a line to your snmpd.conf. For instance, I am monitoring NAT connections on my firewall using the following line:
Now you can graph the result of this command using the following OID:
Just increment the last octet for each additional "exec" line in your snmpd.conf.
-Ian
Code: Select all
exec connection_table_size /usr/bin/connectionTableSize
Code: Select all
.1.3.6.1.4.1.2021.8.1.101.1
-Ian
what about
rrdd its send updated using udp
http://people.ee.ethz.ch/~oetiker/webto ... /rrdd.html
http://people.ee.ethz.ch/~oetiker/webto ... /rrdd.html
Who is online
Users browsing this forum: No registered users and 3 guests