Alerts-NG show hosts/servers

  • What Grafana version and what operating system are you using?
    Grafana v8.0.6 (68fe9e3431) on RHEL8 and InfluxDB V2

  • What are you trying to achieve?
    I would like an alert to fire and be able to see the hosts in a table that it’s alerting about

  • How are you trying to achieve it?
    The following is my alert config.
    from(bucket:v.bucket)
    |> range(start:-1d)
    |> filter(fn:(r) =>
    r._measurement == “cpu” and
    r.cpu == “cpu-total” and
    r._field == “usage_idle”
    )
    |> aggregateWindow(every: 1m, fn: mean)

  • What happened?
    When it alerts it’s only shows that it’s alerting without much more info

  • What did you expect to happen?
    I would have expected a simple list of alerting devices

  • Did you follow any online instructions? If so, what is the URL?
    I just use the flux query that I use for a graph

Thanks,
Nick L

Hi @nick124

Are you using the new Unified Alerting, which is still behind a feature toggle? Or are you using the legacy alerting system?

I have not enabled the new unified AFAIK. I can if that would be needed for it to function as intended.

Currently, and probably for the next few minor versions of Grafana, you must opt-in to Unified Alerting (ngalert)

Ok, then yes I have it enabled. I added the ngalert to the config file and restarted. I didn’t realize Unified alerting is ngalert (I thought this stood for NextGen Alerting).

1 Like

yes, I hope the names coalesce into one single title soon… :+1: