-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Heya List
I've recently started on developing a nagios plugin for tor, since a cursory google search didn't come up with anything I would describe as 'comprehensive.'
Generally speaking, it works by connecting to the control port and running various commands to check the health of the server. You would either drop it on the Tor box and run it with NRPE, or on the monitoring server and open your control port to that IP.
So far I've implemented / plan to implement the following checks:
* Fetch a page through the socks port * Check if the server is hibernating * Check the current bandwidth (up and down combined) * Check the accounting values (how close to hibernation) * OR / Dir port reachable
It's in a very early stage at the moment, but I'm posting here now to ask: Are there any other checks relay operators would want to see implemented?
You can check out the code so far at https://github.com/goodvikings/tor_nagios/
Cheers
Ramo
ramo@goodvikings.com:
I've recently started on developing a nagios plugin for tor, since a cursory google search didn't come up with anything I would describe as 'comprehensive.'
Please have a look at check_tor.py: http://anonscm.debian.org/gitweb/?p=users/lunar/check_tor.git;a=blob;f=READM...
It looks quite complementary with your probe.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Yeah I was aware of that, but it's functionality left a lot to be desired in my opinion. As I mentioned the goal is to implement a whole bunch of checks that you can get from the control port, as opposed to only checking if connections can be made.
Not that I can blame you for wanting to plug your own version of what I'm trying to do - assuming that you're both lunar@torproject.org and lunar@debian.org :)
Cheers
Ramo
On Sun, Mar 02, 2014 at 02:21:45PM +0100, Lunar wrote:
ramo@goodvikings.com:
I've recently started on developing a nagios plugin for tor, since a cursory google search didn't come up with anything I would describe as 'comprehensive.'
Please have a look at check_tor.py: http://anonscm.debian.org/gitweb/?p=users/lunar/check_tor.git;a=blob;f=READM...
It looks quite complementary with your probe.
-- Lunar lunar@torproject.org
tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
tor-relays@lists.torproject.org