Migrate example dashboards to more recent version

This commit is contained in:
Zoltán Bedi
2024-10-17 11:30:11 +02:00
parent 4fb774dc11
commit a3adaaf25e
5 changed files with 2943 additions and 1662 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": [],
"targets": [
{
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "PCAF1C06DCF802728"
},
"refId": "A"
}
],
"title": "CPU", "title": "CPU",
"type": "row" "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, "fieldConfig": {
"error": false, "defaults": {
"fill": 3, "color": {
"fillGradient": 0, "mode": "palette-classic"
"grid": {}, },
"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
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
}, },
"percentage": false, "pluginVersion": "10.1.2",
"pluginVersion": "8.4.7",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"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
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
}, },
"percentage": false, "pluginVersion": "10.1.2",
"pluginVersion": "8.4.7",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"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": [],
"targets": [
{
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "PCAF1C06DCF802728"
},
"refId": "A"
}
],
"title": "Network", "title": "Network",
"type": "row" "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, "fieldConfig": {
"error": false, "defaults": {
"fill": 3, "color": {
"fillGradient": 0, "mode": "palette-classic"
"grid": {}, },
"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": [],
"percentage": false, "displayMode": "list",
"pluginVersion": "8.4.7", "placement": "bottom",
"pointradius": 5, "showLegend": true
"points": false, },
"renderer": "flot", "tooltip": {
"repeat": "netif", "mode": "multi",
"seriesOverrides": [ "sort": "none"
{
"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,7 +57,82 @@
"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,
"problemTimeline": true,
"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, "pageSize": 10,
"pluginVersion": "10.1.2",
"problemTimeline": true, "problemTimeline": true,
"resizedColumns": [], "resizedColumns": [],
"schemaVersion": 8, "schemaVersion": 8,
@@ -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": ""
} }

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1,339 +1,605 @@
{ {
"__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"
} }
], ],
"title": "Zabbix System Status", "__elements": {},
"revision": "1.0", "__requires": [
"annotations": {
"list": []
},
"editable": true,
"gnetId": null,
"graphTooltip": 0,
"hideControls": false,
"id": null,
"links": [],
"rows": [
{ {
"collapse": false, "type": "datasource",
"height": 250, "id": "alexanderzobnin-zabbix-datasource",
"panels": [ "name": "Zabbix",
{ "version": "4.5.5"
"columns": [],
"datasource": "${DS_NAME}",
"fontSize": "100%",
"id": 9,
"links": [],
"pageSize": null,
"scroll": true,
"showHeader": true,
"sort": {
"col": 0,
"desc": true
},
"span": 12,
"styles": [
{
"alias": "Time",
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"pattern": "Time",
"type": "date"
},
{
"alias": "",
"colorMode": "cell",
"colors": [
"rgba(45, 172, 121, 0.97)",
"rgba(45, 172, 121, 0.97)",
"#58140c"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 0,
"pattern": "Disaster",
"thresholds": [
"0",
"1"
],
"type": "number",
"unit": "none"
},
{
"alias": "",
"colorMode": "cell",
"colors": [
"#99440a",
"rgba(45, 172, 121, 0.97)",
"#99440a"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 0,
"pattern": "High",
"thresholds": [
"0",
"1"
],
"type": "number",
"unit": "short"
},
{
"alias": "",
"colorMode": "cell",
"colors": [
"rgba(50, 172, 45, 0.97)",
"rgba(45, 172, 121, 0.97)",
"#c15c17"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 0,
"pattern": "Average",
"thresholds": [
"0",
"1"
],
"type": "number",
"unit": "short"
},
{
"alias": "",
"colorMode": "cell",
"colors": [
"rgba(50, 172, 45, 0.97)",
"rgba(45, 172, 121, 0.97)",
"#cca300"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 0,
"pattern": "Warning",
"thresholds": [
"0",
"1"
],
"type": "number",
"unit": "short"
},
{
"alias": "",
"colorMode": "cell",
"colors": [
"rgba(50, 172, 45, 0.97)",
"rgba(45, 172, 121, 0.97)",
"#64b0c8"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 0,
"pattern": "Information",
"thresholds": [
"0",
"1"
],
"type": "number",
"unit": "short"
},
{
"alias": "",
"colorMode": "cell",
"colors": [
"rgba(50, 172, 45, 0.97)",
"rgba(45, 172, 121, 0.97)",
"rgb(176, 176, 176)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 0,
"pattern": "Not classified",
"thresholds": [
"0",
"1"
],
"type": "number",
"unit": "short"
},
{
"alias": "",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"decimals": 0,
"pattern": "/.*/",
"thresholds": [],
"type": "number",
"unit": "none"
}
],
"targets": [
{
"application": {
"filter": ""
},
"functions": [],
"group": {
"filter": "/.*/"
},
"host": {
"filter": "/.*/"
},
"item": {
"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, "type": "panel",
"height": "150px", "id": "stat",
"panels": [ "name": "Stat",
{ "version": ""
"cacheTimeout": null, },
"colorBackground": true, {
"colorValue": false, "type": "panel",
"colors": [ "id": "table",
"rgba(50, 172, 45, 0.97)", "name": "Table",
"rgba(16, 154, 113, 0.97)", "version": ""
"#890f02"
],
"datasource": "${DS_NAME}",
"format": "none",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"id": 1,
"interval": null,
"links": [],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"minSpan": 2,
"nullPointMode": "connected",
"nullText": null,
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"repeat": "group",
"span": 2,
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
},
"tableColumn": "",
"targets": [
{
"application": {
"filter": ""
},
"functions": [],
"group": {
"filter": "$group"
},
"host": {
"filter": "/.*/"
},
"item": {
"filter": ""
},
"mode": 4,
"triggers": {
"count": true,
"minSeverity": 3,
"acknowledged": 2
},
"refId": "A",
"target": ""
}
],
"thresholds": "0,1",
"title": "$group",
"type": "singlestat",
"valueFontSize": "120%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "avg"
}
],
"repeat": null,
"repeatIteration": null,
"repeatRowId": null,
"showTitle": false,
"title": "Dashboard Row",
"titleSize": "h6"
} }
], ],
"schemaVersion": 14, "annotations": {
"style": "dark", "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,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": null,
"links": [],
"panels": [
{
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "auto",
"cellOptions": {
"type": "auto"
},
"inspect": false
},
"decimals": 0,
"displayName": "",
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Time"
},
"properties": [
{
"id": "displayName",
"value": "Time"
},
{
"id": "unit",
"value": "time: YYYY-MM-DD HH:mm:ss"
},
{
"id": "custom.align"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Disaster"
},
"properties": [
{
"id": "unit",
"value": "none"
},
{
"id": "custom.cellOptions",
"value": {
"type": "color-background"
}
},
{
"id": "custom.align"
},
{
"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
}
]
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "High"
},
"properties": [
{
"id": "unit",
"value": "short"
},
{
"id": "custom.cellOptions",
"value": {
"type": "color-background"
}
},
{
"id": "custom.align"
},
{
"id": "thresholds",
"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
},
"showHeader": true
},
"pluginVersion": "11.4.0-pre",
"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": 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",
"resultFormat": "time_series",
"schema": 12,
"showProblems": "problems",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"target": "",
"textFilter": "",
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": false,
"minSeverity": 0
}
}
],
"title": "System status",
"type": "table"
},
{
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "${DS_ZABBIX}"
},
"fieldConfig": {
"defaults": {
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"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
}
}
],
"title": "$group",
"type": "stat"
}
],
"schemaVersion": 40,
"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": ""
} }