[tor-onions] Onion Service Monitoring

shadow shadow at systemli.org
Tue Dec 31 17:15:05 UTC 2019


Thank you for your answers,

I will checkout the different solutions and see what fits for my usecase.

Alecs piece of software was a good first starting point for and shows
that it is a complexer problem.

I hope you all are doing well and have a happy new year,

shadow

On 28.12.19 17:50, shadow wrote:
> Dear fellow Onion Service operators,
> 
> I'm curios how you monitor the availability of your onion services?
> 
> I implemented a solution with icinga2 check commands. It basically
> queries the onion service via torsocks and check_tcp command [1].
> 
>>
>> object CheckCommand "check_tor_onion" {
>>   command = [ "torsocks", PluginDir + "/check_tcp" ]
>>   timeout = 6m
>>   arguments = {
>>     "-H" = "$hostname$"
>>     "-p" = "$port$"
>>     "-t" = "$timeout$"
>>   }
>> }
> 
> This solution is kind of flaky and produces a lot of mail noise, even if
> I run it with large timeout value (360s), check attempts and retry
> intervals.
> 
> Recently I came across the tool called hsprober [2], which looks like a
> more compelling option. though it requires a prometheus setup.
> 
> Since it is a network, where connections constantly looses connections,
> I would like to know how you treat this flakyness. Regardless of which
> software stack you use, I'm interested in your concept for monitoring
> your onion services from the outside (user side) and from the inside
> (server side). And also which tools do you use.
> 
> Thank you for any answers and opinions. Have a happy new year.
> 
> shadow
> 
> 
> [1] - https://www.monitoring-plugins.org/doc/man/check_tcp.html
> [2] - https://git.autistici.org/ale/hsprober
> 
> 
> 
> _______________________________________________
> tor-onions mailing list
> tor-onions at lists.torproject.org
> https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-onions
> 

-- 
best regards | viele Gruesse, shadow at systemli.org

receive my key:
gpg --keyserver zimmermann.mayfirst.org --recv-keys 0x5C6B6ED4248C1F32


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.torproject.org/pipermail/tor-onions/attachments/20191231/25896ae7/attachment.sig>


More information about the tor-onions mailing list