Grafana dashboard: Icinga2 Overview
Description: Icinga Overview of Services and Hosts

Shows Up/Down/Pending Hosts of the last 5 minutes.

Shows Critical/Warning/Unkown/Pending Services of the last 5 minutes.

{
  "__inputs": [
    {
      "name": "DS_GRAPHITE",
      "label": "graphite",
      "description": "Graphite",
      "type": "datasource",
      "pluginId": "graphite",
      "pluginName": "Graphite"
    },
    {
      "name": "VAR_ICINGA_MASTER",
      "type": "constant",
      "label": "icinga_master",
      "value": "",
      "description": "Graphite name of Icinga node"
    }
  ],
  "__requires": [
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "5.0.0"
    },
    {
      "type": "panel",
      "id": "grafana-clock-panel",
      "name": "Clock",
      "version": "0.0.9"
    },
    {
      "type": "datasource",
      "id": "graphite",
      "name": "Graphite",
      "version": "5.0.0"
    },
    {
      "type": "panel",
      "id": "singlestat",
      "name": "Singlestat",
      "version": "5.0.0"
    }
  ],
  "editable": true,
  "gnetId": 5009,
  "graphTooltip": 0,
  "id": null,
  "iteration": 1520542967871,
  "links": [],
  "panels": [
    {
      "bgColor": null,
      "clockType": "24 hour",
      "countdownSettings": {
        "endCountdownTime": "2017-12-09T09:11:00.000Z",
        "endText": "00:00:00"
      },
      "dateSettings": {
        "dateFormat": "YYYY-MM-DD",
        "fontSize": "40px",
        "fontWeight": "normal",
        "showDate": true
      },
      "gridPos": {
        "h": 7,
        "w": 24,
        "x": 0,
        "y": 0
      },
      "id": 11,
      "links": [],
      "mode": "time",
      "offsetFromUtc": null,
      "offsetFromUtcMinutes": "",
      "timeSettings": {
        "customFormat": "HH:mm:ss",
        "fontSize": "120px",
        "fontWeight": "normal"
      },
      "title": "Time",
      "transparent": true,
      "type": "grafana-clock-panel"
    },
    {
      "cacheTimeout": null,
      "colorBackground": true,
      "colorValue": false,
      "colors": [
        "rgba(200, 0, 0, 1)",
        "rgba(255,140,0, 1)",
        "rgba(0, 150, 0, 1)"
      ],
      "datasource": "${DS_GRAPHITE}",
      "format": "none",
      "gauge": {
        "maxValue": 100,
        "minValue": 0,
        "show": false,
        "thresholdLabels": false,
        "thresholdMarkers": true
      },
      "gridPos": {
        "h": 4,
        "w": 8,
        "x": 0,
        "y": 7
      },
      "hideTimeOverride": false,
      "id": 1,
      "interval": null,
      "links": [],
      "mappingType": 1,
      "mappingTypes": [
        {
          "name": "value to text",
          "value": 1
        },
        {
          "name": "range to text",
          "value": 2
        }
      ],
      "maxDataPoints": 100,
      "nullPointMode": "connected",
      "nullText": null,
      "postfix": "",
      "postfixFontSize": "50%",
      "prefix": "",
      "prefixFontSize": "50%",
      "rangeMaps": [
        {
          "from": "null",
          "text": "N/A",
          "to": "null"
        }
      ],
      "tableColumn": "",
      "targets": [
        {
          "refId": "A",
          "target": "icinga2.$icinga_master.services.icinga.*.perfdata.num_hosts_up.*"
        }
      ],
      "thresholds": "1,2",
      "timeFrom": null,
      "title": "Hosts Up",
      "transparent": false,
      "type": "singlestat",
      "valueFontSize": "200%",
      "valueMaps": [
        {
          "op": "=",
          "text": "N/A",
          "value": "null"
        }
      ],
      "valueName": "avg"
    },
    {
      "cacheTimeout": null,
      "colorBackground": true,
      "colorValue": false,
      "colors": [
        "rgba(0, 150, 0, 1)",
        "rgba(200, 0, 0, 1)",
        "rgba(200, 0, 0, 1)"
      ],
      "datasource": "${DS_GRAPHITE}",
      "format": "none",
      "gauge": {
        "maxValue": 100,
        "minValue": 0,
        "show": false,
        "thresholdLabels": false,
        "thresholdMarkers": true
      },
      "gridPos": {
        "h": 4,
        "w": 8,
        "x": 8,
        "y": 7
      },
      "id": 9,
      "interval": null,
      "links": [],
      "mappingType": 1,
      "mappingTypes": [
        {
          "name": "value to text",
          "value": 1
        },
        {
          "name": "range to text",
          "value": 2
        }
      ],
      "maxDataPoints": 100,
      "nullPointMode": "connected",
      "nullText": null,
      "postfix": "",
      "postfixFontSize": "50%",
      "prefix": "",
      "prefixFontSize": "50%",
      "rangeMaps": [
        {
          "from": "null",
          "text": "N/A",
          "to": "null"
        }
      ],
      "tableColumn": "",
      "targets": [
        {
          "refId": "A",
          "target": "icinga2.$icinga_master.services.icinga.*.perfdata.num_hosts_down.*"
        }
      ],
      "thresholds": "1,2",
      "title": "Hosts Down",
      "type": "singlestat",
      "valueFontSize": "200%",
      "valueMaps": [
        {
          "op": "=",
          "text": "N/A",
          "value": "null"
        }
      ],
      "valueName": "avg"
    },
    {
      "cacheTimeout": null,
      "colorBackground": true,
      "colorValue": false,
      "colors": [
        "rgba(0, 150, 0, 1)",
        "rgba(0, 100, 200, 1)",
        "rgba(0, 100, 200, 1)"
      ],
      "datasource": "${DS_GRAPHITE}",
      "format": "none",
      "gauge": {
        "maxValue": 100,
        "minValue": 0,
        "show": false,
        "thresholdLabels": false,
        "thresholdMarkers": true
      },
      "gridPos": {
        "h": 4,
        "w": 8,
        "x": 16,
        "y": 7
      },
      "id": 10,
      "interval": null,
      "links": [],
      "mappingType": 1,
      "mappingTypes": [
        {
          "name": "value to text",
          "value": 1
        },
        {
          "name": "range to text",
          "value": 2
        }
      ],
      "maxDataPoints": 100,
      "nullPointMode": "connected",
      "nullText": null,
      "postfix": "",
      "postfixFontSize": "50%",
      "prefix": "",
      "prefixFontSize": "50%",
      "rangeMaps": [
        {
          "from": "null",
          "text": "N/A",
          "to": "null"
        }
      ],
      "tableColumn": "",
      "targets": [
        {
          "refId": "A",
          "target": "icinga2.$icinga_master.services.icinga.*.perfdata.num_hosts_pending.*"
        }
      ],
      "thresholds": "1,2",
      "title": "Hosts Pending",
      "type": "singlestat",
      "valueFontSize": "200%",
      "valueMaps": [
        {
          "op": "=",
          "text": "N/A",
          "value": "null"
        }
      ],
      "valueName": "avg"
    },
    {
      "cacheTimeout": null,
      "colorBackground": true,
      "colorValue": false,
      "colors": [
        "rgba(0, 150, 0, 1)",
        "rgba(200, 0, 0, 1)",
        "rgba(200, 0, 0, 1)"
      ],
      "datasource": "${DS_GRAPHITE}",
      "format": "none",
      "gauge": {
        "maxValue": 100,
        "minValue": 0,
        "show": false,
        "thresholdLabels": false,
        "thresholdMarkers": false
      },
      "gridPos": {
        "h": 4,
        "w": 6,
        "x": 0,
        "y": 10
      },
      "hideTimeOverride": false,
      "id": 2,
      "interval": null,
      "links": [],
      "mappingType": 1,
      "mappingTypes": [
        {
          "name": "value to text",
          "value": 1
        },
        {
          "name": "range to text",
          "value": 2
        }
      ],
      "maxDataPoints": 100,
      "nullPointMode": "connected",
      "nullText": null,
      "postfix": "",
      "postfixFontSize": "50%",
      "prefix": "",
      "prefixFontSize": "50%",
      "rangeMaps": [
        {
          "from": "null",
          "text": "N/A",
          "to": "null"
        }
      ],
      "tableColumn": "",
      "targets": [
        {
          "refId": "A",
          "target": "icinga2.$icinga_master.services.icinga.*.perfdata.num_services_critical.value"
        }
      ],
      "thresholds": "1,2",
      "timeFrom": null,
      "title": "Critical Services",
      "type": "singlestat",
      "valueFontSize": "200%",
      "valueMaps": [
        {
          "op": "=",
          "text": "N/A",
          "value": "null"
        }
      ],
      "valueName": "max"
    },
    {
      "cacheTimeout": null,
      "colorBackground": true,
      "colorValue": false,
      "colors": [
        "rgba(0,   150, 0,1)",
        "rgba(255, 140, 0,1)",
        "rgba(255, 140, 0,1)"
      ],
      "datasource": "${DS_GRAPHITE}",
      "format": "none",
      "gauge": {
        "maxValue": 100,
        "minValue": 0,
        "show": false,
        "thresholdLabels": false,
        "thresholdMarkers": true
      },
      "gridPos": {
        "h": 4,
        "w": 6,
        "x": 6,
        "y": 10
      },
      "hideTimeOverride": false,
      "id": 3,
      "interval": null,
      "links": [],
      "mappingType": 1,
      "mappingTypes": [
        {
          "name": "value to text",
          "value": 1
        },
        {
          "name": "range to text",
          "value": 2
        }
      ],
      "maxDataPoints": 100,
      "nullPointMode": "connected",
      "nullText": null,
      "postfix": "",
      "postfixFontSize": "50%",
      "prefix": "",
      "prefixFontSize": "50%",
      "rangeMaps": [
        {
          "from": "null",
          "text": "N/A",
          "to": "null"
        }
      ],
      "tableColumn": "",
      "targets": [
        {
          "refId": "A",
          "target": "icinga2.$icinga_master.services.icinga.*.perfdata.num_services_warning.*"
        }
      ],
      "thresholds": "1,2",
      "timeFrom": null,
      "timeShift": null,
      "title": "Warning Services",
      "transparent": false,
      "type": "singlestat",
      "valueFontSize": "200%",
      "valueMaps": [
        {
          "op": "=",
          "text": "N/A",
          "value": "null"
        }
      ],
      "valueName": "max"
    },
    {
      "cacheTimeout": null,
      "colorBackground": true,
      "colorValue": false,
      "colors": [
        "rgba(0, 150, 0, 1)",
        "rgba(200, 0, 200, 1)",
        "rgba(200, 0, 200, 1)"
      ],
      "datasource": "${DS_GRAPHITE}",
      "format": "none",
      "gauge": {
        "maxValue": 100,
        "minValue": 0,
        "show": false,
        "thresholdLabels": false,
        "thresholdMarkers": true
      },
      "gridPos": {
        "h": 4,
        "w": 6,
        "x": 12,
        "y": 10
      },
      "hideTimeOverride": false,
      "id": 4,
      "interval": null,
      "links": [],
      "mappingType": 1,
      "mappingTypes": [
        {
          "name": "value to text",
          "value": 1
        },
        {
          "name": "range to text",
          "value": 2
        }
      ],
      "maxDataPoints": 100,
      "nullPointMode": "connected",
      "nullText": null,
      "postfix": "",
      "postfixFontSize": "50%",
      "prefix": "",
      "prefixFontSize": "50%",
      "rangeMaps": [
        {
          "from": "null",
          "text": "N/A",
          "to": "null"
        }
      ],
      "tableColumn": "",
      "targets": [
        {
          "refId": "A",
          "target": "icinga2.$icinga_master.services.icinga.*.perfdata.num_services_unknown.*"
        }
      ],
      "thresholds": "1,2",
      "timeFrom": null,
      "title": "Unknown Services",
      "type": "singlestat",
      "valueFontSize": "200%",
      "valueMaps": [
        {
          "op": "=",
          "text": "N/A",
          "value": "null"
        }
      ],
      "valueName": "avg"
    },
    {
      "cacheTimeout": null,
      "colorBackground": true,
      "colorValue": false,
      "colors": [
        "rgba(0, 150,   0, 1)",
        "rgba(0, 100, 200, 1)",
        "rgba(0, 100, 200, 1)"
      ],
      "datasource": "${DS_GRAPHITE}",
      "format": "none",
      "gauge": {
        "maxValue": 100,
        "minValue": 0,
        "show": false,
        "thresholdLabels": false,
        "thresholdMarkers": true
      },
      "gridPos": {
        "h": 4,
        "w": 6,
        "x": 18,
        "y": 10
      },
      "hideTimeOverride": false,
      "id": 6,
      "interval": null,
      "links": [],
      "mappingType": 1,
      "mappingTypes": [
        {
          "name": "value to text",
          "value": 1
        },
        {
          "name": "range to text",
          "value": 2
        }
      ],
      "maxDataPoints": 100,
      "nullPointMode": "connected",
      "nullText": null,
      "postfix": "",
      "postfixFontSize": "50%",
      "prefix": "",
      "prefixFontSize": "50%",
      "rangeMaps": [
        {
          "from": "null",
          "text": "N/A",
          "to": "null"
        }
      ],
      "tableColumn": "",
      "targets": [
        {
          "refId": "A",
          "target": "icinga2.$icinga_master.services.icinga.*.perfdata.num_services_pending.*"
        }
      ],
      "thresholds": "1,2",
      "timeFrom": null,
      "title": "Pending Services",
      "type": "singlestat",
      "valueFontSize": "200%",
      "valueMaps": [
        {
          "op": "=",
          "text": "N/A",
          "value": "null"
        }
      ],
      "valueName": "max"
    }
  ],
  "refresh": "1m",
  "schemaVersion": 16,
  "style": "dark",
  "tags": [
    "icinga2"
  ],
  "templating": {
    "list": [
      {
        "current": {
          "value": "${VAR_ICINGA_MASTER}",
          "text": "${VAR_ICINGA_MASTER}"
        },
        "hide": 2,
        "label": null,
        "name": "icinga_master",
        "options": [
          {
            "value": "${VAR_ICINGA_MASTER}",
            "text": "${VAR_ICINGA_MASTER}"
          }
        ],
        "query": "${VAR_ICINGA_MASTER}",
        "type": "constant"
      }
    ]
  },
  "time": {
    "from": "now-5m",
    "to": "now"
  },
  "timepicker": {
    "hidden": true,
    "refresh_intervals": [
      "1m"
    ],
    "time_options": [
      "5m"
    ]
  },
  "timezone": "Europe/Berlin",
  "title": "Icinga2 Overview",
  "uid": "000000011",
  "version": 1,
  "description": "Icinga Overview of Services and Hosts"
}