From 6162278718337411a96d97cbb2b34d0b6156e330 Mon Sep 17 00:00:00 2001 From: Alexander Zobnin Date: Sun, 22 Oct 2017 20:00:58 +0300 Subject: [PATCH] add "Zabbix System Status" example dashboard --- dist/dashboards/zabbix_system_status.json | 371 ++++++++++++++++++++++ src/dashboards/zabbix_system_status.json | 371 ++++++++++++++++++++++ 2 files changed, 742 insertions(+) create mode 100644 dist/dashboards/zabbix_system_status.json create mode 100644 src/dashboards/zabbix_system_status.json diff --git a/dist/dashboards/zabbix_system_status.json b/dist/dashboards/zabbix_system_status.json new file mode 100644 index 0000000..8df964c --- /dev/null +++ b/dist/dashboards/zabbix_system_status.json @@ -0,0 +1,371 @@ +{ + "__inputs": [ + { + "name": "DS_NAME", + "type": "datasource", + "pluginId": "alexanderzobnin-zabbix-datasource" + } + ], + "title": "Zabbix System Status", + "revision": "1.0", + "annotations": { + "list": [] + }, + "editable": true, + "gnetId": null, + "graphTooltip": 0, + "hideControls": false, + "id": null, + "links": [], + "rows": [ + { + "collapse": false, + "height": 250, + "panels": [ + { + "columns": [], + "datasource": "${DS_NAME}", + "fontSize": "100%", + "id": 9, + "links": [], + "pageSize": null, + "scroll": true, + "showHeader": true, + "sort": { + "col": 0, + "desc": true + }, + "span": 12, + "styles": [ + { + "alias": "Time", + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "pattern": "Time", + "type": "date" + }, + { + "alias": "", + "colorMode": "cell", + "colors": [ + "rgba(45, 172, 121, 0.97)", + "rgba(45, 172, 121, 0.97)", + "#58140c" + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 0, + "pattern": "Disaster", + "thresholds": [ + "0", + "1" + ], + "type": "number", + "unit": "none" + }, + { + "alias": "", + "colorMode": "cell", + "colors": [ + "#99440a", + "rgba(45, 172, 121, 0.97)", + "#99440a" + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 0, + "pattern": "High", + "thresholds": [ + "0", + "1" + ], + "type": "number", + "unit": "short" + }, + { + "alias": "", + "colorMode": "cell", + "colors": [ + "rgba(50, 172, 45, 0.97)", + "rgba(45, 172, 121, 0.97)", + "#c15c17" + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 0, + "pattern": "Average", + "thresholds": [ + "0", + "1" + ], + "type": "number", + "unit": "short" + }, + { + "alias": "", + "colorMode": "cell", + "colors": [ + "rgba(50, 172, 45, 0.97)", + "rgba(45, 172, 121, 0.97)", + "#cca300" + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 0, + "pattern": "Warning", + "thresholds": [ + "0", + "1" + ], + "type": "number", + "unit": "short" + }, + { + "alias": "", + "colorMode": "cell", + "colors": [ + "rgba(50, 172, 45, 0.97)", + "rgba(45, 172, 121, 0.97)", + "#64b0c8" + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 0, + "pattern": "Information", + "thresholds": [ + "0", + "1" + ], + "type": "number", + "unit": "short" + }, + { + "alias": "", + "colorMode": "cell", + "colors": [ + "rgba(50, 172, 45, 0.97)", + "rgba(45, 172, 121, 0.97)", + "rgb(176, 176, 176)" + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 0, + "pattern": "Not classified", + "thresholds": [ + "0", + "1" + ], + "type": "number", + "unit": "short" + }, + { + "alias": "", + "colorMode": null, + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "decimals": 0, + "pattern": "/.*/", + "thresholds": [], + "type": "number", + "unit": "none" + } + ], + "targets": [ + { + "application": { + "filter": "" + }, + "countTriggers": false, + "functions": [], + "group": { + "filter": "/.*/" + }, + "host": { + "filter": "/.*/" + }, + "item": { + "filter": "" + }, + "minSeverity": 0, + "mode": 4, + "options": { + "countTriggers": false, + "showDisabledItems": false + }, + "refId": "A", + "target": "" + } + ], + "title": "System status", + "transform": "table", + "type": "table" + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": false, + "title": "Dashboard Row", + "titleSize": "h6" + }, + { + "collapse": false, + "height": "150px", + "panels": [ + { + "cacheTimeout": null, + "colorBackground": true, + "colorValue": false, + "colors": [ + "rgba(50, 172, 45, 0.97)", + "rgba(16, 154, 113, 0.97)", + "#890f02" + ], + "datasource": "${DS_NAME}", + "format": "none", + "gauge": { + "maxValue": 100, + "minValue": 0, + "show": false, + "thresholdLabels": false, + "thresholdMarkers": true + }, + "id": 1, + "interval": null, + "links": [], + "mappingType": 1, + "mappingTypes": [ + { + "name": "value to text", + "value": 1 + }, + { + "name": "range to text", + "value": 2 + } + ], + "maxDataPoints": 100, + "minSpan": 2, + "nullPointMode": "connected", + "nullText": null, + "postfix": "", + "postfixFontSize": "50%", + "prefix": "", + "prefixFontSize": "50%", + "rangeMaps": [ + { + "from": "null", + "text": "N/A", + "to": "null" + } + ], + "repeat": "group", + "span": 2, + "sparkline": { + "fillColor": "rgba(31, 118, 189, 0.18)", + "full": false, + "lineColor": "rgb(31, 120, 193)", + "show": false + }, + "tableColumn": "", + "targets": [ + { + "application": { + "filter": "" + }, + "countTriggers": true, + "functions": [], + "group": { + "filter": "$group" + }, + "host": { + "filter": "/.*/" + }, + "item": { + "filter": "" + }, + "minSeverity": 3, + "mode": 4, + "options": { + "showDisabledItems": false + }, + "refId": "A", + "target": "" + } + ], + "thresholds": "0,1", + "title": "$group", + "type": "singlestat", + "valueFontSize": "120%", + "valueMaps": [ + { + "op": "=", + "text": "N/A", + "value": "null" + } + ], + "valueName": "avg" + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": false, + "title": "Dashboard Row", + "titleSize": "h6" + } + ], + "schemaVersion": 14, + "style": "dark", + "tags": [], + "templating": { + "list": [ + { + "allValue": null, + "current": {}, + "datasource": "${DS_NAME}", + "hide": 0, + "includeAll": true, + "label": null, + "multi": true, + "name": "group", + "options": [], + "query": "*", + "refresh": 1, + "regex": "", + "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": "" +} diff --git a/src/dashboards/zabbix_system_status.json b/src/dashboards/zabbix_system_status.json new file mode 100644 index 0000000..8df964c --- /dev/null +++ b/src/dashboards/zabbix_system_status.json @@ -0,0 +1,371 @@ +{ + "__inputs": [ + { + "name": "DS_NAME", + "type": "datasource", + "pluginId": "alexanderzobnin-zabbix-datasource" + } + ], + "title": "Zabbix System Status", + "revision": "1.0", + "annotations": { + "list": [] + }, + "editable": true, + "gnetId": null, + "graphTooltip": 0, + "hideControls": false, + "id": null, + "links": [], + "rows": [ + { + "collapse": false, + "height": 250, + "panels": [ + { + "columns": [], + "datasource": "${DS_NAME}", + "fontSize": "100%", + "id": 9, + "links": [], + "pageSize": null, + "scroll": true, + "showHeader": true, + "sort": { + "col": 0, + "desc": true + }, + "span": 12, + "styles": [ + { + "alias": "Time", + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "pattern": "Time", + "type": "date" + }, + { + "alias": "", + "colorMode": "cell", + "colors": [ + "rgba(45, 172, 121, 0.97)", + "rgba(45, 172, 121, 0.97)", + "#58140c" + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 0, + "pattern": "Disaster", + "thresholds": [ + "0", + "1" + ], + "type": "number", + "unit": "none" + }, + { + "alias": "", + "colorMode": "cell", + "colors": [ + "#99440a", + "rgba(45, 172, 121, 0.97)", + "#99440a" + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 0, + "pattern": "High", + "thresholds": [ + "0", + "1" + ], + "type": "number", + "unit": "short" + }, + { + "alias": "", + "colorMode": "cell", + "colors": [ + "rgba(50, 172, 45, 0.97)", + "rgba(45, 172, 121, 0.97)", + "#c15c17" + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 0, + "pattern": "Average", + "thresholds": [ + "0", + "1" + ], + "type": "number", + "unit": "short" + }, + { + "alias": "", + "colorMode": "cell", + "colors": [ + "rgba(50, 172, 45, 0.97)", + "rgba(45, 172, 121, 0.97)", + "#cca300" + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 0, + "pattern": "Warning", + "thresholds": [ + "0", + "1" + ], + "type": "number", + "unit": "short" + }, + { + "alias": "", + "colorMode": "cell", + "colors": [ + "rgba(50, 172, 45, 0.97)", + "rgba(45, 172, 121, 0.97)", + "#64b0c8" + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 0, + "pattern": "Information", + "thresholds": [ + "0", + "1" + ], + "type": "number", + "unit": "short" + }, + { + "alias": "", + "colorMode": "cell", + "colors": [ + "rgba(50, 172, 45, 0.97)", + "rgba(45, 172, 121, 0.97)", + "rgb(176, 176, 176)" + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 0, + "pattern": "Not classified", + "thresholds": [ + "0", + "1" + ], + "type": "number", + "unit": "short" + }, + { + "alias": "", + "colorMode": null, + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "decimals": 0, + "pattern": "/.*/", + "thresholds": [], + "type": "number", + "unit": "none" + } + ], + "targets": [ + { + "application": { + "filter": "" + }, + "countTriggers": false, + "functions": [], + "group": { + "filter": "/.*/" + }, + "host": { + "filter": "/.*/" + }, + "item": { + "filter": "" + }, + "minSeverity": 0, + "mode": 4, + "options": { + "countTriggers": false, + "showDisabledItems": false + }, + "refId": "A", + "target": "" + } + ], + "title": "System status", + "transform": "table", + "type": "table" + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": false, + "title": "Dashboard Row", + "titleSize": "h6" + }, + { + "collapse": false, + "height": "150px", + "panels": [ + { + "cacheTimeout": null, + "colorBackground": true, + "colorValue": false, + "colors": [ + "rgba(50, 172, 45, 0.97)", + "rgba(16, 154, 113, 0.97)", + "#890f02" + ], + "datasource": "${DS_NAME}", + "format": "none", + "gauge": { + "maxValue": 100, + "minValue": 0, + "show": false, + "thresholdLabels": false, + "thresholdMarkers": true + }, + "id": 1, + "interval": null, + "links": [], + "mappingType": 1, + "mappingTypes": [ + { + "name": "value to text", + "value": 1 + }, + { + "name": "range to text", + "value": 2 + } + ], + "maxDataPoints": 100, + "minSpan": 2, + "nullPointMode": "connected", + "nullText": null, + "postfix": "", + "postfixFontSize": "50%", + "prefix": "", + "prefixFontSize": "50%", + "rangeMaps": [ + { + "from": "null", + "text": "N/A", + "to": "null" + } + ], + "repeat": "group", + "span": 2, + "sparkline": { + "fillColor": "rgba(31, 118, 189, 0.18)", + "full": false, + "lineColor": "rgb(31, 120, 193)", + "show": false + }, + "tableColumn": "", + "targets": [ + { + "application": { + "filter": "" + }, + "countTriggers": true, + "functions": [], + "group": { + "filter": "$group" + }, + "host": { + "filter": "/.*/" + }, + "item": { + "filter": "" + }, + "minSeverity": 3, + "mode": 4, + "options": { + "showDisabledItems": false + }, + "refId": "A", + "target": "" + } + ], + "thresholds": "0,1", + "title": "$group", + "type": "singlestat", + "valueFontSize": "120%", + "valueMaps": [ + { + "op": "=", + "text": "N/A", + "value": "null" + } + ], + "valueName": "avg" + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": false, + "title": "Dashboard Row", + "titleSize": "h6" + } + ], + "schemaVersion": 14, + "style": "dark", + "tags": [], + "templating": { + "list": [ + { + "allValue": null, + "current": {}, + "datasource": "${DS_NAME}", + "hide": 0, + "includeAll": true, + "label": null, + "multi": true, + "name": "group", + "options": [], + "query": "*", + "refresh": 1, + "regex": "", + "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": "" +}