Added dashboard example (Zabbix Server Dashboard).

This commit is contained in:
Alexander Zobnin
2016-03-31 20:58:02 +03:00
parent 5266751dea
commit b3b3c7bb0b
2 changed files with 430 additions and 5 deletions

View File

@@ -0,0 +1,416 @@
{
"id": null,
"title": "Zabbix Server Dashboard",
"originalTitle": "Zabbix Server Dashboard",
"tags": [
"zabbix",
"example"
],
"style": "dark",
"timezone": "browser",
"editable": true,
"hideControls": false,
"sharedCrosshair": false,
"rows": [
{
"collapse": false,
"editable": true,
"height": "100px",
"panels": [
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"datasource": null,
"editable": true,
"error": false,
"format": "none",
"id": 3,
"interval": null,
"isNew": true,
"links": [],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
"span": 4,
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
},
"targets": [
{
"application": {
"filter": "General"
},
"functions": [],
"group": {
"filter": "Linux servers"
},
"host": {
"filter": "Zabbix server"
},
"item": {
"filter": "Host name"
},
"mode": 2,
"refId": "A"
}
],
"thresholds": "",
"title": "Host name",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "avg"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"datasource": null,
"decimals": 0,
"editable": true,
"error": false,
"format": "s",
"id": 4,
"interval": null,
"isNew": true,
"links": [],
"maxDataPoints": "",
"nullPointMode": "connected",
"nullText": null,
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
"span": 4,
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
},
"targets": [
{
"application": {
"filter": "General"
},
"functions": [],
"group": {
"filter": "Zabbix servers"
},
"host": {
"filter": "Zabbix server"
},
"item": {
"filter": "System uptime"
},
"mode": 0,
"refId": "A"
}
],
"thresholds": "",
"title": "Uptime",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"datasource": null,
"editable": true,
"error": false,
"format": "none",
"id": 5,
"interval": null,
"isNew": true,
"links": [],
"maxDataPoints": "",
"nullPointMode": "connected",
"nullText": null,
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
"span": 4,
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
},
"targets": [
{
"application": {
"filter": "Zabbix server"
},
"functions": [],
"group": {
"filter": "Zabbix servers"
},
"host": {
"filter": "Zabbix server"
},
"item": {
"filter": "Required performance of Zabbix server, new values per second"
},
"mode": 0,
"refId": "A"
}
],
"thresholds": "",
"title": "Required performance, NVPS",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
}
],
"title": "General"
},
{
"collapse": false,
"editable": true,
"height": "300px",
"panels": [
{
"aliasColors": {},
"bars": false,
"datasource": null,
"editable": true,
"error": false,
"fill": 1,
"grid": {
"threshold1": null,
"threshold1Color": "rgba(216, 200, 27, 0.27)",
"threshold2": null,
"threshold2Color": "rgba(234, 112, 112, 0.22)"
},
"id": 1,
"isNew": true,
"legend": {
"alignAsTable": true,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "connected",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"span": 7,
"stack": true,
"steppedLine": false,
"targets": [
{
"application": {
"filter": "CPU"
},
"functions": [],
"group": {
"filter": "Zabbix servers"
},
"host": {
"filter": "Zabbix server"
},
"item": {
"filter": "/CPU (?!idle)/"
},
"mode": 0,
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "CPU",
"tooltip": {
"msResolution": false,
"shared": true,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"show": true
},
"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
}
]
},
{
"columns": [
{
"text": "Current",
"value": "current"
},
{
"text": "Avg",
"value": "avg"
}
],
"editable": true,
"error": false,
"fontSize": "100%",
"id": 2,
"isNew": true,
"links": [],
"pageSize": null,
"scroll": true,
"showHeader": true,
"sort": {
"col": 0,
"desc": true
},
"span": 5,
"styles": [
{
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"pattern": "Time",
"type": "date"
},
{
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"decimals": 2,
"pattern": "/.*/",
"thresholds": [],
"type": "number",
"unit": "short"
}
],
"targets": [
{
"application": {
"filter": "Zabbix server"
},
"functions": [],
"group": {
"filter": "Zabbix servers"
},
"host": {
"filter": "Zabbix server"
},
"item": {
"filter": "/Zabbix busy/"
},
"mode": 0,
"refId": "A"
}
],
"title": "Zabbix processes",
"transform": "timeseries_aggregations",
"type": "table"
}
],
"title": "Row"
}
],
"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"
]
},
"templating": {
"list": []
},
"annotations": {
"list": []
},
"schemaVersion": 12,
"version": 5,
"links": []
}

View File

@@ -3,8 +3,6 @@
"name": "Zabbix App",
"id": "zabbix-app",
"pages": [],
"css": {
"dark": "css/dark.css",
"light": "css/light.css"
@@ -26,9 +24,20 @@
},
"includes": [
{"type": "dashboard", "name": "Example Zabbix Dashboard", "path": "dashboards/example_zabbix_dashboard.json"},
{"type": "panel", "name": "Triggers Panel"},
{"type": "datasource", "name": "Zabbix Datasource"}
{
"type": "datasource",
"name": "Zabbix Datasource"
},
{
"type": "panel",
"name": "Triggers Panel"
},
{
"type": "dashboard",
"name": "Zabbix Server Dashboard",
"path": "dashboards/zabbix_server_dashboard.json",
"addToNav": true
}
],
"dependencies": {