mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
add 5 minute load avg panel
This commit is contained in:
@@ -46,7 +46,12 @@ grafana:
|
||||
y: 1
|
||||
h: 4
|
||||
w: 4
|
||||
|
||||
load_average_5_minute:
|
||||
gridPos:
|
||||
x: 4
|
||||
y: 1
|
||||
h: 4
|
||||
w: 4
|
||||
row_docker_details:
|
||||
gridPos:
|
||||
x: 0
|
||||
|
||||
125
salt/grafana/panels/load_average_5_minute.json.jinja
Normal file
125
salt/grafana/panels/load_average_5_minute.json.jinja
Normal file
@@ -0,0 +1,125 @@
|
||||
{
|
||||
"colorValue": true,
|
||||
"colors": [
|
||||
"rgba(50, 172, 45, 0.97)",
|
||||
"rgba(237, 129, 40, 0.89)",
|
||||
"rgba(245, 54, 54, 0.9)"
|
||||
],
|
||||
"datasource": "InfluxDB",
|
||||
"decimals": 1,
|
||||
"editable": true,
|
||||
"format": "none",
|
||||
"gauge": {
|
||||
"maxValue": 100,
|
||||
"minValue": 0,
|
||||
"show": false,
|
||||
"thresholdLabels": false,
|
||||
"thresholdMarkers": true
|
||||
},
|
||||
"gridPos": {
|
||||
"x": {{ PANELS.load_average_5_minute.gridPos.x }},
|
||||
"y": {{ PANELS.load_average_5_minute.gridPos.y }},
|
||||
"w": {{ PANELS.load_average_5_minute.gridPos.w }},
|
||||
"h": {{ PANELS.load_average_5_minute.gridPos.h }}
|
||||
},
|
||||
"height": "150",
|
||||
"id": 61859,
|
||||
"links": [],
|
||||
"mappingType": 1,
|
||||
"mappingTypes": [
|
||||
{
|
||||
"name": "value to text",
|
||||
"value": 1
|
||||
},
|
||||
{
|
||||
"name": "range to text",
|
||||
"value": 2
|
||||
}
|
||||
],
|
||||
"maxDataPoints": 100,
|
||||
"nullPointMode": "connected",
|
||||
"postfixFontSize": "50%",
|
||||
"prefixFontSize": "50%",
|
||||
"rangeMaps": [
|
||||
{
|
||||
"from": "null",
|
||||
"text": "N/A",
|
||||
"to": "null"
|
||||
}
|
||||
],
|
||||
"sparkline": {
|
||||
"fillColor": "rgba(31, 118, 189, 0.18)",
|
||||
"full": false,
|
||||
"lineColor": "rgb(31, 120, 193)",
|
||||
"show": true
|
||||
},
|
||||
"targets": [
|
||||
{
|
||||
"dsType": "influxdb",
|
||||
"groupBy": [
|
||||
{
|
||||
"params": [
|
||||
"$interval"
|
||||
],
|
||||
"type": "time"
|
||||
},
|
||||
{
|
||||
"params": [
|
||||
"null"
|
||||
],
|
||||
"type": "fill"
|
||||
}
|
||||
],
|
||||
"measurement": "system",
|
||||
"policy": "default",
|
||||
"refId": "A",
|
||||
"resultFormat": "time_series",
|
||||
"select": [
|
||||
[
|
||||
{
|
||||
"params": [
|
||||
"load5"
|
||||
],
|
||||
"type": "field"
|
||||
},
|
||||
{
|
||||
"params": [],
|
||||
"type": "last"
|
||||
}
|
||||
]
|
||||
],
|
||||
"tags": [
|
||||
{
|
||||
"key": "host",
|
||||
"operator": "=~",
|
||||
"value": "/^$server$/"
|
||||
}
|
||||
],
|
||||
"orderByTime": "ASC"
|
||||
}
|
||||
],
|
||||
"thresholds": "'$cpucount'/2,'$cpucount'/1.5,'$cpucount'",
|
||||
"title": "5 Minute Load Average",
|
||||
"type": "singlestat",
|
||||
"valueFontSize": "80%",
|
||||
"valueMaps": [
|
||||
{
|
||||
"op": "=",
|
||||
"text": "N/A",
|
||||
"value": "null"
|
||||
}
|
||||
],
|
||||
"valueName": "current",
|
||||
"fieldConfig": {
|
||||
"defaults": {},
|
||||
"overrides": []
|
||||
},
|
||||
"cacheTimeout": null,
|
||||
"colorBackground": false,
|
||||
"error": false,
|
||||
"interval": null,
|
||||
"nullText": null,
|
||||
"postfix": "",
|
||||
"prefix": "",
|
||||
"tableColumn": ""
|
||||
}
|
||||
Reference in New Issue
Block a user