Grafana dashboard: Status Page
Description: Keep an eye on running services and missing processes.

I'm using collectd, influxdb and grafana to keep an eye on my (non) running processes.

Detailed information are available on https://wp.me/p5OPDy-zbb

{
  "__inputs": [
    {
      "name": "DS_COLLECTD_@ INFLUXDB",
      "label": "collectd @ InfluxDB",
      "description": "Use Collectd \"processes\" plugin to get metrics.",
      "type": "datasource",
      "pluginId": "influxdb",
      "pluginName": "InfluxDB"
    }
  ],
  "__requires": [
    {
      "type": "panel",
      "id": "flant-statusmap-panel",
      "name": "Statusmap",
      "version": "0.2.0"
    },
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "7.0.1"
    },
    {
      "type": "panel",
      "id": "graph",
      "name": "Graph",
      "version": ""
    },
    {
      "type": "datasource",
      "id": "influxdb",
      "name": "InfluxDB",
      "version": "1.0.0"
    },
    {
      "type": "panel",
      "id": "stat",
      "name": "Stat",
      "version": ""
    },
    {
      "type": "panel",
      "id": "table",
      "name": "Table",
      "version": ""
    },
    {
      "type": "panel",
      "id": "yesoreyeram-boomtable-panel",
      "name": "Boom Table",
      "version": "1.3.0"
    }
  ],
  "annotations": {
    "list": [
      {
        "$$hashKey": "object:2005",
        "builtIn": 1,
        "datasource": "-- Grafana --",
        "enable": true,
        "hide": true,
        "iconColor": "rgba(0, 211, 255, 1)",
        "name": "Annotations & Alerts",
        "type": "dashboard"
      }
    ]
  },
  "editable": true,
  "gnetId": 12552,
  "graphTooltip": 0,
  "id": null,
  "iteration": 1593506687993,
  "links": [],
  "panels": [
    {
      "datasource": "${DS_COLLECTD_@ INFLUXDB}",
      "fieldConfig": {
        "defaults": {
          "custom": {
            "align": null
          },
          "mappings": [
            {
              "from": "",
              "id": 0,
              "operator": "",
              "text": "Alert",
              "to": "",
              "type": 1,
              "value": "0"
            },
            {
              "from": "1",
              "id": 1,
              "operator": "",
              "text": "Ok",
              "to": "1024",
              "type": 2,
              "value": "1"
            }
          ],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "red",
                "value": null
              },
              {
                "color": "green",
                "value": 1
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 4,
        "w": 5,
        "x": 0,
        "y": 0
      },
      "id": 29,
      "options": {
        "colorMode": "background",
        "graphMode": "none",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "values": false
        }
      },
      "pluginVersion": "7.0.1",
      "targets": [
        {
          "alias": "",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "processes_processes",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT min(\"value\") FROM \"processes_processes\" WHERE (\"host\" =~ /^$host$/ AND \"instance\" =~ /^$instance$/ AND \"type\" = 'ps_count') AND $timeFilter GROUP BY time(1m) fill(null)",
          "rawQuery": false,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "min"
              }
            ]
          ],
          "tags": [
            {
              "key": "host",
              "operator": "=~",
              "value": "/^$host$/"
            },
            {
              "condition": "AND",
              "key": "instance",
              "operator": "=~",
              "value": "/^$instance$/"
            },
            {
              "condition": "AND",
              "key": "type",
              "operator": "=",
              "value": "ps_count"
            }
          ]
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Global Status",
      "type": "stat"
    },
    {
      "datasource": "${DS_COLLECTD_@ INFLUXDB}",
      "fieldConfig": {
        "defaults": {
          "custom": {
            "align": null
          },
          "mappings": [],
          "noValue": "None",
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "orange",
                "value": 1
              },
              {
                "color": "red",
                "value": 2
              }
            ]
          },
          "unit": "short"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 4,
        "w": 4,
        "x": 5,
        "y": 0
      },
      "id": 40,
      "options": {
        "colorMode": "value",
        "graphMode": "none",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "last"
          ],
          "values": false
        }
      },
      "pluginVersion": "7.0.1",
      "targets": [
        {
          "alias": "",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "processes_processes",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT count(\"value\") FROM \"processes_processes\" WHERE (\"host\" =~ /^$host$/ AND \"instance\" =~ /^$instance$/ AND \"type\" = 'ps_count') AND \"value\" = 0 AND $timeFilter GROUP BY time($__interval) fill(null)",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "min"
              }
            ]
          ],
          "tags": [
            {
              "key": "host",
              "operator": "=~",
              "value": "/^$host$/"
            },
            {
              "condition": "AND",
              "key": "instance",
              "operator": "=~",
              "value": "/^$instance$/"
            },
            {
              "condition": "AND",
              "key": "type",
              "operator": "=",
              "value": "ps_count"
            }
          ]
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Current Alert(s)",
      "type": "stat"
    },
    {
      "datasource": "${DS_COLLECTD_@ INFLUXDB}",
      "description": "",
      "fieldConfig": {
        "defaults": {
          "custom": {
            "align": null
          },
          "decimals": 3,
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "red",
                "value": null
              },
              {
                "color": "orange",
                "value": 98
              },
              {
                "color": "green",
                "value": 99
              }
            ]
          },
          "unit": "percent"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 4,
        "w": 5,
        "x": 9,
        "y": 0
      },
      "id": 34,
      "options": {
        "colorMode": "background",
        "graphMode": "none",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "values": false
        }
      },
      "pluginVersion": "7.0.1",
      "targets": [
        {
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT sum(\"value\") * 100 / count(\"value\") FROM (SELECT (\"value\" / \"value\") AS \"value\" FROM \"processes_processes\" WHERE \"host\"=~/^$host$/ AND \"instance\" =~ /^$instance$/ AND $timeFilter)",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": []
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Global Availability",
      "type": "stat"
    },
    {
      "datasource": "${DS_COLLECTD_@ INFLUXDB}",
      "fieldConfig": {
        "defaults": {
          "custom": {
            "align": null
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "#ffffff",
                "value": null
              }
            ]
          },
          "unit": "short"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 4,
        "w": 5,
        "x": 14,
        "y": 0
      },
      "id": 35,
      "options": {
        "colorMode": "value",
        "graphMode": "none",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "values": false
        }
      },
      "pluginVersion": "7.0.1",
      "targets": [
        {
          "alias": "",
          "groupBy": [
            {
              "params": [
                "1m"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "processes_processes",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT count(\"value\") FROM (\n  SELECT last(\"value\") AS \"value\" FROM \"processes_processes\" WHERE (\"host\" =~ /^$host$/ AND \"instance\" =~ /^$instance$/ AND \"type\" = 'ps_count') AND $timeFilter GROUP BY host fill(null)\n)",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "min"
              }
            ]
          ],
          "tags": [
            {
              "key": "host",
              "operator": "=~",
              "value": "/^$host$/"
            },
            {
              "condition": "AND",
              "key": "instance",
              "operator": "=~",
              "value": "/^$instance$/"
            },
            {
              "condition": "AND",
              "key": "type",
              "operator": "=",
              "value": "ps_count"
            }
          ]
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Monitored hosts",
      "type": "stat"
    },
    {
      "datasource": "${DS_COLLECTD_@ INFLUXDB}",
      "fieldConfig": {
        "defaults": {
          "custom": {
            "align": null
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "#ffffff",
                "value": null
              }
            ]
          },
          "unit": "short"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 4,
        "w": 5,
        "x": 19,
        "y": 0
      },
      "id": 36,
      "options": {
        "colorMode": "value",
        "graphMode": "none",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "values": false
        }
      },
      "pluginVersion": "7.0.1",
      "targets": [
        {
          "alias": "",
          "groupBy": [
            {
              "params": [
                "1m"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "processes_processes",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT count(\"value\") FROM (\n  SELECT last(\"value\") AS \"value\" FROM \"processes_processes\" WHERE (\"host\" =~ /^$host$/ AND \"instance\" =~ /^$instance$/ AND \"type\" = 'ps_count') AND $timeFilter GROUP BY instance fill(null)\n)",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "min"
              }
            ]
          ],
          "tags": [
            {
              "key": "host",
              "operator": "=~",
              "value": "/^$host$/"
            },
            {
              "condition": "AND",
              "key": "instance",
              "operator": "=~",
              "value": "/^$instance$/"
            },
            {
              "condition": "AND",
              "key": "type",
              "operator": "=",
              "value": "ps_count"
            }
          ]
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Monitored services",
      "type": "stat"
    },
    {
      "aliasColors": {
        "Alert raised": "red",
        "Raised alert(s)": "red",
        "processes_processes.count": "red"
      },
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_COLLECTD_@ INFLUXDB}",
      "description": "",
      "fieldConfig": {
        "defaults": {
          "custom": {}
        },
        "overrides": []
      },
      "fill": 0,
      "fillGradient": 0,
      "gridPos": {
        "h": 8,
        "w": 14,
        "x": 0,
        "y": 4
      },
      "hiddenSeries": false,
      "id": 33,
      "legend": {
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "show": false,
        "total": false,
        "values": false
      },
      "lines": false,
      "linewidth": 1,
      "nullPointMode": "null",
      "options": {
        "dataLinks": []
      },
      "percentage": false,
      "pointradius": 5,
      "points": true,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "",
          "groupBy": [
            {
              "params": [
                "1m"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "hide": false,
          "measurement": "processes_processes",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT count(\"value\") FROM \"processes_processes\" WHERE (\"host\" =~ /^$host$/ AND \"instance\" =~ /^$instance$/ AND \"type\" = 'ps_count') AND \"value\" = 0 AND $timeFilter GROUP BY time($__interval) fill(none)",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "min"
              }
            ]
          ],
          "tags": [
            {
              "key": "host",
              "operator": "=~",
              "value": "/^$host$/"
            },
            {
              "condition": "AND",
              "key": "instance",
              "operator": "=~",
              "value": "/^$instance$/"
            },
            {
              "condition": "AND",
              "key": "type",
              "operator": "=",
              "value": "ps_count"
            }
          ]
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Raised Alert(s)",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "$$hashKey": "object:80",
          "decimals": 0,
          "format": "short",
          "label": "",
          "logBase": 1,
          "max": null,
          "min": "0",
          "show": true
        },
        {
          "$$hashKey": "object:81",
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "datasource": "${DS_COLLECTD_@ INFLUXDB}",
      "fieldConfig": {
        "defaults": {
          "custom": {
            "align": "center"
          },
          "mappings": [
            {
              "from": "1",
              "id": 0,
              "operator": "",
              "text": "alert triggered",
              "to": "1024",
              "type": 1,
              "value": "0"
            }
          ],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 8,
        "w": 10,
        "x": 14,
        "y": 4
      },
      "id": 39,
      "options": {
        "showHeader": false,
        "sortBy": [
          {
            "desc": true,
            "displayName": "Time"
          }
        ]
      },
      "pluginVersion": "7.0.1",
      "targets": [
        {
          "alias": "",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "host"
              ],
              "type": "tag"
            },
            {
              "params": [
                "instance"
              ],
              "type": "tag"
            },
            {
              "params": [
                "none"
              ],
              "type": "fill"
            }
          ],
          "measurement": "processes_processes",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT min(\"value\") AS \"number\" FROM \"processes_processes\" WHERE (\"host\" =~ /^$host$/ AND \"instance\" =~ /^$instance$/) AND \"value\" = 0 AND $timeFilter GROUP BY time($__interval), \"host\", \"instance\" fill(none)",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "table",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "min"
              },
              {
                "params": [
                  "number"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "host",
              "operator": "=~",
              "value": "/^$host$/"
            },
            {
              "condition": "AND",
              "key": "instance",
              "operator": "=~",
              "value": "/^$instance$/"
            }
          ]
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Last events",
      "type": "table"
    },
    {
      "collapsed": true,
      "datasource": "${DS_COLLECTD_@ INFLUXDB}",
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 12
      },
      "id": 48,
      "panels": [
        {
          "activePatternIndex": 0,
          "datasource": "${DS_COLLECTD_@ INFLUXDB}",
          "debug_mode": false,
          "defaultPattern": {
            "bgColors": "green|orange|red",
            "bgColors_overrides": "0->green|2->red|1->yellow",
            "clickable_cells_link": "",
            "col_name": "Value",
            "decimals": 2,
            "defaultBGColor": "",
            "defaultTextColor": "",
            "delimiter": ".",
            "displayTemplate": "_value_",
            "enable_bgColor": false,
            "enable_bgColor_overrides": false,
            "enable_clickable_cells": false,
            "enable_textColor": false,
            "enable_textColor_overrides": false,
            "enable_time_based_thresholds": false,
            "enable_transform": false,
            "enable_transform_overrides": false,
            "filter": {
              "value_above": "",
              "value_below": ""
            },
            "format": "none",
            "name": "Default Pattern",
            "null_color": "darkred",
            "null_textcolor": "black",
            "null_value": "No data",
            "pattern": "*",
            "row_col_wrapper": "_",
            "row_name": "_series_",
            "textColors": "red|orange|green",
            "textColors_overrides": "0->red|2->green|1->yellow",
            "thresholds": "70,90",
            "time_based_thresholds": [],
            "tooltipTemplate": "Series : _series_ <br/>Row Name : _row_name_ <br/>Col Name : _col_name_ <br/>Value : _value_",
            "transform_values": "_value_|_value_|_value_",
            "transform_values_overrides": "0->down|1->up",
            "valueName": "avg"
          },
          "default_title_for_rows": "",
          "fieldConfig": {
            "defaults": {
              "custom": {}
            },
            "overrides": []
          },
          "gridPos": {
            "h": 6,
            "w": 24,
            "x": 0,
            "y": 13
          },
          "id": 44,
          "non_matching_cells_color_text": "black",
          "non_matching_cells_text": "n/a",
          "patterns": [
            {
              "bgColors": "red|orange|green",
              "bgColors_overrides": "0->green|2->red|1->yellow",
              "clickable_cells_link": "",
              "col_name": "_2_",
              "decimals": "0",
              "defaultBGColor": "",
              "defaultTextColor": "",
              "delimiter": ":",
              "displayTemplate": "_value_",
              "enable_bgColor": true,
              "enable_bgColor_overrides": false,
              "enable_clickable_cells": false,
              "enable_textColor": false,
              "enable_textColor_overrides": false,
              "enable_time_based_thresholds": false,
              "enable_transform": true,
              "enable_transform_overrides": false,
              "filter": {
                "value_above": "",
                "value_below": ""
              },
              "format": "none",
              "name": "Status",
              "null_color": "darkred",
              "null_textcolor": "black",
              "null_value": "No data",
              "pattern": "^status:.*$",
              "row_col_wrapper": "_",
              "row_name": "_1_",
              "textColors": "",
              "textColors_overrides": "0->red|2->green|1->yellow",
              "thresholds": "0,1",
              "time_based_thresholds": [],
              "tooltipTemplate": "Series : _series_ <br/>Row Name : _row_name_ <br/>Col Name : _col_name_ <br/>Value : _value_",
              "transform_values": "n/a|Alert|Ok",
              "transform_values_overrides": "0->down|1->up",
              "valueName": "current"
            }
          ],
          "row_col_wrapper": "_",
          "sorting_props": {
            "col_index": -1,
            "direction": "desc"
          },
          "targets": [
            {
              "alias": "status:$tag_host:$tag_instance",
              "groupBy": [
                {
                  "params": [
                    "$__interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "host"
                  ],
                  "type": "tag"
                },
                {
                  "params": [
                    "instance"
                  ],
                  "type": "tag"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "measurement": "processes_processes",
              "orderByTime": "ASC",
              "policy": "default",
              "query": "SELECT last(\"value\") FROM \"processes_processes\" WHERE (\"host\" =~ /^$host$/ AND \"instance\" =~ /^$instance$/ AND \"type\" = 'ps_count') AND $timeFilter GROUP BY time($__interval), \"host\", \"instance\" fill(null)",
              "rawQuery": false,
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "last"
                  }
                ]
              ],
              "tags": [
                {
                  "key": "host",
                  "operator": "=~",
                  "value": "/^$host$/"
                },
                {
                  "condition": "AND",
                  "key": "instance",
                  "operator": "=~",
                  "value": "/^$instance$/"
                },
                {
                  "condition": "AND",
                  "key": "type",
                  "operator": "=",
                  "value": "ps_count"
                }
              ]
            }
          ],
          "text_alignment_firstcolumn": "left",
          "text_alignment_header": "center",
          "text_alignment_values": "center",
          "timeFrom": null,
          "timeShift": null,
          "title": "",
          "type": "yesoreyeram-boomtable-panel"
        }
      ],
      "title": "Global Services Status",
      "type": "row"
    },
    {
      "collapsed": true,
      "datasource": "${DS_COLLECTD_@ INFLUXDB}",
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 13
      },
      "id": 42,
      "panels": [
        {
          "cards": {
            "cardHSpacing": 2,
            "cardMinWidth": 5,
            "cardRound": null,
            "cardVSpacing": 2
          },
          "color": {
            "cardColor": "#b4ff00",
            "colorScale": "linear",
            "colorScheme": "interpolateGnYlRd",
            "defaultColor": "#757575",
            "exponent": 0.5,
            "max": 1,
            "min": 0,
            "mode": "spectrum",
            "thresholds": []
          },
          "data": {
            "decimals": null,
            "unitFormat": "short"
          },
          "datasource": "${DS_COLLECTD_@ INFLUXDB}",
          "fieldConfig": {
            "defaults": {
              "custom": {},
              "decimals": 0,
              "mappings": [
                {
                  "from": "",
                  "id": 0,
                  "operator": "",
                  "text": "Ok",
                  "to": "",
                  "type": 1,
                  "value": "0"
                },
                {
                  "from": "",
                  "id": 1,
                  "operator": "",
                  "text": "Warning",
                  "to": "",
                  "type": 1,
                  "value": "1"
                },
                {
                  "from": "",
                  "id": 2,
                  "operator": "",
                  "text": "Alert",
                  "to": "",
                  "type": 1,
                  "value": "2"
                }
              ],
              "max": 3,
              "min": -1,
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  },
                  {
                    "color": "orange",
                    "value": 1
                  },
                  {
                    "color": "red",
                    "value": 2
                  }
                ]
              }
            },
            "overrides": []
          },
          "gridPos": {
            "h": 15,
            "w": 24,
            "x": 0,
            "y": 14
          },
          "highlightCards": true,
          "id": 37,
          "legend": {
            "show": false
          },
          "nullPointMode": "as empty",
          "pluginVersion": "7.0.1",
          "targets": [
            {
              "alias": "$tag_host: $tag_instance",
              "groupBy": [
                {
                  "params": [
                    "$__interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "host"
                  ],
                  "type": "tag"
                },
                {
                  "params": [
                    "instance"
                  ],
                  "type": "tag"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "measurement": "processes_processes",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "min"
                  }
                ]
              ],
              "tags": [
                {
                  "key": "host",
                  "operator": "=~",
                  "value": "/^$host$/"
                },
                {
                  "condition": "AND",
                  "key": "instance",
                  "operator": "=~",
                  "value": "/^$instance$/"
                },
                {
                  "condition": "AND",
                  "key": "type",
                  "operator": "=",
                  "value": "ps_count"
                }
              ]
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "",
          "tooltip": {
            "show": true
          },
          "type": "flant-statusmap-panel",
          "useMax": false,
          "xAxis": {
            "labelFormat": "%a %m/%d",
            "minBucketWidthToShowWeekends": 4,
            "show": true,
            "showCrosshair": true,
            "showWeekends": true
          },
          "yAxis": {
            "show": true,
            "showCrosshair": false
          },
          "yAxisSort": "a → z"
        }
      ],
      "title": "Status History",
      "type": "row"
    }
  ],
  "refresh": "1m",
  "schemaVersion": 25,
  "style": "dark",
  "tags": [
    "collectd",
    "influxdb"
  ],
  "templating": {
    "list": [
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_COLLECTD_@ INFLUXDB}",
        "definition": "SHOW TAG VALUES FROM \"processes_processes\" WITH KEY = \"host\"",
        "hide": 0,
        "includeAll": true,
        "label": "Hostname",
        "multi": true,
        "name": "host",
        "options": [],
        "query": "SHOW TAG VALUES FROM \"processes_processes\" WITH KEY = \"host\"",
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "sort": 1,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_COLLECTD_@ INFLUXDB}",
        "definition": "SHOW TAG VALUES FROM \"processes_processes\" WITH KEY = \"instance\" WHERE \"host\"=~/^$host$/",
        "hide": 0,
        "includeAll": true,
        "label": "Service",
        "multi": true,
        "name": "instance",
        "options": [],
        "query": "SHOW TAG VALUES FROM \"processes_processes\" WITH KEY = \"instance\" WHERE \"host\"=~/^$host$/",
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "sort": 1,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      }
    ]
  },
  "time": {
    "from": "now-24h",
    "to": "now"
  },
  "timepicker": {
    "refresh_intervals": [
      "10s",
      "30s",
      "1m",
      "5m",
      "15m",
      "30m",
      "1h",
      "2h",
      "1d"
    ]
  },
  "timezone": "",
  "title": "Status Page",
  "uid": "W3dcDjkGz",
  "version": 118,
  "description": "Keep an eye on running services and missing processes."
}