TTN Gateway Down/Up Email alerts

(Akshaim) #1


I wrote a small piece of code to alert users when the gateway goes down and also when it comes back online. The script is based on ttnctl and needs postfix to send emails . Hope someone finds it helpful.


Akshai M

(Danny Engelman) #2

This is going to list mainly “Gateway is up” log lines ?

I suggest only listing something like:

Gateway was down from [startdowntime] to [enddowntimetime] ([N] minutes)