Monitoring ngrok tunnel
Marcin Deka <[email protected]>
| Newsgroups | gmane.comp.monitoring.monit.general |
|---|---|
| Message-ID | <[email protected]> |
Hi, Can someone advise how I can monitor tunnel created with ngrok (running as a daemon)? I would like to reestablish tunnel if existing one is stoped and send alert including new tunnel parameters (there is a TCP port number change while tunel is being created). I’m using below command to see tunnel details: curl --silent http://127.0.0.1:4040/api/tunnels/ssh | jq '.public_url’ It gives a response like below, where XXXXX ia a TCP port number: "tcp://0.tcp.eu.ngrok.io:XXXXX" Will appreciate your help! Best regards, Marcin -- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general