Files
grafana-zabbix/devenv/dashboards/zabbix_datasource_features.json
2022-05-04 14:05:27 +03:00

1029 lines
24 KiB
JSON

{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": 3,
"links": [],
"liveNow": false,
"panels": [
{
"ackEventColor": "rgb(56, 219, 156)",
"ackField": true,
"ageField": false,
"customLastChangeFormat": false,
"descriptionAtNewLine": false,
"descriptionField": true,
"fontSize": "100%",
"gridPos": {
"h": 11,
"w": 19,
"x": 0,
"y": 0
},
"highlightBackground": false,
"highlightNewEvents": false,
"highlightNewerThan": "1h",
"hostField": true,
"hostGroups": false,
"hostProxy": false,
"hostTechNameField": false,
"id": 4,
"lastChangeFormat": "",
"layout": "table",
"markAckEvents": false,
"okEventColor": "rgb(56, 189, 113)",
"pageSize": 10,
"problemTimeline": true,
"resizedColumns": [],
"schemaVersion": 8,
"severityField": true,
"showTags": true,
"sortProblems": "lastchange",
"statusField": true,
"statusIcon": false,
"targets": [
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "PCAF1C06DCF802728"
},
"functions": [],
"group": {
"filter": ""
},
"host": {
"filter": ""
},
"item": {
"filter": ""
},
"itemTag": {
"filter": ""
},
"options": {
"acknowledged": 2,
"disableDataAlignment": false,
"hostProxy": false,
"hostsInMaintenance": false,
"limit": 1001,
"minSeverity": 0,
"showDisabledItems": false,
"skipEmptyValues": false,
"sortProblems": "default",
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "5",
"refId": "A",
"resultFormat": "time_series",
"showProblems": "problems",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
}
],
"title": "Problems ",
"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
}
],
"type": "alexanderzobnin-zabbix-triggers-panel"
},
{
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 5,
"x": 19,
"y": 0
},
"id": 2,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "/^Host$/",
"values": false
},
"textMode": "value"
},
"pluginVersion": "8.4.7",
"targets": [
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "PCAF1C06DCF802728"
},
"functions": [],
"group": {
"filter": "Linux servers"
},
"host": {
"filter": "backend01"
},
"item": {
"filter": "Host name of Zabbix agent running"
},
"itemTag": {
"filter": ""
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "2",
"refId": "A",
"resultFormat": "table",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
}
],
"title": "Text data",
"type": "stat"
},
{
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 5,
"x": 19,
"y": 6
},
"id": 6,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "8.4.7",
"targets": [
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "PCAF1C06DCF802728"
},
"functions": [],
"group": {
"filter": "Zabbix servers"
},
"host": {
"filter": "Zabbix server"
},
"item": {
"filter": "Load average (1m avg)"
},
"itemTag": {
"filter": "component: cpu"
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "A",
"resultFormat": "time_series",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
}
],
"title": "Load",
"type": "stat"
},
{
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 11
},
"id": 8,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "PCAF1C06DCF802728"
},
"functions": [],
"group": {
"filter": "Linux servers"
},
"host": {
"filter": "/.*/"
},
"item": {
"filter": "CPU system time"
},
"itemTag": {
"filter": ""
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "A",
"resultFormat": "time_series",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
}
],
"title": "Multiple metrics",
"type": "timeseries"
},
{
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "points",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byRegexp",
"options": "/CPU/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "semi-dark-red",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "median {item=\"aggregateBy(5m, median)\", item_key=\"\"}"
},
"properties": [
{
"id": "custom.drawStyle",
"value": "line"
},
{
"id": "color",
"value": {
"fixedColor": "blue",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 11
},
"id": 9,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "PCAF1C06DCF802728"
},
"functions": [],
"group": {
"filter": "Linux servers"
},
"host": {
"filter": "/.*/"
},
"item": {
"filter": "CPU system time"
},
"itemTag": {
"filter": ""
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "A",
"resultFormat": "time_series",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
},
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "PCAF1C06DCF802728"
},
"functions": [
{
"$$hashKey": "object:577",
"def": {
"category": "Aggregate",
"defaultParams": [
"1m",
"avg"
],
"name": "aggregateBy",
"params": [
{
"name": "interval",
"type": "string"
},
{
"name": "function",
"options": [
"avg",
"min",
"max",
"sum",
"count",
"median",
"first",
"last"
],
"type": "string"
}
]
},
"params": [
"5m",
"median"
],
"text": "aggregateBy(5m, median)"
},
{
"$$hashKey": "object:578",
"def": {
"category": "Alias",
"defaultParams": [],
"name": "setAlias",
"params": [
{
"name": "alias",
"type": "string"
}
]
},
"params": [
"median"
],
"text": "setAlias(median)"
}
],
"group": {
"filter": "Linux servers"
},
"hide": false,
"host": {
"filter": "/.*/"
},
"item": {
"filter": "CPU system time"
},
"itemTag": {
"filter": ""
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "B",
"resultFormat": "time_series",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
}
],
"title": "Functions",
"type": "timeseries"
},
{
"fieldConfig": {
"defaults": {
"color": {
"mode": "continuous-BlYlRd",
"seriesBy": "last"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"axisSoftMin": 0,
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "scheme",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "smooth",
"lineWidth": 2,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 1
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 19
},
"id": 11,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "PCAF1C06DCF802728"
},
"functions": [],
"group": {
"filter": "Zabbix servers"
},
"host": {
"filter": "Zabbix server"
},
"item": {
"filter": "Load average (15m avg)"
},
"itemTag": {
"filter": "component: cpu"
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "A",
"resultFormat": "time_series",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
}
],
"title": "Load",
"type": "timeseries"
},
{
"fieldConfig": {
"defaults": {
"color": {
"mode": "continuous-BlYlRd",
"seriesBy": "last"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"axisSoftMin": 0,
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "scheme",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "smooth",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "normal"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"max": -2,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 1
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byRegexp",
"options": "/CPU/"
},
"properties": [
{
"id": "custom.axisSoftMax",
"value": 300
},
{
"id": "max"
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 19
},
"id": 12,
"options": {
"legend": {
"calcs": [],
"displayMode": "hidden",
"placement": "bottom"
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"application": {
"filter": ""
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "PCAF1C06DCF802728"
},
"functions": [],
"group": {
"filter": "Linux servers"
},
"host": {
"filter": "/.*/"
},
"item": {
"filter": "/CPU .* time/"
},
"itemTag": {
"filter": ""
},
"options": {
"disableDataAlignment": false,
"showDisabledItems": false,
"skipEmptyValues": false,
"useZabbixValueMapping": false
},
"proxy": {
"filter": ""
},
"queryType": "0",
"refId": "A",
"resultFormat": "time_series",
"table": {
"skipEmptyValues": false
},
"tags": {
"filter": ""
},
"trigger": {
"filter": ""
},
"triggers": {
"acknowledged": 2,
"count": true,
"minSeverity": 3
}
}
],
"title": "Stack",
"type": "timeseries"
}
],
"schemaVersion": 35,
"style": "dark",
"tags": [],
"templating": {
"list": []
},
"time": {
"from": "now-3h",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "Zabbix data source features",
"uid": "u9mWZdlnk",
"version": 6,
"weekStart": ""
}