Hi Folks,
I’m being driven mad with this one.
I’ve set up my Grafana instance to get data from the Blackbox Exporter to probe some external domains.
Using this, I’ve set up a basic Slack notification for downtime alerts. Blackbox handily also includes the HTTP status code.
I’ve got the alert triggering on probe_success - Which returns a 0 or 1 depending. This is fine, but what I’m trying to do is include a second query in my alert which pulls the actual http response.
However, when I try to get the value for the second query in my alert it simply isn’t there.
My notification message. as added via the Alert Rule config section looks like the below:
But the lack notification looks like this:
Looking at the map[ ] values, it looks like B isn’t anywhere to be found.
So, the question is this, what on earth have I done wrong here?!