Files
securityonion/salt/grafana/panels/system_uptime.json.jinja
2021-07-20 08:54:39 -04:00

92 lines
1.7 KiB
Django/Jinja

{
"datasource": "InfluxDB",
"fieldConfig": {
"defaults": {
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "rgb(255, 255, 255)",
"value": null
}
]
},
"mappings": [],
"decimals": 2,
"unit": "s"
},
"overrides": []
},
"gridPos": {
"x": {{ PANELS.system_uptime.gridPos.x }},
"y": {{ PANELS.system_uptime.gridPos.y }},
"w": {{ PANELS.system_uptime.gridPos.w }},
"h": {{ PANELS.system_uptime.gridPos.h }}
},
"id": 39,
"options": {
"reduceOptions": {
"values": false,
"calcs": [
"lastNotNull"
],
"fields": ""
},
"orientation": "auto",
"text": {},
"textMode": "auto",
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto"
},
"pluginVersion": "7.5.4",
"targets": [
{
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "system",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"uptime"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": [
{
"key": "host",
"operator": "=",
"value": "$servername"
}
]
}
],
"timeFrom": null,
"timeShift": null,
"title": "System Uptime",
"type": "stat"
}