123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734 |
- {
- "annotations": {
- "list": [
- {
- "builtIn": 1,
- "datasource": "Prometheus croara",
- "enable": false,
- "expr": "ALERTS",
- "hide": false,
- "iconColor": "rgba(0, 211, 255, 1)",
- "name": "Annotations & Alerts",
- "step": "60s",
- "target": {
- "limit": 100,
- "matchAny": false,
- "tags": [],
- "type": "dashboard"
- },
- "type": "dashboard"
- },
- {
- "datasource": null,
- "enable": false,
- "expr": "node_boot_time_seconds{host=~\"$name\"} * 1000",
- "iconColor": "red",
- "name": "mark reboots",
- "titleFormat": "",
- "useValueForTime": false
- }
- ]
- },
- "editable": true,
- "gnetId": null,
- "graphTooltip": 0,
- "id": 41,
- "iteration": 1651791125117,
- "links": [],
- "panels": [
- {
- "alert": {
- "alertRuleTags": {},
- "conditions": [
- {
- "evaluator": {
- "params": [
- 1
- ],
- "type": "lt"
- },
- "operator": {
- "type": "and"
- },
- "query": {
- "params": [
- "A",
- "5m",
- "now"
- ]
- },
- "reducer": {
- "params": [],
- "type": "avg"
- },
- "type": "query"
- }
- ],
- "executionErrorState": "alerting",
- "for": "5m",
- "frequency": "1m",
- "handler": 1,
- "name": "Down - Croara",
- "noDataState": "no_data",
- "notifications": []
- },
- "datasource": null,
- "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": 1,
- "pointSize": 5,
- "scaleDistribution": {
- "type": "linear"
- },
- "showPoints": "auto",
- "spanNulls": false,
- "stacking": {
- "group": "A",
- "mode": "none"
- },
- "thresholdsStyle": {
- "mode": "off"
- }
- },
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "red",
- "value": null
- },
- {
- "color": "green",
- "value": 1
- }
- ]
- }
- },
- "overrides": []
- },
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 0,
- "y": 0
- },
- "id": 680,
- "options": {
- "legend": {
- "calcs": [],
- "displayMode": "table",
- "placement": "bottom"
- },
- "tooltip": {
- "mode": "single"
- }
- },
- "pluginVersion": "8.1.8",
- "targets": [
- {
- "exemplar": true,
- "expr": "up{group=\"mesh_stations\"}",
- "format": "time_series",
- "instant": false,
- "interval": "",
- "legendFormat": "{{host}} - {{instance}}",
- "refId": "A"
- }
- ],
- "thresholds": [
- {
- "colorMode": "critical",
- "op": "lt",
- "value": 1,
- "visible": true
- }
- ],
- "title": "Down - Croara",
- "type": "timeseries"
- },
- {
- "alert": {
- "alertRuleTags": {},
- "conditions": [
- {
- "evaluator": {
- "params": [
- 1
- ],
- "type": "lt"
- },
- "operator": {
- "type": "and"
- },
- "query": {
- "params": [
- "A",
- "5m",
- "now"
- ]
- },
- "reducer": {
- "params": [],
- "type": "last"
- },
- "type": "query"
- }
- ],
- "executionErrorState": "alerting",
- "for": "5m",
- "frequency": "1m",
- "handler": 1,
- "message": "",
- "name": "Down - Valsamoggia",
- "noDataState": "no_data",
- "notifications": []
- },
- "datasource": "Prometheus valsamoggia",
- "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": 1,
- "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
- }
- ]
- }
- },
- "overrides": []
- },
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 12,
- "y": 0
- },
- "id": 682,
- "options": {
- "legend": {
- "calcs": [],
- "displayMode": "table",
- "placement": "bottom"
- },
- "tooltip": {
- "mode": "single"
- }
- },
- "targets": [
- {
- "exemplar": true,
- "expr": "up{group=\"mesh_stations\"}",
- "interval": "",
- "legendFormat": "{{host}} - {{instance}}",
- "refId": "A"
- }
- ],
- "thresholds": [
- {
- "colorMode": "critical",
- "op": "lt",
- "value": 1,
- "visible": true
- }
- ],
- "title": "Down - Valsamoggia",
- "type": "timeseries"
- },
- {
- "alert": {
- "alertRuleTags": {},
- "conditions": [
- {
- "evaluator": {
- "params": [
- 10
- ],
- "type": "gt"
- },
- "operator": {
- "type": "and"
- },
- "query": {
- "params": [
- "A",
- "5m",
- "now"
- ]
- },
- "reducer": {
- "params": [],
- "type": "avg"
- },
- "type": "query"
- },
- {
- "evaluator": {
- "params": [
- 10
- ],
- "type": "gt"
- },
- "operator": {
- "type": "or"
- },
- "query": {
- "params": [
- "B",
- "5m",
- "now"
- ]
- },
- "reducer": {
- "params": [],
- "type": "avg"
- },
- "type": "query"
- }
- ],
- "executionErrorState": "alerting",
- "for": "5m",
- "frequency": "1m",
- "handler": 1,
- "name": "Drops - Croara",
- "noDataState": "no_data",
- "notifications": []
- },
- "datasource": null,
- "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": 1,
- "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": -10
- }
- ]
- }
- },
- "overrides": []
- },
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 0,
- "y": 8
- },
- "id": 684,
- "options": {
- "legend": {
- "calcs": [
- "min",
- "max",
- "mean",
- "lastNotNull"
- ],
- "displayMode": "table",
- "placement": "bottom"
- },
- "tooltip": {
- "mode": "single"
- }
- },
- "targets": [
- {
- "exemplar": true,
- "expr": "irate(node_network_receive_drop_total[5m])",
- "hide": false,
- "instant": false,
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "{{host}} # {{device}} Receive Drops",
- "refId": "A"
- },
- {
- "exemplar": true,
- "expr": "irate(node_network_transmit_drop_total[5m])",
- "format": "time_series",
- "hide": false,
- "instant": false,
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "{{host}} # {{device}} Trasmit Drops",
- "refId": "B"
- }
- ],
- "thresholds": [
- {
- "colorMode": "critical",
- "op": "gt",
- "value": 10,
- "visible": true
- }
- ],
- "title": "Drops - Croara",
- "type": "timeseries"
- },
- {
- "alert": {
- "alertRuleTags": {},
- "conditions": [
- {
- "evaluator": {
- "params": [
- 10
- ],
- "type": "gt"
- },
- "operator": {
- "type": "and"
- },
- "query": {
- "params": [
- "A",
- "5m",
- "now"
- ]
- },
- "reducer": {
- "params": [],
- "type": "avg"
- },
- "type": "query"
- },
- {
- "evaluator": {
- "params": [
- 10
- ],
- "type": "gt"
- },
- "operator": {
- "type": "or"
- },
- "query": {
- "params": [
- "B",
- "5m",
- "now"
- ]
- },
- "reducer": {
- "params": [],
- "type": "avg"
- },
- "type": "query"
- }
- ],
- "executionErrorState": "alerting",
- "for": "5m",
- "frequency": "1m",
- "handler": 1,
- "name": "Drops - Valsamoggia",
- "noDataState": "no_data",
- "notifications": []
- },
- "datasource": "Prometheus valsamoggia",
- "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": 1,
- "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": -10
- }
- ]
- }
- },
- "overrides": []
- },
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 12,
- "y": 8
- },
- "id": 686,
- "options": {
- "legend": {
- "calcs": [
- "min",
- "max",
- "mean",
- "lastNotNull"
- ],
- "displayMode": "table",
- "placement": "bottom"
- },
- "tooltip": {
- "mode": "single"
- }
- },
- "targets": [
- {
- "exemplar": true,
- "expr": "irate(node_network_receive_drop_total{device=\"eth0\"}[5m])",
- "hide": false,
- "instant": false,
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "{{host}} # {{device}} Receive Drops",
- "refId": "A"
- },
- {
- "exemplar": true,
- "expr": "irate(node_network_transmit_drop_total[5m])",
- "format": "time_series",
- "hide": false,
- "instant": false,
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "{{host}} # {{device}} Trasmit Drops",
- "refId": "B"
- }
- ],
- "thresholds": [
- {
- "colorMode": "critical",
- "op": "gt",
- "value": 10,
- "visible": true
- }
- ],
- "title": "Drops - Valsamoggia",
- "type": "timeseries"
- }
- ],
- "refresh": false,
- "schemaVersion": 30,
- "style": "dark",
- "tags": [],
- "templating": {
- "list": [
- {
- "description": null,
- "error": null,
- "hide": 2,
- "label": "Job",
- "name": "job",
- "query": "prometheus",
- "skipUrlSync": false,
- "type": "constant"
- },
- {
- "allValue": null,
- "current": {
- "selected": true,
- "text": [
- "All"
- ],
- "value": [
- "$__all"
- ]
- },
- "datasource": "${data_source}",
- "definition": "label_values(node_uname_info{job=~\"$job\"}, host)",
- "description": null,
- "error": null,
- "hide": 2,
- "includeAll": true,
- "label": "Host:",
- "multi": true,
- "name": "name",
- "options": [],
- "query": {
- "query": "label_values(node_uname_info{job=~\"$job\"}, host)",
- "refId": "StandardVariableQuery"
- },
- "refresh": 1,
- "regex": "",
- "skipUrlSync": false,
- "sort": 1,
- "type": "query"
- },
- {
- "allValue": null,
- "current": {
- "selected": true,
- "text": [
- "All"
- ],
- "value": [
- "$__all"
- ]
- },
- "datasource": "${data_source}",
- "definition": "label_values(node_uname_info{nodename=~\"$name\"}, instance)",
- "description": null,
- "error": null,
- "hide": 2,
- "includeAll": true,
- "label": "WIFI Host:",
- "multi": true,
- "name": "node",
- "options": [],
- "query": {
- "query": "label_values(node_uname_info{nodename=~\"$name\"}, instance)",
- "refId": "StandardVariableQuery"
- },
- "refresh": 1,
- "regex": "/([^:]+):.*/",
- "skipUrlSync": false,
- "sort": 1,
- "type": "query"
- },
- {
- "current": {
- "selected": false,
- "text": "Prometheus valsamoggia",
- "value": "Prometheus valsamoggia"
- },
- "description": "",
- "error": null,
- "hide": 0,
- "includeAll": false,
- "label": "Data source",
- "multi": false,
- "name": "data_source",
- "options": [],
- "query": "prometheus",
- "queryValue": "",
- "refresh": 1,
- "regex": "",
- "skipUrlSync": false,
- "type": "datasource"
- }
- ]
- },
- "time": {
- "from": "now-24h",
- "to": "now"
- },
- "timepicker": {},
- "timezone": "",
- "title": "Alert",
- "uid": "m0Xg9FLnz_alert",
- "version": 9
- }
|