{ "__inputs": [ { "name": "DS_ICINGA2-INFLUXDB", "label": "icinga2-influxdb", "description": "", "type": "datasource", "pluginId": "influxdb", "pluginName": "InfluxDB" } ], "__requires": [ { "type": "grafana", "id": "grafana", "name": "Grafana", "version": "4.1.1" }, { "type": "panel", "id": "graph", "name": "Graph", "version": "" }, { "type": "datasource", "id": "influxdb", "name": "InfluxDB", "version": "1.0.0" } ], "annotations": { "list": [] }, "editable": true, "gnetId": null, "graphTooltip": 0, "hideControls": false, "id": null, "links": [], "refresh": "30s", "rows": [ { "collapse": false, "height": "250px", "panels": [ { "aliasColors": {}, "bars": false, "datasource": "${DS_ICINGA2-INFLUXDB}", "fill": 1, "id": 1, "legend": { "alignAsTable": true, "avg": true, "current": true, "hideEmpty": false, "hideZero": false, "max": true, "min": true, "rightSide": false, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [ { "alias": "CRITICAL", "color": "#BF1B00", "fill": 0, "legend": false }, { "alias": "WARNING", "color": "#EAB839", "fill": 0, "legend": false }, { "alias": "pl", "color": "#0A437C", "yaxis": 2 } ], "span": 4, "stack": false, "steppedLine": false, "targets": [ { "alias": "rta", "dsType": "influxdb", "groupBy": [ { "params": [ "$interval" ], "type": "time" }, { "params": [ "none" ], "type": "fill" } ], "measurement": "ping4", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "value" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [ { "key": "hostname", "operator": "=~", "value": "/^$hostname$/" }, { "condition": "AND", "key": "metric", "operator": "=", "value": "rta" } ] }, { "alias": "pl", "dsType": "influxdb", "groupBy": [ { "params": [ "$interval" ], "type": "time" }, { "params": [ "none" ], "type": "fill" } ], "measurement": "ping4", "policy": "default", "refId": "D", "resultFormat": "time_series", "select": [ [ { "params": [ "value" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [ { "key": "hostname", "operator": "=~", "value": "/^$hostname$/" }, { "condition": "AND", "key": "metric", "operator": "=", "value": "pl" } ] }, { "alias": "CRITICAL", "dsType": "influxdb", "groupBy": [ { "params": [ "$interval" ], "type": "time" }, { "params": [ "none" ], "type": "fill" } ], "hide": true, "measurement": "ping4", "policy": "default", "refId": "B", "resultFormat": "time_series", "select": [ [ { "params": [ "crit" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [ { "key": "hostname", "operator": "=~", "value": "/^$hostname$/" }, { "condition": "AND", "key": "metric", "operator": "=", "value": "rta" } ] }, { "alias": "WARNING", "dsType": "influxdb", "groupBy": [ { "params": [ "$interval" ], "type": "time" }, { "params": [ "none" ], "type": "fill" } ], "hide": true, "measurement": "ping4", "policy": "default", "refId": "C", "resultFormat": "time_series", "select": [ [ { "params": [ "warn" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [ { "key": "hostname", "operator": "=~", "value": "/^$hostname$/" }, { "condition": "AND", "key": "metric", "operator": "=", "value": "rta" } ] } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "Ping4", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "s", "label": "rta", "logBase": 1, "max": null, "min": "0", "show": true }, { "format": "percent", "label": "pl", "logBase": 1, "max": null, "min": "0", "show": true } ] }, { "aliasColors": {}, "bars": false, "datasource": "${DS_ICINGA2-INFLUXDB}", "fill": 1, "id": 3, "legend": { "alignAsTable": true, "avg": true, "current": true, "hideEmpty": false, "hideZero": false, "max": true, "min": true, "rightSide": false, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [ { "alias": "CRITICAL", "color": "#BF1B00", "fill": 0, "legend": false }, { "alias": "WARNING", "color": "#EAB839", "fill": 0, "legend": false }, { "alias": "pl", "color": "#0A437C", "yaxis": 2 } ], "span": 4, "stack": false, "steppedLine": false, "targets": [ { "alias": "rta", "dsType": "influxdb", "groupBy": [ { "params": [ "$interval" ], "type": "time" }, { "params": [ "none" ], "type": "fill" } ], "measurement": "ping6", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "value" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [ { "key": "hostname", "operator": "=~", "value": "/^$hostname$/" }, { "condition": "AND", "key": "metric", "operator": "=", "value": "rta" } ] }, { "alias": "pl", "dsType": "influxdb", "groupBy": [ { "params": [ "$interval" ], "type": "time" }, { "params": [ "none" ], "type": "fill" } ], "measurement": "ping6", "policy": "default", "refId": "D", "resultFormat": "time_series", "select": [ [ { "params": [ "value" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [ { "key": "hostname", "operator": "=~", "value": "/^$hostname$/" }, { "condition": "AND", "key": "metric", "operator": "=", "value": "pl" } ] }, { "alias": "CRITICAL", "dsType": "influxdb", "groupBy": [ { "params": [ "$interval" ], "type": "time" }, { "params": [ "none" ], "type": "fill" } ], "hide": true, "measurement": "ping6", "policy": "default", "refId": "B", "resultFormat": "time_series", "select": [ [ { "params": [ "crit" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [ { "key": "hostname", "operator": "=~", "value": "/^$hostname$/" }, { "condition": "AND", "key": "metric", "operator": "=", "value": "rta" } ] }, { "alias": "WARNING", "dsType": "influxdb", "groupBy": [ { "params": [ "$interval" ], "type": "time" }, { "params": [ "none" ], "type": "fill" } ], "hide": true, "measurement": "ping6", "policy": "default", "refId": "C", "resultFormat": "time_series", "select": [ [ { "params": [ "warn" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [ { "key": "hostname", "operator": "=~", "value": "/^$hostname$/" }, { "condition": "AND", "key": "metric", "operator": "=", "value": "rta" } ] } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "Ping6", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "s", "label": "rta", "logBase": 1, "max": null, "min": "0", "show": true }, { "format": "percent", "label": "pl", "logBase": 1, "max": null, "min": "0", "show": true } ] }, { "aliasColors": {}, "bars": false, "datasource": "${DS_ICINGA2-INFLUXDB}", "fill": 1, "id": 9, "legend": { "alignAsTable": true, "avg": true, "current": true, "hideEmpty": false, "hideZero": false, "max": true, "min": true, "rightSide": false, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [ { "alias": "CRITICAL", "color": "#BF1B00", "fill": 0, "legend": false }, { "alias": "WARNING", "color": "#EAB839", "fill": 0, "legend": false }, { "alias": "pl", "color": "#0A437C", "yaxis": 2 } ], "span": 4, "stack": false, "steppedLine": false, "targets": [ { "alias": "rta", "dsType": "influxdb", "groupBy": [ { "params": [ "$interval" ], "type": "time" }, { "params": [ "none" ], "type": "fill" } ], "measurement": "hostalive", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "value" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [ { "key": "hostname", "operator": "=~", "value": "/^$hostname$/" }, { "condition": "AND", "key": "metric", "operator": "=", "value": "rta" } ] }, { "alias": "pl", "dsType": "influxdb", "groupBy": [ { "params": [ "$interval" ], "type": "time" }, { "params": [ "none" ], "type": "fill" } ], "measurement": "hostalive", "policy": "default", "refId": "D", "resultFormat": "time_series", "select": [ [ { "params": [ "value" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [ { "key": "hostname", "operator": "=~", "value": "/^$hostname$/" }, { "condition": "AND", "key": "metric", "operator": "=", "value": "pl" } ] }, { "alias": "CRITICAL", "dsType": "influxdb", "groupBy": [ { "params": [ "$interval" ], "type": "time" }, { "params": [ "none" ], "type": "fill" } ], "hide": true, "measurement": "hostalive", "policy": "default", "refId": "B", "resultFormat": "time_series", "select": [ [ { "params": [ "crit" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [ { "key": "hostname", "operator": "=~", "value": "/^$hostname$/" }, { "condition": "AND", "key": "metric", "operator": "=", "value": "rta" } ] }, { "alias": "WARNING", "dsType": "influxdb", "groupBy": [ { "params": [ "$interval" ], "type": "time" }, { "params": [ "none" ], "type": "fill" } ], "hide": true, "measurement": "hostalive", "policy": "default", "refId": "C", "resultFormat": "time_series", "select": [ [ { "params": [ "warn" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [ { "key": "hostname", "operator": "=~", "value": "/^$hostname$/" }, { "condition": "AND", "key": "metric", "operator": "=", "value": "rta" } ] } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "Hostalive", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "s", "label": "rta", "logBase": 1, "max": null, "min": "0", "show": true }, { "format": "percent", "label": "pl", "logBase": 1, "max": null, "min": "0", "show": true } ] } ], "repeat": null, "repeatIteration": null, "repeatRowId": null, "showTitle": false, "title": "icmp checks", "titleSize": "h6" }, { "collapse": false, "height": 250, "panels": [ { "aliasColors": {}, "bars": false, "datasource": "${DS_ICINGA2-INFLUXDB}", "fill": 1, "id": 2, "legend": { "alignAsTable": true, "avg": true, "current": true, "hideEmpty": false, "hideZero": false, "max": true, "min": true, "rightSide": false, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [ { "alias": "WARNING", "color": "#EAB839", "fill": 0, "legend": false }, { "alias": "CRITICAL", "color": "#BF1B00", "fill": 0, "legend": false } ], "span": 6, "stack": false, "steppedLine": false, "targets": [ { "alias": "$disk", "dsType": "influxdb", "groupBy": [ { "params": [ "$interval" ], "type": "time" }, { "params": [ "none" ], "type": "fill" } ], "hide": false, "measurement": "disk", "policy": "default", "query": "SELECT mean(\"value\") FROM \"disk\" WHERE \"hostname\" =~ /^$hostname$/ AND \"metric\" =~ /^$disk$/ AND $timeFilter GROUP BY time($interval) fill(none)", "rawQuery": false, "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "value" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [ { "key": "hostname", "operator": "=~", "value": "/^$hostname$/" }, { "condition": "AND", "key": "service", "operator": "=~", "value": "/^$service$/" } ] }, { "alias": "WARNING", "dsType": "influxdb", "groupBy": [ { "params": [ "$interval" ], "type": "time" }, { "params": [ "none" ], "type": "fill" } ], "hide": false, "measurement": "disk", "policy": "default", "query": "SELECT mean(\"value\") FROM \"measurement\" WHERE \"hostname\" =~ /^$hostname$/ AND \"metric\" =~ /^$disk$/ AND $timeFilter GROUP BY time($interval) fill(null)", "rawQuery": false, "refId": "B", "resultFormat": "time_series", "select": [ [ { "params": [ "warn" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [ { "key": "hostname", "operator": "=~", "value": "/^$hostname$/" }, { "condition": "AND", "key": "service", "operator": "=~", "value": "/^$service$/" } ] }, { "alias": "CRITICAL", "dsType": "influxdb", "groupBy": [ { "params": [ "$interval" ], "type": "time" }, { "params": [ "none" ], "type": "fill" } ], "hide": false, "measurement": "disk", "policy": "default", "query": "SELECT mean(\"value\") FROM \"measurement\" WHERE \"hostname\" =~ /^$hostname$/ AND \"metric\" =~ /^$disk$/ AND $timeFilter GROUP BY time($interval) fill(null)", "rawQuery": false, "refId": "C", "resultFormat": "time_series", "select": [ [ { "params": [ "crit" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [ { "key": "hostname", "operator": "=~", "value": "/^$hostname$/" }, { "condition": "AND", "key": "service", "operator": "=~", "value": "/^$service$/" } ] }, { "alias": "$windisk", "dsType": "influxdb", "groupBy": [ { "params": [ "$interval" ], "type": "time" }, { "params": [ "none" ], "type": "fill" } ], "hide": false, "measurement": "check_drivesize", "policy": "default", "query": "SELECT mean(\"value\") FROM \"disk\" WHERE \"hostname\" =~ /^$hostname$/ AND \"metric\" =~ /^$disk$/ AND $timeFilter GROUP BY time($interval) fill(none)", "rawQuery": false, "refId": "D", "resultFormat": "time_series", "select": [ [ { "params": [ "value" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [ { "key": "hostname", "operator": "=~", "value": "/^$hostname$/" }, { "condition": "AND", "key": "metric", "operator": "=~", "value": "/^$windisk$/" } ] }, { "alias": "WARNING", "dsType": "influxdb", "groupBy": [ { "params": [ "$interval" ], "type": "time" }, { "params": [ "none" ], "type": "fill" } ], "hide": false, "measurement": "check_drivesize", "policy": "default", "query": "SELECT mean(\"value\") FROM \"disk\" WHERE \"hostname\" =~ /^$hostname$/ AND \"metric\" =~ /^$disk$/ AND $timeFilter GROUP BY time($interval) fill(none)", "rawQuery": false, "refId": "E", "resultFormat": "time_series", "select": [ [ { "params": [ "warn" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [ { "key": "hostname", "operator": "=~", "value": "/^$hostname$/" }, { "condition": "AND", "key": "metric", "operator": "=~", "value": "/^$windisk$/" } ] }, { "alias": "CRITICAL", "dsType": "influxdb", "groupBy": [ { "params": [ "$interval" ], "type": "time" }, { "params": [ "none" ], "type": "fill" } ], "hide": false, "measurement": "check_drivesize", "policy": "default", "query": "SELECT mean(\"value\") FROM \"disk\" WHERE \"hostname\" =~ /^$hostname$/ AND \"metric\" =~ /^$disk$/ AND $timeFilter GROUP BY time($interval) fill(none)", "rawQuery": false, "refId": "F", "resultFormat": "time_series", "select": [ [ { "params": [ "crit" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [ { "key": "hostname", "operator": "=~", "value": "/^$hostname$/" }, { "condition": "AND", "key": "metric", "operator": "=~", "value": "/^$windisk$/" } ] } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "$service", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "decbytes", "label": "", "logBase": 1, "max": null, "min": null, "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ] }, { "aliasColors": {}, "bars": false, "datasource": "${DS_ICINGA2-INFLUXDB}", "fill": 1, "id": 4, "legend": { "alignAsTable": true, "avg": true, "current": true, "max": true, "min": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [ { "alias": "load5", "color": "#BA43A9" } ], "span": 6, "stack": false, "steppedLine": false, "targets": [ { "alias": "load1", "dsType": "influxdb", "groupBy": [ { "params": [ "$interval" ], "type": "time" }, { "params": [ "none" ], "type": "fill" } ], "measurement": "load", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "value" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [ { "key": "hostname", "operator": "=~", "value": "/^$hostname$/" }, { "condition": "AND", "key": "metric", "operator": "=", "value": "load1" } ] }, { "alias": "load5", "dsType": "influxdb", "groupBy": [ { "params": [ "$interval" ], "type": "time" }, { "params": [ "none" ], "type": "fill" } ], "measurement": "load", "policy": "default", "refId": "B", "resultFormat": "time_series", "select": [ [ { "params": [ "value" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [ { "key": "hostname", "operator": "=~", "value": "/^$hostname$/" }, { "condition": "AND", "key": "metric", "operator": "=", "value": "load5" } ] }, { "alias": "load15", "dsType": "influxdb", "groupBy": [ { "params": [ "$interval" ], "type": "time" }, { "params": [ "none" ], "type": "fill" } ], "measurement": "load", "policy": "default", "refId": "C", "resultFormat": "time_series", "select": [ [ { "params": [ "value" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [ { "key": "hostname", "operator": "=~", "value": "/^$hostname$/" }, { "condition": "AND", "key": "metric", "operator": "=", "value": "load15" } ] }, { "alias": "load5s", "dsType": "influxdb", "groupBy": [ { "params": [ "$interval" ], "type": "time" }, { "params": [ "none" ], "type": "fill" } ], "measurement": "check_cpu", "policy": "default", "refId": "D", "resultFormat": "time_series", "select": [ [ { "params": [ "value" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [ { "key": "hostname", "operator": "=~", "value": "/^$hostname$/" }, { "condition": "AND", "key": "metric", "operator": "=", "value": "total 5s" } ] }, { "alias": "load1m", "dsType": "influxdb", "groupBy": [ { "params": [ "$interval" ], "type": "time" }, { "params": [ "none" ], "type": "fill" } ], "measurement": "check_cpu", "policy": "default", "refId": "E", "resultFormat": "time_series", "select": [ [ { "params": [ "value" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [ { "key": "hostname", "operator": "=~", "value": "/^$hostname$/" }, { "condition": "AND", "key": "metric", "operator": "=", "value": "total 1m" } ] }, { "alias": "load5m", "dsType": "influxdb", "groupBy": [ { "params": [ "$interval" ], "type": "time" }, { "params": [ "none" ], "type": "fill" } ], "measurement": "check_cpu", "policy": "default", "refId": "F", "resultFormat": "time_series", "select": [ [ { "params": [ "value" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [ { "key": "hostname", "operator": "=~", "value": "/^$hostname$/" }, { "condition": "AND", "key": "metric", "operator": "=", "value": "total 5m" } ] } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "Load", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ] } ], "repeat": null, "repeatIteration": null, "repeatRowId": null, "showTitle": false, "title": "disk & load", "titleSize": "h6" }, { "collapse": false, "height": 250, "panels": [ { "aliasColors": {}, "bars": false, "datasource": "${DS_ICINGA2-INFLUXDB}", "fill": 1, "id": 5, "legend": { "alignAsTable": true, "avg": true, "current": true, "max": true, "min": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [ { "alias": "Total swap", "color": "#5195CE", "fill": 0 }, { "alias": "WARNING", "color": "#EAB839", "fill": 0, "legend": false }, { "alias": "CRITICAL", "color": "#BF1B00", "fill": 0, "legend": false } ], "span": 6, "stack": false, "steppedLine": false, "targets": [ { "alias": "Free swap", "dsType": "influxdb", "groupBy": [ { "params": [ "$interval" ], "type": "time" }, { "params": [ "none" ], "type": "fill" } ], "measurement": "swap", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "value" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [ { "key": "hostname", "operator": "=~", "value": "/^$hostname$/" }, { "condition": "AND", "key": "metric", "operator": "=", "value": "swap" } ] }, { "alias": "Total swap", "dsType": "influxdb", "groupBy": [ { "params": [ "$interval" ], "type": "time" }, { "params": [ "none" ], "type": "fill" } ], "measurement": "swap", "policy": "default", "refId": "B", "resultFormat": "time_series", "select": [ [ { "params": [ "max" ], "type": "field" }, { "params": [], "type": "last" } ] ], "tags": [ { "key": "hostname", "operator": "=~", "value": "/^$hostname$/" }, { "condition": "AND", "key": "metric", "operator": "=", "value": "swap" } ] }, { "alias": "WARNING", "dsType": "influxdb", "groupBy": [ { "params": [ "$interval" ], "type": "time" }, { "params": [ "none" ], "type": "fill" } ], "measurement": "swap", "policy": "default", "refId": "C", "resultFormat": "time_series", "select": [ [ { "params": [ "warn" ], "type": "field" }, { "params": [], "type": "last" } ] ], "tags": [ { "key": "hostname", "operator": "=~", "value": "/^$hostname$/" }, { "condition": "AND", "key": "metric", "operator": "=", "value": "swap" } ] }, { "alias": "CRITICAL", "dsType": "influxdb", "groupBy": [ { "params": [ "$interval" ], "type": "time" }, { "params": [ "none" ], "type": "fill" } ], "measurement": "swap", "policy": "default", "refId": "D", "resultFormat": "time_series", "select": [ [ { "params": [ "crit" ], "type": "field" }, { "params": [], "type": "last" } ] ], "tags": [ { "key": "hostname", "operator": "=~", "value": "/^$hostname$/" }, { "condition": "AND", "key": "metric", "operator": "=", "value": "swap" } ] }, { "alias": "paging", "dsType": "influxdb", "groupBy": [ { "params": [ "$interval" ], "type": "time" }, { "params": [ "none" ], "type": "fill" } ], "measurement": "check_pagefile", "policy": "default", "refId": "E", "resultFormat": "time_series", "select": [ [ { "params": [ "value" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [ { "key": "hostname", "operator": "=~", "value": "/^$hostname$/" }, { "condition": "AND", "key": "metric", "operator": "=", "value": "total" } ] }, { "alias": "WARNING", "dsType": "influxdb", "groupBy": [ { "params": [ "$interval" ], "type": "time" }, { "params": [ "none" ], "type": "fill" } ], "measurement": "check_pagefile", "policy": "default", "refId": "F", "resultFormat": "time_series", "select": [ [ { "params": [ "warn" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [ { "key": "hostname", "operator": "=~", "value": "/^$hostname$/" }, { "condition": "AND", "key": "metric", "operator": "=", "value": "total" } ] }, { "alias": "CRITICAL", "dsType": "influxdb", "groupBy": [ { "params": [ "$interval" ], "type": "time" }, { "params": [ "none" ], "type": "fill" } ], "measurement": "check_pagefile", "policy": "default", "refId": "G", "resultFormat": "time_series", "select": [ [ { "params": [ "crit" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [ { "key": "hostname", "operator": "=~", "value": "/^$hostname$/" }, { "condition": "AND", "key": "metric", "operator": "=", "value": "total" } ] } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "Swap", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "decbytes", "label": null, "logBase": 1, "max": null, "min": null, "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ] }, { "aliasColors": {}, "bars": false, "datasource": "${DS_ICINGA2-INFLUXDB}", "fill": 1, "id": 7, "legend": { "alignAsTable": true, "avg": true, "current": true, "max": true, "min": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [ { "alias": "WARNING", "color": "#EAB839", "fill": 0, "legend": false }, { "alias": "CRITICAL", "color": "#BF1B00", "fill": 0, "legend": false } ], "span": 6, "stack": false, "steppedLine": false, "targets": [ { "alias": "Procs", "dsType": "influxdb", "groupBy": [ { "params": [ "$interval" ], "type": "time" }, { "params": [ "none" ], "type": "fill" } ], "measurement": "procs", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "value" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [ { "key": "hostname", "operator": "=~", "value": "/^$hostname$/" }, { "condition": "AND", "key": "metric", "operator": "=", "value": "procs" }, { "condition": "AND", "key": "service", "operator": "=", "value": "procs" } ] }, { "alias": "WARNING", "dsType": "influxdb", "groupBy": [ { "params": [ "$interval" ], "type": "time" }, { "params": [ "none" ], "type": "fill" } ], "measurement": "procs", "policy": "default", "refId": "B", "resultFormat": "time_series", "select": [ [ { "params": [ "warn" ], "type": "field" }, { "params": [], "type": "last" } ] ], "tags": [ { "key": "hostname", "operator": "=~", "value": "/^$hostname$/" }, { "condition": "AND", "key": "metric", "operator": "=", "value": "procs" }, { "condition": "AND", "key": "service", "operator": "=", "value": "procs" } ] }, { "alias": "CRITICAL", "dsType": "influxdb", "groupBy": [ { "params": [ "$interval" ], "type": "time" }, { "params": [ "none" ], "type": "fill" } ], "measurement": "procs", "policy": "default", "refId": "C", "resultFormat": "time_series", "select": [ [ { "params": [ "crit" ], "type": "field" }, { "params": [], "type": "last" } ] ], "tags": [ { "key": "hostname", "operator": "=~", "value": "/^$hostname$/" }, { "condition": "AND", "key": "metric", "operator": "=", "value": "procs" }, { "condition": "AND", "key": "service", "operator": "=", "value": "procs" } ] } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "Procs", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "none", "label": null, "logBase": 1, "max": null, "min": null, "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ] } ], "repeat": null, "repeatIteration": null, "repeatRowId": null, "showTitle": false, "title": "swap & procs", "titleSize": "h6" }, { "collapse": false, "height": 250, "panels": [ { "aliasColors": {}, "bars": false, "datasource": "${DS_ICINGA2-INFLUXDB}", "fill": 1, "id": 6, "legend": { "alignAsTable": true, "avg": true, "current": true, "max": true, "min": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [ { "alias": "WARNING", "color": "#EAB839", "fill": 0, "legend": false }, { "alias": "CRITICAL", "color": "#BF1B00", "fill": 0, "legend": false } ], "span": 6, "stack": false, "steppedLine": false, "targets": [ { "alias": "Offset", "dsType": "influxdb", "groupBy": [ { "params": [ "$interval" ], "type": "time" }, { "params": [ "none" ], "type": "fill" } ], "measurement": "ntp_time", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "value" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [ { "key": "hostname", "operator": "=~", "value": "/^$hostname$/" }, { "condition": "AND", "key": "metric", "operator": "=", "value": "offset" } ] }, { "alias": "WARNING", "dsType": "influxdb", "groupBy": [ { "params": [ "$interval" ], "type": "time" }, { "params": [ "none" ], "type": "fill" } ], "hide": true, "measurement": "ntp_time", "policy": "default", "refId": "B", "resultFormat": "time_series", "select": [ [ { "params": [ "warn" ], "type": "field" }, { "params": [], "type": "last" } ] ], "tags": [ { "key": "hostname", "operator": "=~", "value": "/^$hostname$/" }, { "condition": "AND", "key": "metric", "operator": "=", "value": "offset" } ] }, { "alias": "CRITICAL", "dsType": "influxdb", "groupBy": [ { "params": [ "$interval" ], "type": "time" }, { "params": [ "none" ], "type": "fill" } ], "hide": true, "measurement": "ntp_time", "policy": "default", "refId": "C", "resultFormat": "time_series", "select": [ [ { "params": [ "crit" ], "type": "field" }, { "params": [], "type": "last" } ] ], "tags": [ { "key": "hostname", "operator": "=~", "value": "/^$hostname$/" }, { "condition": "AND", "key": "metric", "operator": "=", "value": "offset" } ] } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "NTP", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "s", "label": null, "logBase": 1, "max": null, "min": null, "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ] }, { "aliasColors": {}, "bars": false, "datasource": "${DS_ICINGA2-INFLUXDB}", "fill": 1, "id": 8, "legend": { "alignAsTable": true, "avg": true, "current": true, "max": true, "min": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [ { "alias": "WARNING", "color": "#EAB839", "fill": 0, "legend": false }, { "alias": "CRITICAL", "color": "#BF1B00", "fill": 0, "legend": false } ], "span": 6, "stack": false, "steppedLine": false, "targets": [ { "alias": "Users logged in", "dsType": "influxdb", "groupBy": [ { "params": [ "$interval" ], "type": "time" }, { "params": [ "none" ], "type": "fill" } ], "measurement": "users", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "value" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [ { "key": "hostname", "operator": "=~", "value": "/^$hostname$/" }, { "condition": "AND", "key": "service", "operator": "=", "value": "users" } ] }, { "alias": "WARNING", "dsType": "influxdb", "groupBy": [ { "params": [ "$interval" ], "type": "time" }, { "params": [ "none" ], "type": "fill" } ], "hide": true, "measurement": "users", "policy": "default", "refId": "B", "resultFormat": "time_series", "select": [ [ { "params": [ "warn" ], "type": "field" }, { "params": [], "type": "last" } ] ], "tags": [ { "key": "hostname", "operator": "=~", "value": "/^$hostname$/" }, { "condition": "AND", "key": "service", "operator": "=", "value": "users" } ] }, { "alias": "CRITICAL", "dsType": "influxdb", "groupBy": [ { "params": [ "$interval" ], "type": "time" }, { "params": [ "none" ], "type": "fill" } ], "measurement": "users", "policy": "default", "refId": "C", "resultFormat": "time_series", "select": [ [ { "params": [ "crit" ], "type": "field" }, { "params": [], "type": "last" } ] ], "tags": [ { "key": "hostname", "operator": "=~", "value": "/^$hostname$/" }, { "condition": "AND", "key": "service", "operator": "=", "value": "users" } ] } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "Users", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "none", "label": null, "logBase": 1, "max": null, "min": null, "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ] } ], "repeat": null, "repeatIteration": null, "repeatRowId": null, "showTitle": false, "title": "ntp & users", "titleSize": "h6" } ], "schemaVersion": 14, "style": "dark", "tags": [], "templating": { "list": [ { "allValue": null, "current": {}, "datasource": "${DS_ICINGA2-INFLUXDB}", "hide": 0, "includeAll": false, "label": null, "multi": false, "name": "hostname", "options": [], "query": "SHOW TAG VALUES WITH KEY = \"hostname\"", "refresh": 1, "regex": "", "sort": 1, "tagValuesQuery": "", "tags": [], "tagsQuery": "", "type": "query", "useTags": false }, { "allValue": null, "current": {}, "datasource": "${DS_ICINGA2-INFLUXDB}", "hide": 0, "includeAll": false, "label": null, "multi": false, "name": "service", "options": [], "query": "SHOW TAG VALUES WITH KEY = \"service\" where hostname =~ /^$hostname$/", "refresh": 1, "regex": "", "sort": 1, "tagValuesQuery": "", "tags": [], "tagsQuery": "", "type": "query", "useTags": false }, { "allValue": null, "current": {}, "datasource": "${DS_ICINGA2-INFLUXDB}", "hide": 0, "includeAll": false, "label": null, "multi": false, "name": "disk", "options": [], "query": "SHOW TAG VALUES FROM \"disk\" WITH KEY = \"metric\" where hostname =~ /^$hostname$/ AND service =~ /^$service/", "refresh": 1, "regex": "", "sort": 0, "tagValuesQuery": "", "tags": [], "tagsQuery": "", "type": "query", "useTags": false }, { "allValue": null, "current": {}, "datasource": "${DS_ICINGA2-INFLUXDB}", "hide": 0, "includeAll": false, "label": null, "multi": false, "name": "windisk", "options": [], "query": "SHOW TAG VALUES FROM \"check_drivesize\" WITH KEY = \"metric\" where hostname =~ /^$hostname$/ AND service =~ /^$service/", "refresh": 1, "regex": "/[a-z]: free$/", "sort": 0, "tagValuesQuery": "", "tags": [], "tagsQuery": "", "type": "query", "useTags": false } ] }, "time": { "from": "now-6h", "to": "now" }, "timepicker": { "refresh_intervals": [ "5s", "10s", "30s", "1m", "5m", "15m", "30m", "1h", "2h", "1d" ], "time_options": [ "5m", "15m", "1h", "6h", "12h", "24h", "2d", "7d", "30d" ] }, "timezone": "browser", "title": "base-metrics", "version": 38 }