[{
  "apiVersion": "influxdata.com/v2alpha1",
  "kind": "CheckDeadman",
  "metadata": {
    "name": "alarm-deadman"
  },
  "spec": {
    "description": "Data has not been received from Telegraf for an extended period.",
    "every": "1m0s",
    "level": "CRIT",
    "name": "Telegraf Data Outage",
    "query": "from(bucket: \"telegraf/so_short_term\")\n  |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\n  |> filter(fn: (r) => r[\"_measurement\"] == \"cpu\")\n  |> filter(fn: (r) => r[\"_field\"] == \"usage_idle\")\n  |> filter(fn: (r) => r[\"cpu\"] == \"cpu-total\")",
    "staleTime": "15m0s",
    "status": "active",
    "statusMessageTemplate": "Check: ${ r._check_name } is: ${ r._level }",
    "timeSince": "2m0s"
  }
}]