beepnl / ttn_gateway_status_checker

Thsi script will check the status of the listed TTN gateways and will inform you on Slack if a gateway is down.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ttn_gateway_status_checker

This script will check the status of the listed TTN gateways and will inform you on Slack if a gateway is down.

The script will notify you when a gateway is down for more then 60 seconds and when a gateway is up again.

how to use

  1. create a gateway.json file and add all TTN gateways you want to keep track on.
  2. create a slack_channel.json file and enter the Slack webhook: see https://api.slack.com/messaging/webhooks
  3. add the script to a chrontab to run it af often as you like: "python3 check_TTN_gateway_status.py"

About

Thsi script will check the status of the listed TTN gateways and will inform you on Slack if a gateway is down.


Languages

Language:Python 100.0%