
This post contains references to outdated APIs.
Please read the following for the new APIs: New API for gateway mapping, status and info
You’d also need to monitor the number of uplinks, if your gateway happens to suffer:
Without the need for any authentication, you can also get those details from an URL such as http://noc.thethingsnetwork.org:8085/api/v2/gateways/your-gateway-id-here
For my TTN gateway I’m monitoring the UART output; see Raspberry Pi to monitor serial output of a node or TNN Gateway, and alert on Slack or Telegram.
(I’m currently also testing a little enhancement to get some statistics out of that; will release a new version this week I guess.)
1 Like