Skip to content

Commit

Permalink
chore: update dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
wbollock committed Sep 5, 2022
1 parent 06c0b9e commit 766366e
Show file tree
Hide file tree
Showing 2 changed files with 97 additions and 17 deletions.
114 changes: 97 additions & 17 deletions grafana/dashboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": null,
"iteration": 1662311765599,
"iteration": 1662397038361,
"links": [],
"liveNow": false,
"panels": [
Expand Down Expand Up @@ -2014,7 +2014,7 @@
},
"gridPos": {
"h": 9,
"w": 8,
"w": 6,
"x": 0,
"y": 30
},
Expand Down Expand Up @@ -2116,8 +2116,8 @@
},
"gridPos": {
"h": 9,
"w": 8,
"x": 8,
"w": 6,
"x": 6,
"y": 30
},
"id": 38,
Expand Down Expand Up @@ -2219,8 +2219,8 @@
},
"gridPos": {
"h": 9,
"w": 8,
"x": 16,
"w": 6,
"x": 12,
"y": 30
},
"id": 42,
Expand Down Expand Up @@ -2254,38 +2254,117 @@
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "nagios_host_checks_performance_seconds{job=\"$job\", instance=\"$instance\",check_type=\"active\", performance_type=\"latency\", operator=\"avg\"}",
"expr": "nagios_service_checks_performance_seconds{job=\"$job\", instance=\"$instance\",check_type=\"active\", performance_type=\"execution\", operator=\"avg\"}",
"hide": false,
"legendFormat": "Host - {{operator}} {{performance_type}}",
"legendFormat": "Service - {{operator}} {{performance_type}}",
"range": true,
"refId": "B"
}
],
"title": "Average Check Execution Time",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 4,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "s"
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 6,
"x": 18,
"y": 30
},
"id": 48,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "nagios_service_checks_performance_seconds{job=\"$job\", instance=\"$instance\",check_type=\"active\", performance_type=\"latency\",operator=\"avg\"}",
"expr": "nagios_host_checks_performance_seconds{job=\"$job\", instance=\"$instance\",check_type=\"active\", performance_type=\"latency\", operator=\"avg\"}",
"hide": false,
"legendFormat": "Service - {{operator}} {{performance_type}}",
"legendFormat": "Host - {{operator}} {{performance_type}}",
"range": true,
"refId": "C"
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "nagios_host_checks_performance_seconds{job=\"$job\", instance=\"$instance\",check_type=\"active\", performance_type=\"execution\", operator=\"avg\"}",
"expr": "nagios_service_checks_performance_seconds{job=\"$job\", instance=\"$instance\",check_type=\"active\", performance_type=\"latency\",operator=\"avg\"}",
"hide": false,
"legendFormat": "Host - {{operator}} {{performance_type}}",
"legendFormat": "Service - {{operator}} {{performance_type}}",
"range": true,
"refId": "D"
"refId": "C"
}
],
"title": "Average Check Performance",
"title": "Average Check Latency",
"type": "timeseries"
},
{
Expand Down Expand Up @@ -2666,6 +2745,7 @@
"type": "timeseries"
}
],
"refresh": false,
"schemaVersion": 36,
"style": "dark",
"tags": [],
Expand Down Expand Up @@ -2743,13 +2823,13 @@
]
},
"time": {
"from": "now-5m",
"from": "now-3h",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "Nagios Exporter",
"uid": "ujglLGMVz",
"version": 33,
"version": 35,
"weekStart": ""
}
Binary file modified img/grafana.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 766366e

Please sign in to comment.