japanpopla.blogg.se

Alternative to net uptime monitor
Alternative to net uptime monitor















Obviously the last one is a hack, but I found tor needs a restart once in a while. It executes /usr/lib/mon/alert.d/restartTor.sh.An email is sent to via /usr/lib/mon/alert.d/mail.alert and.If that happens, then it triggers two "alerts": First of all, we tell it to only alert once every hour, and only after 10 consecutive failures. The period section is where things get interesting. The following block says to watch this hostgroup every 5 minutes using the torsocks_http.monitor script that we created above (which just wraps the built-in http.monitor perl script). It creates a hostgroup named " torproject_onion" with the domain name = qrmfuxwgyzk5jdjz.onion. Upalert mail.alert above block is pretty self-explanatory. Hostgroup torproject_onion qrmfuxwgyzk5jdjz.onion Next, edit the main mon.cf file by adding the following lines to /etc/mon/mon.cf We override the default timeout of 30 seconds to 60 seconds.We use the -isolate argument, which tells torsocks to use stream isolation on every execution.onion domain.Ĭat > /etc/cron.d/tor-hidden-service-monitoring /usr/lib/mon/mon.d/torsocks_http.monitor Įxec /usr/bin/torsocks -isolate $/http.monitor -t 60 couple notes about the above script: Note that we use the -socks5-hostname argument to tell curl to use tor, else it wouldn't be able to reach a. Now, create a cron job to run every minute.

Alternative to net uptime monitor install#

Unless you're using TAILS or Whonix, you probably need to install tor, curl, and the package for the mail command - which can be done with the following commands Our most simple solution: just call curl from a cron job. This section will list several ways to monitor an onion service's uptime with varying complexity and features. The commands used should work on Debian 10, but may need modifications for other GNU/Linux systems. onion websites, so you get an email alert if your site goes down. This guide will enumerate some solutions for monitoring. But how? Most of the popular uptime monitoring solutions (pingdom, freshping, statuscake, etc) certainly can't monitor. onion websites so that you can discover and fix issues before your customers do. What's to prevent the darknet presence of your website from going down for weeks without you noticing? onion alias to an existing website, and you usually only check it on the clearnet. So you've just setup an Onion Service for your website, but how often do you actually check that it's working? Maybe it's a. This article will present a few simple website availability monitoring solutions for tor onion services.















Alternative to net uptime monitor