Help with DeadMan Checks

Hi all,

As I dont have the option to send alerts from Influxdb it has to be via Grafana for now - has anyone got any information on how I can use the Deadman check that is within the awesome Influxdb within Grafana - I cant seem to find any information about it - some people have said to use inputs ping but I dont seem to have the same success that the deadman would have as when telegraf service stops the info stops and the metric stays the same.

Does the deadman setup get posted into the timeseries db anywhere that I can pull?

Any help appreciated

What version of InfluxDB?

Influx 2.0 I don;t know about, but with 1.8.x and Kapacitor you can utilise the deadman function.

Influx 2.0 :face_with_raised_eyebrow:

If you’ve setup a deadman check in InfluxDB you should be able to read the results of it from the _monitoring bucket.

Open your Data Explorer tab and run this:

from(bucket: "_monitoring")
  |> range(start: v.timeRangeStart, stop: v.timeRangeStop)
  |> filter(fn: (r) => r["_measurement"] == "statuses")
  |> filter(fn: (r) => r["_type"] == "deadman")

Thats great thanks for the info it was what I was looking for, sadly for some reason I am unable to access the _monitoring bucket from Grafana, it only shows user created buckets.

I even tried to create a token to show all buckets but to no avail.

Is there a way to automatically copy the data for the deadman check from _monitoring into the normal bucket in which my case is telegraf?

Anyone have any pointers?