Hi all I have configured alerts related to a graph. Notifications are sent through email and Telegram: wonderful!
My Alert condition sets the Alert to NO-DATA if there are no data for a specific measurement in the last hour.
I’d expect that I receive another notification when the Alert condition is not verified anymore. So that it “closes” the Alert.
But I never receive a notification, and the Alert is still in condition NO-DATA even if data are present in that specific measurement. Can you help me?
Thanks @torkel you have pointed me in the right direction
I have tested the rule and I got “no data”. So I raised the log_level to “debug” and I got that the ‘$hostname’ in the query A of the graph has not been translated so the query to influxdb is:
For testing purposes I can create a dashboard for the specific hostname avoiding to put it in the template, but what about alerts running on multiple values of a template variable? Have you planned something for them?
There is currently no support for template variables in alerting. See this feature request. Unfortunately it is technically difficult to implement in a consistent way and difficult to implement visually.
thank you all guys, if I have something to say I will add to the feature request (how long!!! oh my god!). Shoud I mark the thread as solved or somewhat else?