Merge pull request #1896 from grafana/update-dashboards

Update example dashboards
This commit is contained in:
Zoltán Bedi
2024-10-21 12:54:46 +02:00
committed by GitHub
6 changed files with 2946 additions and 1665 deletions

View File

@@ -3,7 +3,10 @@
"list": [ "list": [
{ {
"builtIn": 1, "builtIn": 1,
"datasource": "-- Grafana --", "datasource": {
"type": "datasource",
"uid": "grafana"
},
"enable": true, "enable": true,
"hide": true, "hide": true,
"iconColor": "rgba(0, 211, 255, 1)", "iconColor": "rgba(0, 211, 255, 1)",
@@ -21,12 +24,15 @@
"editable": true, "editable": true,
"fiscalYearStartMonth": 0, "fiscalYearStartMonth": 0,
"graphTooltip": 0, "graphTooltip": 0,
"iteration": 1651660898062,
"links": [], "links": [],
"liveNow": false, "liveNow": false,
"panels": [ "panels": [
{ {
"collapsed": false, "collapsed": false,
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "PCAF1C06DCF802728"
},
"gridPos": { "gridPos": {
"h": 1, "h": 1,
"w": 24, "w": 24,
@@ -35,66 +41,158 @@
}, },
"id": 4, "id": 4,
"panels": [], "panels": [],
"title": "CPU", "targets": [
"type": "row"
},
{ {
"aliasColors": {
"CPU iowait time": "#B7DBAB",
"CPU system time": "#BF1B00",
"CPU user time": "#EAB839"
},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": { "datasource": {
"type": "alexanderzobnin-zabbix-datasource", "type": "alexanderzobnin-zabbix-datasource",
"uid": "PCAF1C06DCF802728" "uid": "PCAF1C06DCF802728"
}, },
"editable": true, "refId": "A"
"error": false, }
"fill": 3, ],
"fillGradient": 0, "title": "CPU",
"grid": {}, "type": "row"
},
{
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "PCAF1C06DCF802728"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 30,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": true,
"stacking": {
"group": "A",
"mode": "normal"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "percent"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "CPU iowait time"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "#B7DBAB",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "CPU system time"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "#BF1B00",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "CPU user time"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "#EAB839",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": { "gridPos": {
"h": 7, "h": 7,
"w": 12, "w": 12,
"x": 0, "x": 0,
"y": 1 "y": 1
}, },
"hiddenSeries": false,
"id": 1, "id": 1,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [], "links": [],
"nullPointMode": "connected",
"options": { "options": {
"alertThreshold": true "legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
}, },
"percentage": false, "tooltip": {
"pluginVersion": "8.4.7", "mode": "multi",
"pointradius": 2, "sort": "none"
"points": false, }
"renderer": "flot", },
"seriesOverrides": [], "pluginVersion": "10.1.2",
"spaceLength": 10,
"stack": true,
"steppedLine": false,
"targets": [ "targets": [
{ {
"application": { "application": {
"filter": "CPU" "filter": "CPU"
}, },
"countTriggers": true, "countTriggers": true,
"countTriggersBy": "",
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "PCAF1C06DCF802728"
},
"evaltype": "0",
"functions": [], "functions": [],
"group": { "group": {
"filter": "$group" "filter": "$group"
@@ -105,102 +203,153 @@
"item": { "item": {
"filter": "/CPU/" "filter": "/CPU/"
}, },
"itemTag": {
"filter": ""
},
"macro": {
"filter": ""
},
"minSeverity": 3, "minSeverity": 3,
"mode": 0, "mode": 0,
"options": { "options": {
"showDisabledItems": false "count": false,
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useTrends": "default",
"useZabbixValueMapping": false
}, },
"refId": "A" "proxy": {
"filter": ""
},
"queryType": "0",
"refId": "A",
"resultFormat": "time_series",
"schema": 12,
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"textFilter": "",
"trigger": {
"filter": ""
}
} }
], ],
"thresholds": [],
"timeRegions": [],
"title": "CPU", "title": "CPU",
"tooltip": { "type": "timeseries"
"msResolution": false,
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "percent",
"logBase": 1,
"max": 100,
"min": 0,
"show": true
}, },
{ {
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {
"Processor load (1 min average per core)": "#1F78C1"
},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": { "datasource": {
"type": "alexanderzobnin-zabbix-datasource", "type": "alexanderzobnin-zabbix-datasource",
"uid": "PCAF1C06DCF802728" "uid": "PCAF1C06DCF802728"
}, },
"editable": true, "fieldConfig": {
"error": false, "defaults": {
"fill": 1, "color": {
"fillGradient": 0, "mode": "palette-classic"
"grid": {}, },
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 2,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": true,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Processor load (1 min average per core)"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "#1F78C1",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": { "gridPos": {
"h": 7, "h": 7,
"w": 12, "w": 12,
"x": 12, "x": 12,
"y": 1 "y": 1
}, },
"hiddenSeries": false,
"id": 2, "id": 2,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"links": [], "links": [],
"nullPointMode": "connected",
"options": { "options": {
"alertThreshold": true "legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
}, },
"percentage": false, "tooltip": {
"pluginVersion": "8.4.7", "mode": "multi",
"pointradius": 5, "sort": "none"
"points": false, }
"renderer": "flot", },
"seriesOverrides": [], "pluginVersion": "10.1.2",
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [ "targets": [
{ {
"application": { "application": {
"filter": "CPU" "filter": "CPU"
}, },
"countTriggers": true, "countTriggers": true,
"countTriggersBy": "",
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "PCAF1C06DCF802728"
},
"evaltype": "0",
"functions": [], "functions": [],
"group": { "group": {
"filter": "$group" "filter": "$group"
@@ -211,48 +360,50 @@
"item": { "item": {
"filter": "Processor load (15 min average per core)" "filter": "Processor load (15 min average per core)"
}, },
"itemTag": {
"filter": ""
},
"macro": {
"filter": ""
},
"minSeverity": 3, "minSeverity": 3,
"mode": 0, "mode": 0,
"options": { "options": {
"showDisabledItems": false "count": false,
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useTrends": "default",
"useZabbixValueMapping": false
}, },
"refId": "A" "proxy": {
"filter": ""
},
"queryType": "0",
"refId": "A",
"resultFormat": "time_series",
"schema": 12,
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"textFilter": "",
"trigger": {
"filter": ""
}
} }
], ],
"thresholds": [],
"timeRegions": [],
"title": "System load", "title": "System load",
"tooltip": { "type": "timeseries"
"msResolution": false,
"shared": true,
"sort": 0,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
}, },
{ {
"collapsed": false, "collapsed": false,
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "PCAF1C06DCF802728"
},
"gridPos": { "gridPos": {
"h": 1, "h": 1,
"w": 24, "w": 24,
@@ -261,71 +412,124 @@
}, },
"id": 5, "id": 5,
"panels": [], "panels": [],
"title": "Network", "targets": [
"type": "row"
},
{ {
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": { "datasource": {
"type": "alexanderzobnin-zabbix-datasource", "type": "alexanderzobnin-zabbix-datasource",
"uid": "PCAF1C06DCF802728" "uid": "PCAF1C06DCF802728"
}, },
"editable": true, "refId": "A"
"error": false, }
"fill": 3, ],
"fillGradient": 0, "title": "Network",
"grid": {}, "type": "row"
},
{
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "PCAF1C06DCF802728"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 30,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 2,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": true,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "bps"
},
"overrides": [
{
"matcher": {
"id": "byRegexp",
"options": "/Incoming/"
},
"properties": [
{
"id": "custom.transform",
"value": "negative-Y"
}
]
}
]
},
"gridPos": { "gridPos": {
"h": 7, "h": 7,
"w": 24, "w": 24,
"x": 0, "x": 0,
"y": 9 "y": 9
}, },
"hiddenSeries": false,
"id": 3, "id": 3,
"legend": {
"alignAsTable": false,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"links": [], "links": [],
"maxPerRow": 3,
"nullPointMode": "connected",
"options": { "options": {
"alertThreshold": true "legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
}, },
"percentage": false, "tooltip": {
"pluginVersion": "8.4.7", "mode": "multi",
"pointradius": 5, "sort": "none"
"points": false,
"renderer": "flot",
"repeat": "netif",
"seriesOverrides": [
{
"alias": "/Incoming/",
"transform": "negative-Y"
} }
], },
"spaceLength": 10, "pluginVersion": "10.1.2",
"stack": false, "repeat": "netif",
"steppedLine": false,
"targets": [ "targets": [
{ {
"application": { "application": {
"filter": "" "filter": ""
}, },
"countTriggers": true, "countTriggers": true,
"countTriggersBy": "",
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "PCAF1C06DCF802728"
},
"evaltype": "0",
"functions": [], "functions": [],
"group": { "group": {
"filter": "$group" "filter": "$group"
@@ -336,61 +540,58 @@
"item": { "item": {
"filter": "/$netif/" "filter": "/$netif/"
}, },
"itemTag": {
"filter": ""
},
"macro": {
"filter": ""
},
"minSeverity": 3, "minSeverity": 3,
"mode": 0, "mode": 0,
"options": { "options": {
"showDisabledItems": false "count": false,
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useTrends": "default",
"useZabbixValueMapping": false
}, },
"refId": "A" "proxy": {
"filter": ""
},
"queryType": "0",
"refId": "A",
"resultFormat": "time_series",
"schema": 12,
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"textFilter": "",
"trigger": {
"filter": ""
}
} }
], ],
"thresholds": [],
"timeRegions": [],
"title": "Network traffic on $netif", "title": "Network traffic on $netif",
"tooltip": { "type": "timeseries"
"msResolution": false,
"shared": true,
"sort": 0,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "bps",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
} }
], ],
"refresh": "",
"revision": 1, "revision": 1,
"schemaVersion": 35, "schemaVersion": 38,
"style": "dark", "style": "dark",
"tags": [ "tags": ["zabbix", "example"],
"zabbix",
"example"
],
"templating": { "templating": {
"list": [ "list": [
{ {
"allFormat": "regex values", "allFormat": "regex values",
"current": { "current": {
"selected": true, "selected": true,
"text": "Backend", "text": "Frontend",
"value": "Backend" "value": "Frontend"
}, },
"datasource": { "datasource": {
"type": "alexanderzobnin-zabbix-datasource", "type": "alexanderzobnin-zabbix-datasource",
@@ -424,9 +625,9 @@
{ {
"allFormat": "glob", "allFormat": "glob",
"current": { "current": {
"selected": true, "selected": false,
"text": "backend01", "text": "frontend01",
"value": "backend01" "value": "frontend01"
}, },
"datasource": { "datasource": {
"type": "alexanderzobnin-zabbix-datasource", "type": "alexanderzobnin-zabbix-datasource",
@@ -460,9 +661,9 @@
{ {
"allFormat": "regex values", "allFormat": "regex values",
"current": { "current": {
"selected": false, "selected": true,
"text": "All", "text": ["All"],
"value": "$__all" "value": ["$__all"]
}, },
"datasource": { "datasource": {
"type": "alexanderzobnin-zabbix-datasource", "type": "alexanderzobnin-zabbix-datasource",
@@ -502,28 +703,8 @@
}, },
"timepicker": { "timepicker": {
"now": true, "now": true,
"refresh_intervals": [ "refresh_intervals": ["30s", "1m", "5m", "15m", "30m", "1h", "3h", "2h", "1d"],
"30s", "time_options": ["5m", "15m", "1h", "6h", "12h", "24h", "2d", "7d", "30d"]
"1m",
"5m",
"15m",
"30m",
"1h",
"3h",
"2h",
"1d"
],
"time_options": [
"5m",
"15m",
"1h",
"6h",
"12h",
"24h",
"2d",
"7d",
"30d"
]
}, },
"timezone": "browser", "timezone": "browser",
"title": "Template Linux Server", "title": "Template Linux Server",

View File

@@ -3,7 +3,10 @@
"list": [ "list": [
{ {
"builtIn": 1, "builtIn": 1,
"datasource": "-- Grafana --", "datasource": {
"type": "datasource",
"uid": "grafana"
},
"enable": true, "enable": true,
"hide": true, "hide": true,
"iconColor": "rgba(0, 211, 255, 1)", "iconColor": "rgba(0, 211, 255, 1)",
@@ -21,7 +24,6 @@
"editable": true, "editable": true,
"fiscalYearStartMonth": 0, "fiscalYearStartMonth": 0,
"graphTooltip": 0, "graphTooltip": 0,
"id": 3,
"links": [], "links": [],
"liveNow": false, "liveNow": false,
"panels": [ "panels": [
@@ -30,6 +32,10 @@
"ackField": true, "ackField": true,
"ageField": false, "ageField": false,
"customLastChangeFormat": false, "customLastChangeFormat": false,
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "PCAF1C06DCF802728"
},
"descriptionAtNewLine": false, "descriptionAtNewLine": false,
"descriptionField": true, "descriptionField": true,
"fontSize": "100%", "fontSize": "100%",
@@ -51,9 +57,84 @@
"layout": "table", "layout": "table",
"markAckEvents": false, "markAckEvents": false,
"okEventColor": "rgb(56, 189, 113)", "okEventColor": "rgb(56, 189, 113)",
"options": {
"ackEventColor": "rgb(56, 219, 156)",
"ackField": true,
"ageField": false,
"allowDangerousHTML": false,
"customLastChangeFormat": false,
"descriptionAtNewLine": false,
"descriptionField": true,
"fontSize": "100%",
"highlightBackground": false,
"highlightNewEvents": false,
"highlightNewerThan": "1h",
"hostField": true,
"hostGroups": false,
"hostProxy": false,
"hostTechNameField": false,
"lastChangeFormat": "",
"layout": "table",
"markAckEvents": false,
"okEventColor": "rgb(56, 189, 113)",
"opdataField": false,
"pageSize": 10, "pageSize": 10,
"problemTimeline": true, "problemTimeline": true,
"resizedColumns": [], "resizedColumns": [],
"severityField": true,
"showTags": true,
"sortProblems": "lastchange",
"statusField": true,
"statusIcon": false,
"triggerSeverity": [
{
"$$hashKey": "object:127",
"color": "rgb(108, 108, 108)",
"priority": 0,
"severity": "Not classified",
"show": true
},
{
"$$hashKey": "object:128",
"color": "rgb(120, 158, 183)",
"priority": 1,
"severity": "Information",
"show": true
},
{
"$$hashKey": "object:129",
"color": "rgb(175, 180, 36)",
"priority": 2,
"severity": "Warning",
"show": true
},
{
"$$hashKey": "object:130",
"color": "rgb(255, 137, 30)",
"priority": 3,
"severity": "Average",
"show": true
},
{
"$$hashKey": "object:131",
"color": "rgb(255, 101, 72)",
"priority": 4,
"severity": "High",
"show": true
},
{
"$$hashKey": "object:132",
"color": "rgb(215, 0, 0)",
"priority": 5,
"severity": "Disaster",
"show": true
}
]
},
"pageSize": 10,
"pluginVersion": "10.1.2",
"problemTimeline": true,
"resizedColumns": [],
"schemaVersion": 8, "schemaVersion": 8,
"severityField": true, "severityField": true,
"showTags": true, "showTags": true,
@@ -65,10 +146,12 @@
"application": { "application": {
"filter": "" "filter": ""
}, },
"countTriggersBy": "",
"datasource": { "datasource": {
"type": "alexanderzobnin-zabbix-datasource", "type": "alexanderzobnin-zabbix-datasource",
"uid": "PCAF1C06DCF802728" "uid": "PCAF1C06DCF802728"
}, },
"evaltype": "0",
"functions": [], "functions": [],
"group": { "group": {
"filter": "" "filter": ""
@@ -82,16 +165,22 @@
"itemTag": { "itemTag": {
"filter": "" "filter": ""
}, },
"macro": {
"filter": ""
},
"options": { "options": {
"acknowledged": 2, "acknowledged": 2,
"count": true,
"disableDataAlignment": false, "disableDataAlignment": false,
"hostProxy": false, "hostProxy": false,
"hostsInMaintenance": false, "hostsInMaintenance": false,
"limit": 1001, "limit": 1001,
"minSeverity": 0, "minSeverity": 3,
"showDisabledItems": false, "showDisabledItems": false,
"skipEmptyValues": false, "skipEmptyValues": false,
"sortProblems": "default", "sortProblems": "default",
"useTimeRange": false,
"useTrends": "default",
"useZabbixValueMapping": false "useZabbixValueMapping": false
}, },
"proxy": { "proxy": {
@@ -100,6 +189,7 @@
"queryType": "5", "queryType": "5",
"refId": "A", "refId": "A",
"resultFormat": "time_series", "resultFormat": "time_series",
"schema": 12,
"showProblems": "problems", "showProblems": "problems",
"table": { "table": {
"skipEmptyValues": false "skipEmptyValues": false
@@ -107,13 +197,12 @@
"tags": { "tags": {
"filter": "" "filter": ""
}, },
"textFilter": "",
"trigger": { "trigger": {
"filter": "" "filter": ""
}, },
"triggers": { "triggers": {
"acknowledged": 2, "acknowledged": 2
"count": true,
"minSeverity": 3
} }
} }
], ],
@@ -165,6 +254,10 @@
"type": "alexanderzobnin-zabbix-triggers-panel" "type": "alexanderzobnin-zabbix-triggers-panel"
}, },
{ {
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "PCAF1C06DCF802728"
},
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
"color": { "color": {
@@ -200,24 +293,24 @@
"justifyMode": "auto", "justifyMode": "auto",
"orientation": "auto", "orientation": "auto",
"reduceOptions": { "reduceOptions": {
"calcs": [ "calcs": ["lastNotNull"],
"lastNotNull"
],
"fields": "/^Host$/", "fields": "/^Host$/",
"values": false "values": false
}, },
"textMode": "value" "textMode": "value"
}, },
"pluginVersion": "8.4.7", "pluginVersion": "10.1.2",
"targets": [ "targets": [
{ {
"application": { "application": {
"filter": "" "filter": ""
}, },
"countTriggersBy": "",
"datasource": { "datasource": {
"type": "alexanderzobnin-zabbix-datasource", "type": "alexanderzobnin-zabbix-datasource",
"uid": "PCAF1C06DCF802728" "uid": "PCAF1C06DCF802728"
}, },
"evaltype": "0",
"functions": [], "functions": [],
"group": { "group": {
"filter": "Linux servers" "filter": "Linux servers"
@@ -231,10 +324,16 @@
"itemTag": { "itemTag": {
"filter": "" "filter": ""
}, },
"macro": {
"filter": ""
},
"options": { "options": {
"count": true,
"disableDataAlignment": false, "disableDataAlignment": false,
"minSeverity": 3,
"showDisabledItems": false, "showDisabledItems": false,
"skipEmptyValues": false, "skipEmptyValues": false,
"useTrends": "default",
"useZabbixValueMapping": false "useZabbixValueMapping": false
}, },
"proxy": { "proxy": {
@@ -243,19 +342,19 @@
"queryType": "2", "queryType": "2",
"refId": "A", "refId": "A",
"resultFormat": "table", "resultFormat": "table",
"schema": 12,
"table": { "table": {
"skipEmptyValues": false "skipEmptyValues": false
}, },
"tags": { "tags": {
"filter": "" "filter": ""
}, },
"textFilter": "",
"trigger": { "trigger": {
"filter": "" "filter": ""
}, },
"triggers": { "triggers": {
"acknowledged": 2, "acknowledged": 2
"count": true,
"minSeverity": 3
} }
} }
], ],
@@ -263,6 +362,10 @@
"type": "stat" "type": "stat"
}, },
{ {
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "PCAF1C06DCF802728"
},
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
"color": { "color": {
@@ -298,24 +401,24 @@
"justifyMode": "auto", "justifyMode": "auto",
"orientation": "auto", "orientation": "auto",
"reduceOptions": { "reduceOptions": {
"calcs": [ "calcs": ["lastNotNull"],
"lastNotNull"
],
"fields": "", "fields": "",
"values": false "values": false
}, },
"textMode": "auto" "textMode": "auto"
}, },
"pluginVersion": "8.4.7", "pluginVersion": "10.1.2",
"targets": [ "targets": [
{ {
"application": { "application": {
"filter": "" "filter": ""
}, },
"countTriggersBy": "",
"datasource": { "datasource": {
"type": "alexanderzobnin-zabbix-datasource", "type": "alexanderzobnin-zabbix-datasource",
"uid": "PCAF1C06DCF802728" "uid": "PCAF1C06DCF802728"
}, },
"evaltype": "0",
"functions": [], "functions": [],
"group": { "group": {
"filter": "Zabbix servers" "filter": "Zabbix servers"
@@ -329,10 +432,16 @@
"itemTag": { "itemTag": {
"filter": "component: cpu" "filter": "component: cpu"
}, },
"macro": {
"filter": ""
},
"options": { "options": {
"count": true,
"disableDataAlignment": false, "disableDataAlignment": false,
"minSeverity": 3,
"showDisabledItems": false, "showDisabledItems": false,
"skipEmptyValues": false, "skipEmptyValues": false,
"useTrends": "default",
"useZabbixValueMapping": false "useZabbixValueMapping": false
}, },
"proxy": { "proxy": {
@@ -341,19 +450,19 @@
"queryType": "0", "queryType": "0",
"refId": "A", "refId": "A",
"resultFormat": "time_series", "resultFormat": "time_series",
"schema": 12,
"table": { "table": {
"skipEmptyValues": false "skipEmptyValues": false
}, },
"tags": { "tags": {
"filter": "" "filter": ""
}, },
"textFilter": "",
"trigger": { "trigger": {
"filter": "" "filter": ""
}, },
"triggers": { "triggers": {
"acknowledged": 2, "acknowledged": 2
"count": true,
"minSeverity": 3
} }
} }
], ],
@@ -361,12 +470,18 @@
"type": "stat" "type": "stat"
}, },
{ {
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "PCAF1C06DCF802728"
},
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
"color": { "color": {
"mode": "palette-classic" "mode": "palette-classic"
}, },
"custom": { "custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "", "axisLabel": "",
"axisPlacement": "auto", "axisPlacement": "auto",
"barAlignment": 0, "barAlignment": 0,
@@ -378,6 +493,7 @@
"tooltip": false, "tooltip": false,
"viz": false "viz": false
}, },
"insertNulls": false,
"lineInterpolation": "linear", "lineInterpolation": "linear",
"lineWidth": 1, "lineWidth": 1,
"pointSize": 5, "pointSize": 5,
@@ -422,7 +538,8 @@
"legend": { "legend": {
"calcs": [], "calcs": [],
"displayMode": "list", "displayMode": "list",
"placement": "bottom" "placement": "bottom",
"showLegend": true
}, },
"tooltip": { "tooltip": {
"mode": "single", "mode": "single",
@@ -434,10 +551,12 @@
"application": { "application": {
"filter": "" "filter": ""
}, },
"countTriggersBy": "",
"datasource": { "datasource": {
"type": "alexanderzobnin-zabbix-datasource", "type": "alexanderzobnin-zabbix-datasource",
"uid": "PCAF1C06DCF802728" "uid": "PCAF1C06DCF802728"
}, },
"evaltype": "0",
"functions": [], "functions": [],
"group": { "group": {
"filter": "Linux servers" "filter": "Linux servers"
@@ -451,10 +570,16 @@
"itemTag": { "itemTag": {
"filter": "" "filter": ""
}, },
"macro": {
"filter": ""
},
"options": { "options": {
"count": true,
"disableDataAlignment": false, "disableDataAlignment": false,
"minSeverity": 3,
"showDisabledItems": false, "showDisabledItems": false,
"skipEmptyValues": false, "skipEmptyValues": false,
"useTrends": "default",
"useZabbixValueMapping": false "useZabbixValueMapping": false
}, },
"proxy": { "proxy": {
@@ -463,19 +588,19 @@
"queryType": "0", "queryType": "0",
"refId": "A", "refId": "A",
"resultFormat": "time_series", "resultFormat": "time_series",
"schema": 12,
"table": { "table": {
"skipEmptyValues": false "skipEmptyValues": false
}, },
"tags": { "tags": {
"filter": "" "filter": ""
}, },
"textFilter": "",
"trigger": { "trigger": {
"filter": "" "filter": ""
}, },
"triggers": { "triggers": {
"acknowledged": 2, "acknowledged": 2
"count": true,
"minSeverity": 3
} }
} }
], ],
@@ -483,12 +608,18 @@
"type": "timeseries" "type": "timeseries"
}, },
{ {
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "PCAF1C06DCF802728"
},
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
"color": { "color": {
"mode": "palette-classic" "mode": "palette-classic"
}, },
"custom": { "custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "", "axisLabel": "",
"axisPlacement": "auto", "axisPlacement": "auto",
"barAlignment": 0, "barAlignment": 0,
@@ -500,6 +631,7 @@
"tooltip": false, "tooltip": false,
"viz": false "viz": false
}, },
"insertNulls": false,
"lineInterpolation": "linear", "lineInterpolation": "linear",
"lineWidth": 1, "lineWidth": 1,
"pointSize": 5, "pointSize": 5,
@@ -579,7 +711,8 @@
"legend": { "legend": {
"calcs": [], "calcs": [],
"displayMode": "list", "displayMode": "list",
"placement": "bottom" "placement": "bottom",
"showLegend": true
}, },
"tooltip": { "tooltip": {
"mode": "single", "mode": "single",
@@ -630,28 +763,25 @@
"filter": "" "filter": ""
}, },
"triggers": { "triggers": {
"acknowledged": 2, "acknowledged": 2
"count": true,
"minSeverity": 3
} }
}, },
{ {
"application": { "application": {
"filter": "" "filter": ""
}, },
"countTriggersBy": "",
"datasource": { "datasource": {
"type": "alexanderzobnin-zabbix-datasource", "type": "alexanderzobnin-zabbix-datasource",
"uid": "PCAF1C06DCF802728" "uid": "PCAF1C06DCF802728"
}, },
"evaltype": "0",
"functions": [ "functions": [
{ {
"$$hashKey": "object:577", "$$hashKey": "object:577",
"def": { "def": {
"category": "Aggregate", "category": "Aggregate",
"defaultParams": [ "defaultParams": ["1m", "avg"],
"1m",
"avg"
],
"name": "aggregateBy", "name": "aggregateBy",
"params": [ "params": [
{ {
@@ -660,24 +790,12 @@
}, },
{ {
"name": "function", "name": "function",
"options": [ "options": ["avg", "min", "max", "sum", "count", "median", "first", "last"],
"avg",
"min",
"max",
"sum",
"count",
"median",
"first",
"last"
],
"type": "string" "type": "string"
} }
] ]
}, },
"params": [ "params": ["5m", "median"],
"5m",
"median"
],
"text": "aggregateBy(5m, median)" "text": "aggregateBy(5m, median)"
}, },
{ {
@@ -693,9 +811,7 @@
} }
] ]
}, },
"params": [ "params": ["median"],
"median"
],
"text": "setAlias(median)" "text": "setAlias(median)"
} }
], ],
@@ -712,10 +828,16 @@
"itemTag": { "itemTag": {
"filter": "" "filter": ""
}, },
"macro": {
"filter": ""
},
"options": { "options": {
"count": true,
"disableDataAlignment": false, "disableDataAlignment": false,
"minSeverity": 3,
"showDisabledItems": false, "showDisabledItems": false,
"skipEmptyValues": false, "skipEmptyValues": false,
"useTrends": "default",
"useZabbixValueMapping": false "useZabbixValueMapping": false
}, },
"proxy": { "proxy": {
@@ -724,19 +846,19 @@
"queryType": "0", "queryType": "0",
"refId": "B", "refId": "B",
"resultFormat": "time_series", "resultFormat": "time_series",
"schema": 12,
"table": { "table": {
"skipEmptyValues": false "skipEmptyValues": false
}, },
"tags": { "tags": {
"filter": "" "filter": ""
}, },
"textFilter": "",
"trigger": { "trigger": {
"filter": "" "filter": ""
}, },
"triggers": { "triggers": {
"acknowledged": 2, "acknowledged": 2
"count": true,
"minSeverity": 3
} }
} }
], ],
@@ -744,6 +866,10 @@
"type": "timeseries" "type": "timeseries"
}, },
{ {
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "PCAF1C06DCF802728"
},
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
"color": { "color": {
@@ -751,6 +877,8 @@
"seriesBy": "last" "seriesBy": "last"
}, },
"custom": { "custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "", "axisLabel": "",
"axisPlacement": "auto", "axisPlacement": "auto",
"axisSoftMin": 0, "axisSoftMin": 0,
@@ -763,6 +891,7 @@
"tooltip": false, "tooltip": false,
"viz": false "viz": false
}, },
"insertNulls": false,
"lineInterpolation": "smooth", "lineInterpolation": "smooth",
"lineWidth": 2, "lineWidth": 2,
"pointSize": 5, "pointSize": 5,
@@ -807,7 +936,8 @@
"legend": { "legend": {
"calcs": [], "calcs": [],
"displayMode": "list", "displayMode": "list",
"placement": "bottom" "placement": "bottom",
"showLegend": true
}, },
"tooltip": { "tooltip": {
"mode": "single", "mode": "single",
@@ -819,10 +949,12 @@
"application": { "application": {
"filter": "" "filter": ""
}, },
"countTriggersBy": "",
"datasource": { "datasource": {
"type": "alexanderzobnin-zabbix-datasource", "type": "alexanderzobnin-zabbix-datasource",
"uid": "PCAF1C06DCF802728" "uid": "PCAF1C06DCF802728"
}, },
"evaltype": "0",
"functions": [], "functions": [],
"group": { "group": {
"filter": "Zabbix servers" "filter": "Zabbix servers"
@@ -836,10 +968,16 @@
"itemTag": { "itemTag": {
"filter": "component: cpu" "filter": "component: cpu"
}, },
"macro": {
"filter": ""
},
"options": { "options": {
"count": true,
"disableDataAlignment": false, "disableDataAlignment": false,
"minSeverity": 3,
"showDisabledItems": false, "showDisabledItems": false,
"skipEmptyValues": false, "skipEmptyValues": false,
"useTrends": "default",
"useZabbixValueMapping": false "useZabbixValueMapping": false
}, },
"proxy": { "proxy": {
@@ -848,19 +986,19 @@
"queryType": "0", "queryType": "0",
"refId": "A", "refId": "A",
"resultFormat": "time_series", "resultFormat": "time_series",
"schema": 12,
"table": { "table": {
"skipEmptyValues": false "skipEmptyValues": false
}, },
"tags": { "tags": {
"filter": "" "filter": ""
}, },
"textFilter": "",
"trigger": { "trigger": {
"filter": "" "filter": ""
}, },
"triggers": { "triggers": {
"acknowledged": 2, "acknowledged": 2
"count": true,
"minSeverity": 3
} }
} }
], ],
@@ -868,6 +1006,10 @@
"type": "timeseries" "type": "timeseries"
}, },
{ {
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "PCAF1C06DCF802728"
},
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
"color": { "color": {
@@ -875,6 +1017,8 @@
"seriesBy": "last" "seriesBy": "last"
}, },
"custom": { "custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "", "axisLabel": "",
"axisPlacement": "auto", "axisPlacement": "auto",
"axisSoftMin": 0, "axisSoftMin": 0,
@@ -887,6 +1031,7 @@
"tooltip": false, "tooltip": false,
"viz": false "viz": false
}, },
"insertNulls": false,
"lineInterpolation": "smooth", "lineInterpolation": "smooth",
"lineWidth": 1, "lineWidth": 1,
"pointSize": 5, "pointSize": 5,
@@ -947,8 +1092,9 @@
"options": { "options": {
"legend": { "legend": {
"calcs": [], "calcs": [],
"displayMode": "hidden", "displayMode": "list",
"placement": "bottom" "placement": "bottom",
"showLegend": false
}, },
"tooltip": { "tooltip": {
"mode": "single", "mode": "single",
@@ -960,10 +1106,12 @@
"application": { "application": {
"filter": "" "filter": ""
}, },
"countTriggersBy": "",
"datasource": { "datasource": {
"type": "alexanderzobnin-zabbix-datasource", "type": "alexanderzobnin-zabbix-datasource",
"uid": "PCAF1C06DCF802728" "uid": "PCAF1C06DCF802728"
}, },
"evaltype": "0",
"functions": [], "functions": [],
"group": { "group": {
"filter": "Linux servers" "filter": "Linux servers"
@@ -977,10 +1125,16 @@
"itemTag": { "itemTag": {
"filter": "" "filter": ""
}, },
"macro": {
"filter": ""
},
"options": { "options": {
"count": true,
"disableDataAlignment": false, "disableDataAlignment": false,
"minSeverity": 3,
"showDisabledItems": false, "showDisabledItems": false,
"skipEmptyValues": false, "skipEmptyValues": false,
"useTrends": "default",
"useZabbixValueMapping": false "useZabbixValueMapping": false
}, },
"proxy": { "proxy": {
@@ -989,19 +1143,19 @@
"queryType": "0", "queryType": "0",
"refId": "A", "refId": "A",
"resultFormat": "time_series", "resultFormat": "time_series",
"schema": 12,
"table": { "table": {
"skipEmptyValues": false "skipEmptyValues": false
}, },
"tags": { "tags": {
"filter": "" "filter": ""
}, },
"textFilter": "",
"trigger": { "trigger": {
"filter": "" "filter": ""
}, },
"triggers": { "triggers": {
"acknowledged": 2, "acknowledged": 2
"count": true,
"minSeverity": 3
} }
} }
], ],
@@ -1009,7 +1163,8 @@
"type": "timeseries" "type": "timeseries"
} }
], ],
"schemaVersion": 35, "refresh": "",
"schemaVersion": 38,
"style": "dark", "style": "dark",
"tags": [], "tags": [],
"templating": { "templating": {
@@ -1023,6 +1178,6 @@
"timezone": "", "timezone": "",
"title": "Zabbix data source features", "title": "Zabbix data source features",
"uid": "u9mWZdlnk", "uid": "u9mWZdlnk",
"version": 6, "version": 1,
"weekStart": "" "weekStart": ""
} }

View File

@@ -15,7 +15,7 @@ services:
# Zabbix # Zabbix
zabbix-server: zabbix-server:
image: zabbix/zabbix-server-pgsql:alpine-trunk image: zabbix/zabbix-server-pgsql:alpine-7.0-latest
ports: ports:
- '10051:10051' - '10051:10051'
depends_on: depends_on:
@@ -32,7 +32,7 @@ services:
ZBX_DEBUGLEVEL: 3 ZBX_DEBUGLEVEL: 3
zabbix-web: zabbix-web:
image: zabbix/zabbix-web-apache-pgsql:alpine-trunk image: zabbix/zabbix-web-apache-pgsql:alpine-7.0-latest
ports: ports:
- '8188:8080' - '8188:8080'
depends_on: depends_on:
@@ -57,7 +57,7 @@ services:
POSTGRES_PASSWORD: zabbix POSTGRES_PASSWORD: zabbix
zabbix-agent: zabbix-agent:
image: zabbix/zabbix-agent:alpine-trunk image: zabbix/zabbix-agent:alpine-7.0-latest
environment: environment:
ZBX_SERVER_HOST: zabbix-server ZBX_SERVER_HOST: zabbix-server
ZBX_SERVER_PORT: 10051 ZBX_SERVER_PORT: 10051

View File

@@ -1,70 +1,205 @@
{ {
"__inputs": [ "__inputs": [
{ {
"name": "DS_NAME", "name": "DS_ZABBIX",
"label": "Zabbix",
"description": "",
"type": "datasource", "type": "datasource",
"pluginId": "alexanderzobnin-zabbix-datasource" "pluginId": "alexanderzobnin-zabbix-datasource",
"pluginName": "Zabbix"
}
],
"__elements": {},
"__requires": [
{
"type": "datasource",
"id": "alexanderzobnin-zabbix-datasource",
"name": "Zabbix",
"version": "4.5.5"
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
} }
], ],
"title": "Zabbix Template Linux Server",
"revision": 1,
"annotations": { "annotations": {
"list": [] "list": [
{
"builtIn": 1,
"datasource": {
"type": "grafana",
"uid": "-- Grafana --"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
}, },
"editable": true, "editable": true,
"gnetId": null, "fiscalYearStartMonth": 0,
"graphTooltip": 0, "graphTooltip": 0,
"hideControls": false,
"id": null, "id": null,
"links": [], "links": [],
"rows": [
{
"collapse": false,
"height": "250px",
"panels": [ "panels": [
{ {
"aliasColors": { "collapsed": false,
"CPU iowait time": "#B7DBAB", "gridPos": {
"CPU system time": "#BF1B00", "h": 1,
"CPU user time": "#EAB839" "w": 24,
"x": 0,
"y": 0
},
"id": 4,
"panels": [],
"title": "CPU",
"type": "row"
},
{
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 30,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": true,
"stacking": {
"group": "A",
"mode": "normal"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "percent"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "CPU iowait time"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "#B7DBAB",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "CPU system time"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "#BF1B00",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "CPU user time"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "#EAB839",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 1
}, },
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_NAME}",
"editable": true,
"error": false,
"fill": 3,
"grid": {},
"id": 1, "id": 1,
"options": {
"legend": { "legend": {
"avg": false, "calcs": [],
"current": false, "displayMode": "list",
"max": false, "placement": "bottom",
"min": false, "showLegend": true
"show": true,
"total": false,
"values": false
}, },
"lines": true, "tooltip": {
"linewidth": 1, "mode": "multi",
"links": [], "sort": "none"
"nullPointMode": "connected", }
"percentage": false, },
"pointradius": 2, "pluginVersion": "11.4.0-pre",
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"span": 6,
"stack": true,
"steppedLine": false,
"targets": [ "targets": [
{ {
"application": { "application": {
"filter": "CPU" "filter": "CPU"
}, },
"countTriggers": true, "countTriggers": true,
"countTriggersBy": "",
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"evaltype": "0",
"functions": [], "functions": [],
"group": { "group": {
"filter": "$group" "filter": "$group"
@@ -75,90 +210,154 @@
"item": { "item": {
"filter": "/CPU/" "filter": "/CPU/"
}, },
"itemTag": {
"filter": ""
},
"macro": {
"filter": ""
},
"minSeverity": 3, "minSeverity": 3,
"mode": 0, "mode": 0,
"options": { "options": {
"showDisabledItems": false "count": false,
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useTrends": "default",
"useZabbixValueMapping": false
}, },
"refId": "A" "proxy": {
"filter": ""
},
"queryType": "0",
"refId": "A",
"resultFormat": "time_series",
"schema": 12,
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"textFilter": "",
"trigger": {
"filter": ""
}
} }
], ],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "CPU", "title": "CPU",
"tooltip": { "type": "timeseries"
"msResolution": false,
"shared": true,
"sort": 0,
"value_type": "individual"
}, },
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{ {
"format": "percent", "datasource": {
"logBase": 1, "type": "alexanderzobnin-zabbix-datasource",
"max": 100, "uid": "${DS_ZABBIX}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 2,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": true,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"min": 0, "min": 0,
"show": true "thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}, },
{ {
"format": "short", "color": "red",
"logBase": 1, "value": 80
"max": null,
"min": null,
"show": true
} }
] ]
}, },
"unit": "short"
},
"overrides": [
{ {
"aliasColors": { "matcher": {
"Processor load (1 min average per core)": "#1F78C1" "id": "byName",
"options": "Processor load (1 min average per core)"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "#1F78C1",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 1
}, },
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_NAME}",
"editable": true,
"error": false,
"fill": 1,
"grid": {},
"id": 2, "id": 2,
"options": {
"legend": { "legend": {
"avg": false, "calcs": [],
"current": false, "displayMode": "list",
"max": false, "placement": "bottom",
"min": false, "showLegend": true
"show": true,
"total": false,
"values": false
}, },
"lines": true, "tooltip": {
"linewidth": 2, "mode": "multi",
"links": [], "sort": "none"
"nullPointMode": "connected", }
"percentage": false, },
"pointradius": 5, "pluginVersion": "11.4.0-pre",
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"span": 6,
"stack": false,
"steppedLine": false,
"targets": [ "targets": [
{ {
"application": { "application": {
"filter": "CPU" "filter": "CPU"
}, },
"countTriggers": true, "countTriggers": true,
"countTriggersBy": "",
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"evaltype": "0",
"functions": [], "functions": [],
"group": { "group": {
"filter": "$group" "filter": "$group"
@@ -169,109 +368,190 @@
"item": { "item": {
"filter": "Processor load (15 min average per core)" "filter": "Processor load (15 min average per core)"
}, },
"itemTag": {
"filter": ""
},
"macro": {
"filter": ""
},
"minSeverity": 3, "minSeverity": 3,
"mode": 0, "mode": 0,
"options": { "options": {
"showDisabledItems": false "count": false,
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useTrends": "default",
"useZabbixValueMapping": false
}, },
"refId": "A" "proxy": {
"filter": ""
},
"queryType": "0",
"refId": "A",
"resultFormat": "time_series",
"schema": 12,
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"textFilter": "",
"trigger": {
"filter": ""
}
} }
], ],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "System load", "title": "System load",
"tooltip": { "type": "timeseries"
"msResolution": false,
"shared": true,
"sort": 0,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"max": null,
"min": 0,
"show": true
}, },
{ {
"format": "short", "collapsed": false,
"logBase": 1, "gridPos": {
"max": null, "h": 1,
"min": null, "w": 24,
"show": true "x": 0,
"y": 8
},
"id": 5,
"panels": [],
"title": "Network",
"type": "row"
},
{
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 30,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 2,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": true,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "bps"
},
"overrides": [
{
"matcher": {
"id": "byRegexp",
"options": "/Incoming/"
},
"properties": [
{
"id": "custom.transform",
"value": "negative-Y"
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/Incoming/"
},
"properties": [
{
"id": "custom.transform",
"value": "negative-Y"
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/Incoming/"
},
"properties": [
{
"id": "custom.transform",
"value": "negative-Y"
} }
] ]
} }
], ]
"repeat": null, },
"repeatIteration": null, "gridPos": {
"repeatRowId": null, "h": 7,
"showTitle": true, "w": 24,
"title": "CPU", "x": 0,
"titleSize": "h6" "y": 9
}, },
{
"collapse": false,
"height": "250px",
"panels": [
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_NAME}",
"editable": true,
"error": false,
"fill": 3,
"grid": {},
"id": 3, "id": 3,
"maxPerRow": 3,
"options": {
"legend": { "legend": {
"alignAsTable": false, "calcs": [],
"avg": false, "displayMode": "list",
"current": false, "placement": "bottom",
"max": false, "showLegend": true
"min": false,
"rightSide": false,
"show": true,
"total": false,
"values": false
}, },
"lines": true, "tooltip": {
"linewidth": 2, "mode": "multi",
"links": [], "sort": "none"
"minSpan": 4,
"nullPointMode": "connected",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"repeat": "netif",
"seriesOverrides": [
{
"alias": "/Incoming/",
"transform": "negative-Y"
} }
], },
"spaceLength": 10, "pluginVersion": "11.4.0-pre",
"span": 12, "repeat": "netif",
"stack": false, "repeatDirection": "v",
"steppedLine": false,
"targets": [ "targets": [
{ {
"application": { "application": {
"filter": "" "filter": ""
}, },
"countTriggers": true, "countTriggers": true,
"countTriggersBy": "",
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"evaltype": "0",
"functions": [], "functions": [],
"group": { "group": {
"filter": "$group" "filter": "$group"
@@ -282,135 +562,94 @@
"item": { "item": {
"filter": "/$netif/" "filter": "/$netif/"
}, },
"itemTag": {
"filter": ""
},
"macro": {
"filter": ""
},
"minSeverity": 3, "minSeverity": 3,
"mode": 0, "mode": 0,
"options": { "options": {
"showDisabledItems": false "count": false,
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useTrends": "default",
"useZabbixValueMapping": false
}, },
"refId": "A" "proxy": {
"filter": ""
},
"queryType": "0",
"refId": "A",
"resultFormat": "time_series",
"schema": 12,
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"textFilter": "",
"trigger": {
"filter": ""
}
} }
], ],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Network traffic on $netif", "title": "Network traffic on $netif",
"tooltip": { "type": "timeseries"
"msResolution": false,
"shared": true,
"sort": 0,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "bps",
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"logBase": 1,
"max": null,
"min": null,
"show": true
}
]
} }
], ],
"repeat": null, "schemaVersion": 40,
"repeatIteration": null, "tags": [],
"repeatRowId": null,
"showTitle": true,
"title": "Network",
"titleSize": "h6"
}
],
"schemaVersion": 14,
"style": "dark",
"tags": [
"zabbix",
"example"
],
"templating": { "templating": {
"list": [ "list": [
{ {
"allFormat": "regex values",
"allValue": null,
"current": {}, "current": {},
"datasource": "${DS_NAME}", "datasource": {
"hide": 0, "type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"includeAll": false, "includeAll": false,
"label": "Group", "label": "Group",
"multi": false,
"multiFormat": "glob",
"name": "group", "name": "group",
"options": [], "options": [],
"query": "*", "query": "*",
"refresh": 1, "refresh": 1,
"refresh_on_load": false,
"regex": "", "regex": "",
"sort": 0, "type": "query"
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
}, },
{ {
"allFormat": "glob",
"allValue": null,
"current": {}, "current": {},
"datasource": "${DS_NAME}", "datasource": {
"hide": 0, "type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"includeAll": false, "includeAll": false,
"label": "Host", "label": "Host",
"multi": false,
"multiFormat": "glob",
"name": "host", "name": "host",
"options": [], "options": [],
"query": "$group.*", "query": "$group.*",
"refresh": 1, "refresh": 1,
"refresh_on_load": false,
"regex": "", "regex": "",
"sort": 0, "type": "query"
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
}, },
{ {
"allFormat": "regex values",
"allValue": null,
"current": {}, "current": {},
"datasource": "${DS_NAME}", "datasource": {
"hide": 0, "type": "alexanderzobnin-zabbix-datasource",
"hideLabel": false, "uid": "${DS_ZABBIX}"
},
"includeAll": true, "includeAll": true,
"label": "Network interface", "label": "Network interface",
"multi": true, "multi": true,
"multiFormat": "regex values",
"name": "netif", "name": "netif",
"options": [], "options": [],
"query": "*.$host.Network interfaces.*", "query": "*.$host.Network interfaces.*",
"refresh": 1, "refresh": 1,
"refresh_on_load": false,
"regex": "/(?:Incoming|Outgoing) network traffic on (.*)/", "regex": "/(?:Incoming|Outgoing) network traffic on (.*)/",
"sort": 0, "type": "query"
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
} }
] ]
}, },
@@ -419,29 +658,11 @@
"to": "now" "to": "now"
}, },
"timepicker": { "timepicker": {
"now": true, "refresh_intervals": ["30s", "1m", "5m", "15m", "30m", "1h", "3h", "2h", "1d"]
"refresh_intervals": [
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"3h",
"2h",
"1d"
],
"time_options": [
"5m",
"15m",
"1h",
"6h",
"12h",
"24h",
"2d",
"7d",
"30d"
]
}, },
"timezone": "browser" "timezone": "browser",
"title": "Zabbix Template Linux Server",
"uid": "be0yks0sqf7y8e",
"version": 1,
"weekStart": ""
} }

File diff suppressed because it is too large Load Diff

View File

@@ -1,273 +1,389 @@
{ {
"__inputs": [ "__inputs": [
{ {
"name": "DS_NAME", "name": "DS_ZABBIX",
"label": "Zabbix",
"description": "",
"type": "datasource", "type": "datasource",
"pluginId": "alexanderzobnin-zabbix-datasource" "pluginId": "alexanderzobnin-zabbix-datasource",
"pluginName": "Zabbix"
}
],
"__elements": {},
"__requires": [
{
"type": "datasource",
"id": "alexanderzobnin-zabbix-datasource",
"name": "Zabbix",
"version": "4.5.5"
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
},
{
"type": "panel",
"id": "table",
"name": "Table",
"version": ""
} }
], ],
"title": "Zabbix System Status",
"revision": "1.0",
"annotations": { "annotations": {
"list": [] "list": [
{
"builtIn": 1,
"datasource": {
"type": "grafana",
"uid": "-- Grafana --"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
}, },
"editable": true, "editable": true,
"gnetId": null, "fiscalYearStartMonth": 0,
"graphTooltip": 0, "graphTooltip": 0,
"hideControls": false,
"id": null, "id": null,
"links": [], "links": [],
"rows": [
{
"collapse": false,
"height": 250,
"panels": [ "panels": [
{ {
"columns": [], "datasource": {
"datasource": "${DS_NAME}", "type": "alexanderzobnin-zabbix-datasource",
"fontSize": "100%", "uid": "${DS_ZABBIX}"
"id": 9,
"links": [],
"pageSize": null,
"scroll": true,
"showHeader": true,
"sort": {
"col": 0,
"desc": true
}, },
"span": 12, "fieldConfig": {
"styles": [ "defaults": {
{ "color": {
"alias": "Time", "mode": "thresholds"
"dateFormat": "YYYY-MM-DD HH:mm:ss", },
"pattern": "Time", "custom": {
"type": "date" "align": "auto",
"cellOptions": {
"type": "auto"
},
"inspect": false
}, },
{
"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, "decimals": 0,
"pattern": "Disaster", "displayName": "",
"thresholds": [ "mappings": [],
"0", "thresholds": {
"1" "mode": "absolute",
], "steps": [
"type": "number", {
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none" "unit": "none"
}, },
"overrides": [
{ {
"alias": "", "matcher": {
"colorMode": "cell", "id": "byName",
"colors": [ "options": "Time"
"#99440a", },
"rgba(45, 172, 121, 0.97)", "properties": [
"#99440a" {
], "id": "displayName",
"dateFormat": "YYYY-MM-DD HH:mm:ss", "value": "Time"
"decimals": 0,
"pattern": "High",
"thresholds": [
"0",
"1"
],
"type": "number",
"unit": "short"
}, },
{ {
"alias": "", "id": "unit",
"colorMode": "cell", "value": "time: YYYY-MM-DD HH:mm:ss"
"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": "", "id": "custom.align"
"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": { "matcher": {
"filter": "" "id": "byName",
"options": "Disaster"
}, },
"functions": [], "properties": [
"group": { {
"filter": "/.*/" "id": "unit",
"value": "none"
}, },
"host": { {
"filter": "/.*/" "id": "custom.cellOptions",
}, "value": {
"item": { "type": "color-background"
"filter": ""
},
"mode": 4,
"triggers": {
"count": false,
"minSeverity": 0,
"acknowledged": 2
},
"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, "id": "custom.align"
"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", "id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "rgba(45, 172, 121, 0.97)",
"value": null
},
{
"color": "rgba(45, 172, 121, 0.97)",
"value": 0
},
{
"color": "#58140c",
"value": 1 "value": 1
}
]
}
}
]
}, },
{ {
"name": "range to text", "matcher": {
"value": 2 "id": "byName",
} "options": "High"
], },
"maxDataPoints": 100, "properties": [
"minSpan": 2,
"nullPointMode": "connected",
"nullText": null,
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
{ {
"from": "null", "id": "unit",
"text": "N/A", "value": "short"
"to": "null" },
{
"id": "custom.cellOptions",
"value": {
"type": "color-background"
} }
], },
"repeat": "group", {
"span": 2, "id": "custom.align"
"sparkline": { },
"fillColor": "rgba(31, 118, 189, 0.18)", {
"full": false, "id": "thresholds",
"lineColor": "rgb(31, 120, 193)", "value": {
"mode": "absolute",
"steps": [
{
"color": "#99440a",
"value": null
},
{
"color": "rgba(45, 172, 121, 0.97)",
"value": 0
},
{
"color": "#99440a",
"value": 1
}
]
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "Average"
},
"properties": [
{
"id": "unit",
"value": "short"
},
{
"id": "custom.cellOptions",
"value": {
"type": "color-background"
}
},
{
"id": "custom.align"
},
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "rgba(50, 172, 45, 0.97)",
"value": null
},
{
"color": "rgba(45, 172, 121, 0.97)",
"value": 0
},
{
"color": "#c15c17",
"value": 1
}
]
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "Warning"
},
"properties": [
{
"id": "unit",
"value": "short"
},
{
"id": "custom.cellOptions",
"value": {
"type": "color-background"
}
},
{
"id": "custom.align"
},
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "rgba(50, 172, 45, 0.97)",
"value": null
},
{
"color": "rgba(45, 172, 121, 0.97)",
"value": 0
},
{
"color": "#cca300",
"value": 1
}
]
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "Information"
},
"properties": [
{
"id": "unit",
"value": "short"
},
{
"id": "custom.cellOptions",
"value": {
"type": "color-background"
}
},
{
"id": "custom.align"
},
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "rgba(50, 172, 45, 0.97)",
"value": null
},
{
"color": "rgba(45, 172, 121, 0.97)",
"value": 0
},
{
"color": "#64b0c8",
"value": 1
}
]
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "Not classified"
},
"properties": [
{
"id": "unit",
"value": "short"
},
{
"id": "custom.cellOptions",
"value": {
"type": "color-background"
}
},
{
"id": "custom.align"
},
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "rgba(50, 172, 45, 0.97)",
"value": null
},
{
"color": "rgba(45, 172, 121, 0.97)",
"value": 0
},
{
"color": "rgb(176, 176, 176)",
"value": 1
}
]
}
}
]
}
]
},
"gridPos": {
"h": 7,
"w": 24,
"x": 0,
"y": 0
},
"id": 9,
"options": {
"cellHeight": "sm",
"footer": {
"countRows": false,
"fields": "",
"reducer": ["sum"],
"show": false "show": false
}, },
"tableColumn": "", "showHeader": true
},
"pluginVersion": "11.4.0-pre",
"targets": [ "targets": [
{ {
"application": { "application": {
"filter": "" "filter": ""
}, },
"countTriggersBy": "",
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"evaltype": "0",
"functions": [], "functions": [],
"group": { "group": {
"filter": "$group" "filter": "$group"
@@ -278,62 +394,212 @@
"item": { "item": {
"filter": "" "filter": ""
}, },
"mode": 4, "itemTag": {
"triggers": { "filter": ""
"count": true,
"minSeverity": 3,
"acknowledged": 2
}, },
"macro": {
"filter": ""
},
"mode": 4,
"options": {
"acknowledged": 2,
"count": false,
"disableDataAlignment": false,
"hostProxy": false,
"hostsInMaintenance": false,
"limit": 1001,
"minSeverity": 0,
"showDisabledItems": false,
"skipEmptyValues": false,
"sortProblems": "default",
"useTimeRange": false,
"useTrends": "default",
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "4",
"refId": "A", "refId": "A",
"target": "" "resultFormat": "time_series",
"schema": 12,
"showProblems": "problems",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"target": "",
"textFilter": "",
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": false,
"minSeverity": 0
}
} }
], ],
"thresholds": "0,1", "title": "System status",
"title": "$group", "type": "table"
"type": "singlestat", },
"valueFontSize": "120%",
"valueMaps": [
{ {
"op": "=", "datasource": {
"text": "N/A", "type": "alexanderzobnin-zabbix-datasource",
"value": "null" "uid": "${DS_ZABBIX}"
},
"fieldConfig": {
"defaults": {
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
} }
], ],
"valueName": "avg" "thresholds": {
"mode": "absolute",
"steps": [
{
"color": "rgba(50, 172, 45, 0.97)",
"value": null
},
{
"color": "rgba(16, 154, 113, 0.97)",
"value": 0
},
{
"color": "#890f02",
"value": 1
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 4,
"x": 0,
"y": 7
},
"id": 1,
"maxDataPoints": 100,
"maxPerRow": 6,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": ["mean"],
"fields": "",
"values": false
},
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "11.4.0-pre",
"repeat": "group",
"repeatDirection": "v",
"targets": [
{
"application": {
"filter": ""
},
"countTriggersBy": "",
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"evaltype": "0",
"functions": [],
"group": {
"filter": "$group"
},
"host": {
"filter": "/.*/"
},
"item": {
"filter": ""
},
"itemTag": {
"filter": ""
},
"macro": {
"filter": ""
},
"mode": 4,
"options": {
"acknowledged": 2,
"count": true,
"disableDataAlignment": false,
"hostProxy": false,
"hostsInMaintenance": false,
"limit": 1001,
"minSeverity": 2,
"showDisabledItems": false,
"skipEmptyValues": false,
"sortProblems": "default",
"useTimeRange": false,
"useTrends": "default",
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "4",
"refId": "A",
"resultFormat": "time_series",
"schema": 12,
"showProblems": "problems",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"target": "",
"textFilter": "",
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2
}
} }
], ],
"repeat": null, "title": "$group",
"repeatIteration": null, "type": "stat"
"repeatRowId": null,
"showTitle": false,
"title": "Dashboard Row",
"titleSize": "h6"
} }
], ],
"schemaVersion": 14, "schemaVersion": 40,
"style": "dark",
"tags": [], "tags": [],
"templating": { "templating": {
"list": [ "list": [
{ {
"allValue": null,
"current": {}, "current": {},
"datasource": "${DS_NAME}", "datasource": {
"hide": 0, "type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"includeAll": true, "includeAll": true,
"label": null,
"multi": true, "multi": true,
"name": "group", "name": "group",
"options": [], "options": [],
"query": "*", "query": "*",
"refresh": 1, "refresh": 1,
"regex": "", "regex": "",
"sort": 0, "type": "query"
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
} }
] ]
}, },
@@ -341,30 +607,10 @@
"from": "now-6h", "from": "now-6h",
"to": "now" "to": "now"
}, },
"timepicker": { "timepicker": {},
"refresh_intervals": [ "timezone": "",
"5s", "title": "Zabbix System Status",
"10s", "uid": "ae0yciqutx2iob",
"30s", "version": 2,
"1m", "weekStart": ""
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
],
"time_options": [
"5m",
"15m",
"1h",
"6h",
"12h",
"24h",
"2d",
"7d",
"30d"
]
},
"timezone": ""
} }