Certain network router operating systems can be configured to send regular HTTP(S) requests to "Checks Uxen" directly from the router. This is a handy way to monitor them: when the router loses its WAN connection, it will not be able to ping "Checks Uxen", and "Checks Uxen" will notify you about the outage.
DD-WRT is a Linux-based firmware for routers that runs on wide variety of router models. DD-WRT ships with a cron daemon and wget utility. You can enable the cron daemon and edit crontab in DD-WRT control panel, Administration › Management › Cron.
The crontab syntax on DD-WRT is:
[cron expression] [username] [command]
Example for sending a ping every minute:
* * * * * root wget "https://healthchecks.uxen.web.oxv.fr"/ping/your-uuid-here
Screenshot:
MikroTik RouterOS is a router operating system used primarily on MikroTik network hardware. Among its many features is scripting support and a scheduler.
First, create a script in WebFig, System › Scripts › Add New. Use the following parameters:
ping
(example, you can use a different name)read
, test
/tool fetch url=""https://healthchecks.uxen.web.oxv.fr"/ping/your-uuid-here" output=none
Then, create a schedule in WebFig, System › Scheduler › Add New. Use parameters:
00:01:00
(one minute)read
, test
ping
(the name of the script from the previous step)Notes:
output=none
parameter tells the system to discard response body. Without
this parameter, the system will save response body to a file, which will additionally
require the write
policy.check-certificate=yes
parameter to require a valid TLS
certificate. Note that RouterOS ships with no root CA certificates, so you will
also need to load these.