update built-in dashboards

This commit is contained in:
Alexander Zobnin
2017-10-22 20:01:22 +03:00
parent 6162278718
commit b6849046aa
6 changed files with 342 additions and 450 deletions

View File

@@ -1,20 +1,25 @@
{ {
"id": null, "__inputs": [
"title": "Template Linux Server", {
"originalTitle": "Template Linux Server", "name": "DS_NAME",
"tags": [ "type": "datasource",
"zabbix", "pluginId": "alexanderzobnin-zabbix-datasource"
"example" }
], ],
"style": "dark", "title": "Zabbix Template Linux Server",
"timezone": "browser", "revision": 1,
"annotations": {
"list": []
},
"editable": true, "editable": true,
"gnetId": null,
"graphTooltip": 0,
"hideControls": false, "hideControls": false,
"sharedCrosshair": false, "id": null,
"links": [],
"rows": [ "rows": [
{ {
"collapse": false, "collapse": false,
"editable": true,
"height": "250px", "height": "250px",
"panels": [ "panels": [
{ {
@@ -24,16 +29,13 @@
"CPU user time": "#EAB839" "CPU user time": "#EAB839"
}, },
"bars": false, "bars": false,
"datasource": "$datasource", "dashLength": 10,
"dashes": false,
"datasource": "${DS_NAME}",
"editable": true, "editable": true,
"error": false, "error": false,
"fill": 3, "fill": 3,
"grid": { "grid": {},
"threshold1": null,
"threshold1Color": "rgba(216, 200, 27, 0.27)",
"threshold2": null,
"threshold2Color": "rgba(234, 112, 112, 0.22)"
},
"id": 1, "id": 1,
"legend": { "legend": {
"avg": false, "avg": false,
@@ -53,6 +55,7 @@
"points": false, "points": false,
"renderer": "flot", "renderer": "flot",
"seriesOverrides": [], "seriesOverrides": [],
"spaceLength": 10,
"span": 6, "span": 6,
"stack": true, "stack": true,
"steppedLine": false, "steppedLine": false,
@@ -61,6 +64,7 @@
"application": { "application": {
"filter": "CPU" "filter": "CPU"
}, },
"countTriggers": true,
"functions": [], "functions": [],
"group": { "group": {
"filter": "$group" "filter": "$group"
@@ -71,21 +75,31 @@
"item": { "item": {
"filter": "/CPU/" "filter": "/CPU/"
}, },
"minSeverity": 3,
"mode": 0, "mode": 0,
"options": {
"showDisabledItems": false
},
"refId": "A" "refId": "A"
} }
], ],
"thresholds": [],
"timeFrom": null, "timeFrom": null,
"timeShift": null, "timeShift": null,
"title": "CPU", "title": "CPU",
"tooltip": { "tooltip": {
"msResolution": false, "msResolution": false,
"shared": true, "shared": true,
"sort": 0,
"value_type": "individual" "value_type": "individual"
}, },
"type": "graph", "type": "graph",
"xaxis": { "xaxis": {
"show": true "buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
}, },
"yaxes": [ "yaxes": [
{ {
@@ -109,16 +123,13 @@
"Processor load (1 min average per core)": "#1F78C1" "Processor load (1 min average per core)": "#1F78C1"
}, },
"bars": false, "bars": false,
"datasource": "$datasource", "dashLength": 10,
"dashes": false,
"datasource": "${DS_NAME}",
"editable": true, "editable": true,
"error": false, "error": false,
"fill": 1, "fill": 1,
"grid": { "grid": {},
"threshold1": null,
"threshold1Color": "rgba(216, 200, 27, 0.27)",
"threshold2": null,
"threshold2Color": "rgba(234, 112, 112, 0.22)"
},
"id": 2, "id": 2,
"legend": { "legend": {
"avg": false, "avg": false,
@@ -138,6 +149,7 @@
"points": false, "points": false,
"renderer": "flot", "renderer": "flot",
"seriesOverrides": [], "seriesOverrides": [],
"spaceLength": 10,
"span": 6, "span": 6,
"stack": false, "stack": false,
"steppedLine": false, "steppedLine": false,
@@ -146,6 +158,7 @@
"application": { "application": {
"filter": "CPU" "filter": "CPU"
}, },
"countTriggers": true,
"functions": [], "functions": [],
"group": { "group": {
"filter": "$group" "filter": "$group"
@@ -156,21 +169,31 @@
"item": { "item": {
"filter": "Processor load (15 min average per core)" "filter": "Processor load (15 min average per core)"
}, },
"minSeverity": 3,
"mode": 0, "mode": 0,
"options": {
"showDisabledItems": false
},
"refId": "A" "refId": "A"
} }
], ],
"thresholds": [],
"timeFrom": null, "timeFrom": null,
"timeShift": null, "timeShift": null,
"title": "System load", "title": "System load",
"tooltip": { "tooltip": {
"msResolution": false, "msResolution": false,
"shared": true, "shared": true,
"sort": 0,
"value_type": "cumulative" "value_type": "cumulative"
}, },
"type": "graph", "type": "graph",
"xaxis": { "xaxis": {
"show": true "buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
}, },
"yaxes": [ "yaxes": [
{ {
@@ -190,27 +213,27 @@
] ]
} }
], ],
"repeat": null,
"repeatIteration": null,
"repeatRowId": null,
"showTitle": true, "showTitle": true,
"title": "CPU" "title": "CPU",
"titleSize": "h6"
}, },
{ {
"collapse": false, "collapse": false,
"editable": true,
"height": "250px", "height": "250px",
"panels": [ "panels": [
{ {
"aliasColors": {}, "aliasColors": {},
"bars": false, "bars": false,
"datasource": "$datasource", "dashLength": 10,
"dashes": false,
"datasource": "${DS_NAME}",
"editable": true, "editable": true,
"error": false, "error": false,
"fill": 3, "fill": 3,
"grid": { "grid": {},
"threshold1": null,
"threshold1Color": "rgba(216, 200, 27, 0.27)",
"threshold2": null,
"threshold2Color": "rgba(234, 112, 112, 0.22)"
},
"id": 3, "id": 3,
"legend": { "legend": {
"alignAsTable": false, "alignAsTable": false,
@@ -233,20 +256,14 @@
"points": false, "points": false,
"renderer": "flot", "renderer": "flot",
"repeat": "netif", "repeat": "netif",
"scopedVars": {
"netif": {
"text": "eth0",
"value": "eth0",
"selected": false
}
},
"seriesOverrides": [ "seriesOverrides": [
{ {
"alias": "/Incoming/", "alias": "/Incoming/",
"transform": "negative-Y" "transform": "negative-Y"
} }
], ],
"span": 6, "spaceLength": 10,
"span": 12,
"stack": false, "stack": false,
"steppedLine": false, "steppedLine": false,
"targets": [ "targets": [
@@ -254,6 +271,7 @@
"application": { "application": {
"filter": "" "filter": ""
}, },
"countTriggers": true,
"functions": [], "functions": [],
"group": { "group": {
"filter": "$group" "filter": "$group"
@@ -264,21 +282,31 @@
"item": { "item": {
"filter": "/$netif/" "filter": "/$netif/"
}, },
"minSeverity": 3,
"mode": 0, "mode": 0,
"options": {
"showDisabledItems": false
},
"refId": "A" "refId": "A"
} }
], ],
"thresholds": [],
"timeFrom": null, "timeFrom": null,
"timeShift": null, "timeShift": null,
"title": "Network traffic on $netif", "title": "Network traffic on $netif",
"tooltip": { "tooltip": {
"msResolution": false, "msResolution": false,
"shared": true, "shared": true,
"sort": 0,
"value_type": "cumulative" "value_type": "cumulative"
}, },
"type": "graph", "type": "graph",
"xaxis": { "xaxis": {
"show": true "buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
}, },
"yaxes": [ "yaxes": [
{ {
@@ -296,113 +324,96 @@
"show": true "show": true
} }
] ]
},
{
"aliasColors": {},
"bars": false,
"datasource": "$datasource",
"editable": true,
"error": false,
"fill": 3,
"grid": {
"threshold1": null,
"threshold1Color": "rgba(216, 200, 27, 0.27)",
"threshold2": null,
"threshold2Color": "rgba(234, 112, 112, 0.22)"
},
"id": 4,
"legend": {
"alignAsTable": false,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"links": [],
"minSpan": 4,
"nullPointMode": "connected",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"repeat": null,
"scopedVars": {
"netif": {
"text": "eth1",
"value": "eth1",
"selected": false
}
},
"seriesOverrides": [
{
"alias": "/Incoming/",
"transform": "negative-Y"
}
],
"span": 6,
"stack": false,
"steppedLine": false,
"targets": [
{
"application": {
"filter": ""
},
"functions": [],
"group": {
"filter": "$group"
},
"host": {
"filter": "$host"
},
"item": {
"filter": "/$netif/"
},
"mode": 0,
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Network traffic on $netif",
"tooltip": {
"msResolution": false,
"shared": true,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"show": true
},
"yaxes": [
{
"format": "bps",
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"repeatIteration": 1460635040618,
"repeatPanelId": 3
} }
], ],
"repeat": null,
"repeatIteration": null,
"repeatRowId": null,
"showTitle": true, "showTitle": true,
"title": "Network" "title": "Network",
"titleSize": "h6"
} }
], ],
"schemaVersion": 14,
"style": "dark",
"tags": [
"zabbix",
"example"
],
"templating": {
"list": [
{
"allFormat": "regex values",
"allValue": null,
"current": {},
"datasource": "${DS_NAME}",
"hide": 0,
"includeAll": false,
"label": "Group",
"multi": false,
"multiFormat": "glob",
"name": "group",
"options": [],
"query": "*",
"refresh": 1,
"refresh_on_load": false,
"regex": "",
"sort": 0,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"allFormat": "glob",
"allValue": null,
"current": {},
"datasource": "${DS_NAME}",
"hide": 0,
"includeAll": false,
"label": "Host",
"multi": false,
"multiFormat": "glob",
"name": "host",
"options": [],
"query": "$group.*",
"refresh": 1,
"refresh_on_load": false,
"regex": "",
"sort": 0,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"allFormat": "regex values",
"allValue": null,
"current": {},
"datasource": "${DS_NAME}",
"hide": 0,
"hideLabel": false,
"includeAll": true,
"label": "Network interface",
"multi": true,
"multiFormat": "regex values",
"name": "netif",
"options": [],
"query": "*.$host.Network interfaces.*",
"refresh": 1,
"refresh_on_load": false,
"regex": "/(?:Incoming|Outgoing) network traffic on (.*)/",
"sort": 0,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
}
]
},
"time": { "time": {
"from": "now-3h", "from": "now-3h",
"to": "now" "to": "now"
@@ -432,77 +443,5 @@
"30d" "30d"
] ]
}, },
"templating": { "timezone": "browser"
"list": [
{
"current": {},
"hide": 0,
"label": "Zabbix Data Source",
"name": "datasource",
"options": [],
"query": "alexanderzobnin-zabbix-datasource",
"refresh": 1,
"regex": "",
"type": "datasource"
},
{
"allFormat": "regex values",
"current": {},
"datasource": "$datasource",
"hide": 0,
"includeAll": false,
"label": "Group",
"multi": false,
"multiFormat": "glob",
"name": "group",
"options": [],
"query": "*",
"refresh": 1,
"refresh_on_load": false,
"regex": "",
"type": "query"
},
{
"allFormat": "glob",
"current": {},
"datasource": "$datasource",
"hide": 0,
"includeAll": false,
"label": "Host",
"multi": false,
"multiFormat": "glob",
"name": "host",
"options": [],
"query": "$group.*",
"refresh": 1,
"refresh_on_load": false,
"regex": "",
"type": "query"
},
{
"allFormat": "regex values",
"current": {},
"datasource": "$datasource",
"hide": 0,
"hideLabel": false,
"includeAll": true,
"label": "Network interface",
"multi": true,
"multiFormat": "regex values",
"name": "netif",
"options": [],
"query": "*.$host.Network interfaces.*",
"refresh": 1,
"refresh_on_load": false,
"regex": "/(?:Incoming|Outgoing) network traffic on (.*)/",
"type": "query"
}
]
},
"annotations": {
"list": []
},
"schemaVersion": 12,
"version": 9,
"links": []
} }

View File

@@ -3,6 +3,19 @@
"name": "Zabbix", "name": "Zabbix",
"id": "alexanderzobnin-zabbix-datasource", "id": "alexanderzobnin-zabbix-datasource",
"includes": [
{
"type": "dashboard",
"name": "Zabbix System Status",
"path": "../dashboards/zabbix_system_status.json"
},
{
"type": "dashboard",
"name": "Zabbix Template Linux Server",
"path": "../dashboards/template_linux_server.json"
}
],
"metrics": true, "metrics": true,
"annotations": true, "annotations": true,

6
dist/plugin.json vendored
View File

@@ -45,12 +45,6 @@
"path": "dashboards/zabbix_server_dashboard.json", "path": "dashboards/zabbix_server_dashboard.json",
"addToNav": true, "addToNav": true,
"defaultNav": true "defaultNav": true
},
{
"type": "dashboard",
"name": "Template Linux Server",
"path": "dashboards/template_linux_server.json",
"addToNav": true
} }
], ],

View File

@@ -1,20 +1,25 @@
{ {
"id": null, "__inputs": [
"title": "Template Linux Server", {
"originalTitle": "Template Linux Server", "name": "DS_NAME",
"tags": [ "type": "datasource",
"zabbix", "pluginId": "alexanderzobnin-zabbix-datasource"
"example" }
], ],
"style": "dark", "title": "Zabbix Template Linux Server",
"timezone": "browser", "revision": 1,
"annotations": {
"list": []
},
"editable": true, "editable": true,
"gnetId": null,
"graphTooltip": 0,
"hideControls": false, "hideControls": false,
"sharedCrosshair": false, "id": null,
"links": [],
"rows": [ "rows": [
{ {
"collapse": false, "collapse": false,
"editable": true,
"height": "250px", "height": "250px",
"panels": [ "panels": [
{ {
@@ -24,16 +29,13 @@
"CPU user time": "#EAB839" "CPU user time": "#EAB839"
}, },
"bars": false, "bars": false,
"datasource": "$datasource", "dashLength": 10,
"dashes": false,
"datasource": "${DS_NAME}",
"editable": true, "editable": true,
"error": false, "error": false,
"fill": 3, "fill": 3,
"grid": { "grid": {},
"threshold1": null,
"threshold1Color": "rgba(216, 200, 27, 0.27)",
"threshold2": null,
"threshold2Color": "rgba(234, 112, 112, 0.22)"
},
"id": 1, "id": 1,
"legend": { "legend": {
"avg": false, "avg": false,
@@ -53,6 +55,7 @@
"points": false, "points": false,
"renderer": "flot", "renderer": "flot",
"seriesOverrides": [], "seriesOverrides": [],
"spaceLength": 10,
"span": 6, "span": 6,
"stack": true, "stack": true,
"steppedLine": false, "steppedLine": false,
@@ -61,6 +64,7 @@
"application": { "application": {
"filter": "CPU" "filter": "CPU"
}, },
"countTriggers": true,
"functions": [], "functions": [],
"group": { "group": {
"filter": "$group" "filter": "$group"
@@ -71,21 +75,31 @@
"item": { "item": {
"filter": "/CPU/" "filter": "/CPU/"
}, },
"minSeverity": 3,
"mode": 0, "mode": 0,
"options": {
"showDisabledItems": false
},
"refId": "A" "refId": "A"
} }
], ],
"thresholds": [],
"timeFrom": null, "timeFrom": null,
"timeShift": null, "timeShift": null,
"title": "CPU", "title": "CPU",
"tooltip": { "tooltip": {
"msResolution": false, "msResolution": false,
"shared": true, "shared": true,
"sort": 0,
"value_type": "individual" "value_type": "individual"
}, },
"type": "graph", "type": "graph",
"xaxis": { "xaxis": {
"show": true "buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
}, },
"yaxes": [ "yaxes": [
{ {
@@ -109,16 +123,13 @@
"Processor load (1 min average per core)": "#1F78C1" "Processor load (1 min average per core)": "#1F78C1"
}, },
"bars": false, "bars": false,
"datasource": "$datasource", "dashLength": 10,
"dashes": false,
"datasource": "${DS_NAME}",
"editable": true, "editable": true,
"error": false, "error": false,
"fill": 1, "fill": 1,
"grid": { "grid": {},
"threshold1": null,
"threshold1Color": "rgba(216, 200, 27, 0.27)",
"threshold2": null,
"threshold2Color": "rgba(234, 112, 112, 0.22)"
},
"id": 2, "id": 2,
"legend": { "legend": {
"avg": false, "avg": false,
@@ -138,6 +149,7 @@
"points": false, "points": false,
"renderer": "flot", "renderer": "flot",
"seriesOverrides": [], "seriesOverrides": [],
"spaceLength": 10,
"span": 6, "span": 6,
"stack": false, "stack": false,
"steppedLine": false, "steppedLine": false,
@@ -146,6 +158,7 @@
"application": { "application": {
"filter": "CPU" "filter": "CPU"
}, },
"countTriggers": true,
"functions": [], "functions": [],
"group": { "group": {
"filter": "$group" "filter": "$group"
@@ -156,21 +169,31 @@
"item": { "item": {
"filter": "Processor load (15 min average per core)" "filter": "Processor load (15 min average per core)"
}, },
"minSeverity": 3,
"mode": 0, "mode": 0,
"options": {
"showDisabledItems": false
},
"refId": "A" "refId": "A"
} }
], ],
"thresholds": [],
"timeFrom": null, "timeFrom": null,
"timeShift": null, "timeShift": null,
"title": "System load", "title": "System load",
"tooltip": { "tooltip": {
"msResolution": false, "msResolution": false,
"shared": true, "shared": true,
"sort": 0,
"value_type": "cumulative" "value_type": "cumulative"
}, },
"type": "graph", "type": "graph",
"xaxis": { "xaxis": {
"show": true "buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
}, },
"yaxes": [ "yaxes": [
{ {
@@ -190,27 +213,27 @@
] ]
} }
], ],
"repeat": null,
"repeatIteration": null,
"repeatRowId": null,
"showTitle": true, "showTitle": true,
"title": "CPU" "title": "CPU",
"titleSize": "h6"
}, },
{ {
"collapse": false, "collapse": false,
"editable": true,
"height": "250px", "height": "250px",
"panels": [ "panels": [
{ {
"aliasColors": {}, "aliasColors": {},
"bars": false, "bars": false,
"datasource": "$datasource", "dashLength": 10,
"dashes": false,
"datasource": "${DS_NAME}",
"editable": true, "editable": true,
"error": false, "error": false,
"fill": 3, "fill": 3,
"grid": { "grid": {},
"threshold1": null,
"threshold1Color": "rgba(216, 200, 27, 0.27)",
"threshold2": null,
"threshold2Color": "rgba(234, 112, 112, 0.22)"
},
"id": 3, "id": 3,
"legend": { "legend": {
"alignAsTable": false, "alignAsTable": false,
@@ -233,20 +256,14 @@
"points": false, "points": false,
"renderer": "flot", "renderer": "flot",
"repeat": "netif", "repeat": "netif",
"scopedVars": {
"netif": {
"text": "eth0",
"value": "eth0",
"selected": false
}
},
"seriesOverrides": [ "seriesOverrides": [
{ {
"alias": "/Incoming/", "alias": "/Incoming/",
"transform": "negative-Y" "transform": "negative-Y"
} }
], ],
"span": 6, "spaceLength": 10,
"span": 12,
"stack": false, "stack": false,
"steppedLine": false, "steppedLine": false,
"targets": [ "targets": [
@@ -254,6 +271,7 @@
"application": { "application": {
"filter": "" "filter": ""
}, },
"countTriggers": true,
"functions": [], "functions": [],
"group": { "group": {
"filter": "$group" "filter": "$group"
@@ -264,21 +282,31 @@
"item": { "item": {
"filter": "/$netif/" "filter": "/$netif/"
}, },
"minSeverity": 3,
"mode": 0, "mode": 0,
"options": {
"showDisabledItems": false
},
"refId": "A" "refId": "A"
} }
], ],
"thresholds": [],
"timeFrom": null, "timeFrom": null,
"timeShift": null, "timeShift": null,
"title": "Network traffic on $netif", "title": "Network traffic on $netif",
"tooltip": { "tooltip": {
"msResolution": false, "msResolution": false,
"shared": true, "shared": true,
"sort": 0,
"value_type": "cumulative" "value_type": "cumulative"
}, },
"type": "graph", "type": "graph",
"xaxis": { "xaxis": {
"show": true "buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
}, },
"yaxes": [ "yaxes": [
{ {
@@ -296,113 +324,96 @@
"show": true "show": true
} }
] ]
},
{
"aliasColors": {},
"bars": false,
"datasource": "$datasource",
"editable": true,
"error": false,
"fill": 3,
"grid": {
"threshold1": null,
"threshold1Color": "rgba(216, 200, 27, 0.27)",
"threshold2": null,
"threshold2Color": "rgba(234, 112, 112, 0.22)"
},
"id": 4,
"legend": {
"alignAsTable": false,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"links": [],
"minSpan": 4,
"nullPointMode": "connected",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"repeat": null,
"scopedVars": {
"netif": {
"text": "eth1",
"value": "eth1",
"selected": false
}
},
"seriesOverrides": [
{
"alias": "/Incoming/",
"transform": "negative-Y"
}
],
"span": 6,
"stack": false,
"steppedLine": false,
"targets": [
{
"application": {
"filter": ""
},
"functions": [],
"group": {
"filter": "$group"
},
"host": {
"filter": "$host"
},
"item": {
"filter": "/$netif/"
},
"mode": 0,
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Network traffic on $netif",
"tooltip": {
"msResolution": false,
"shared": true,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"show": true
},
"yaxes": [
{
"format": "bps",
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"repeatIteration": 1460635040618,
"repeatPanelId": 3
} }
], ],
"repeat": null,
"repeatIteration": null,
"repeatRowId": null,
"showTitle": true, "showTitle": true,
"title": "Network" "title": "Network",
"titleSize": "h6"
} }
], ],
"schemaVersion": 14,
"style": "dark",
"tags": [
"zabbix",
"example"
],
"templating": {
"list": [
{
"allFormat": "regex values",
"allValue": null,
"current": {},
"datasource": "${DS_NAME}",
"hide": 0,
"includeAll": false,
"label": "Group",
"multi": false,
"multiFormat": "glob",
"name": "group",
"options": [],
"query": "*",
"refresh": 1,
"refresh_on_load": false,
"regex": "",
"sort": 0,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"allFormat": "glob",
"allValue": null,
"current": {},
"datasource": "${DS_NAME}",
"hide": 0,
"includeAll": false,
"label": "Host",
"multi": false,
"multiFormat": "glob",
"name": "host",
"options": [],
"query": "$group.*",
"refresh": 1,
"refresh_on_load": false,
"regex": "",
"sort": 0,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"allFormat": "regex values",
"allValue": null,
"current": {},
"datasource": "${DS_NAME}",
"hide": 0,
"hideLabel": false,
"includeAll": true,
"label": "Network interface",
"multi": true,
"multiFormat": "regex values",
"name": "netif",
"options": [],
"query": "*.$host.Network interfaces.*",
"refresh": 1,
"refresh_on_load": false,
"regex": "/(?:Incoming|Outgoing) network traffic on (.*)/",
"sort": 0,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
}
]
},
"time": { "time": {
"from": "now-3h", "from": "now-3h",
"to": "now" "to": "now"
@@ -432,77 +443,5 @@
"30d" "30d"
] ]
}, },
"templating": { "timezone": "browser"
"list": [
{
"current": {},
"hide": 0,
"label": "Zabbix Data Source",
"name": "datasource",
"options": [],
"query": "alexanderzobnin-zabbix-datasource",
"refresh": 1,
"regex": "",
"type": "datasource"
},
{
"allFormat": "regex values",
"current": {},
"datasource": "$datasource",
"hide": 0,
"includeAll": false,
"label": "Group",
"multi": false,
"multiFormat": "glob",
"name": "group",
"options": [],
"query": "*",
"refresh": 1,
"refresh_on_load": false,
"regex": "",
"type": "query"
},
{
"allFormat": "glob",
"current": {},
"datasource": "$datasource",
"hide": 0,
"includeAll": false,
"label": "Host",
"multi": false,
"multiFormat": "glob",
"name": "host",
"options": [],
"query": "$group.*",
"refresh": 1,
"refresh_on_load": false,
"regex": "",
"type": "query"
},
{
"allFormat": "regex values",
"current": {},
"datasource": "$datasource",
"hide": 0,
"hideLabel": false,
"includeAll": true,
"label": "Network interface",
"multi": true,
"multiFormat": "regex values",
"name": "netif",
"options": [],
"query": "*.$host.Network interfaces.*",
"refresh": 1,
"refresh_on_load": false,
"regex": "/(?:Incoming|Outgoing) network traffic on (.*)/",
"type": "query"
}
]
},
"annotations": {
"list": []
},
"schemaVersion": 12,
"version": 9,
"links": []
} }

View File

@@ -3,6 +3,19 @@
"name": "Zabbix", "name": "Zabbix",
"id": "alexanderzobnin-zabbix-datasource", "id": "alexanderzobnin-zabbix-datasource",
"includes": [
{
"type": "dashboard",
"name": "Zabbix System Status",
"path": "../dashboards/zabbix_system_status.json"
},
{
"type": "dashboard",
"name": "Zabbix Template Linux Server",
"path": "../dashboards/template_linux_server.json"
}
],
"metrics": true, "metrics": true,
"annotations": true, "annotations": true,

View File

@@ -45,12 +45,6 @@
"path": "dashboards/zabbix_server_dashboard.json", "path": "dashboards/zabbix_server_dashboard.json",
"addToNav": true, "addToNav": true,
"defaultNav": true "defaultNav": true
},
{
"type": "dashboard",
"name": "Template Linux Server",
"path": "dashboards/template_linux_server.json",
"addToNav": true
} }
], ],