I have connected the several devices and gateway to TTN3, now I want to develop an alerting tool which could send me the alerts if I get any abnormal data from the devices/ gateway. I have developed some rules (data quality rules) for each of the devices and gateway. I know using the expose API.
for example, we can use events API to have our custom alerts for the type of events that we are looking for. As for the gateways, there is a MQTT gateway connection state which you can query every 5/10/60 mins to check if the gateway is alive or not. Now I am wondering how can I do it? Is there any guideline available for it?