Alert in Grafana using Flux language

Hi,

I have an output for one of the tag as “Normal” for value 0 and “Danger” for 1. How to write the flux query in Grafana to send SMS or alert when the value is 1.

Hello @AVVS_Sudheer

Have you tried something like this?

Also, this might help: How to create Grafana alerts with InfluxDB and the Flux query language | Grafana Labs

Hi Grant,

I have used the above one which you have provided, it is showing the message as “Test Alert sent” in alerting contact points. Here I have given my mailid for testing purpose, but I have not received the mail. Is there any other settings

Regards
Sudheer