mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 01:32:47 +01:00
update panel
This commit is contained in:
@@ -1,20 +1,40 @@
|
|||||||
{
|
{
|
||||||
"colorValue": true,
|
|
||||||
"colors": [
|
|
||||||
"rgba(50, 172, 45, 0.97)",
|
|
||||||
"rgba(237, 129, 40, 0.89)",
|
|
||||||
"rgba(245, 54, 54, 0.9)"
|
|
||||||
],
|
|
||||||
"datasource": "InfluxDB",
|
"datasource": "InfluxDB",
|
||||||
|
"fieldConfig": {
|
||||||
|
"defaults": {
|
||||||
|
"thresholds": {
|
||||||
|
"mode": "absolute",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"color": "rgba(50, 172, 45, 0.97)",
|
||||||
|
"value": $cpucount / 2
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"color": "rgba(237, 129, 40, 0.89)",
|
||||||
|
"value": $cpucount / 1.5
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"color": "rgba(245, 54, 54, 0.9)",
|
||||||
|
"value": $cpucount
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"mappings": [
|
||||||
|
{
|
||||||
|
"op": "=",
|
||||||
|
"text": "N/A",
|
||||||
|
"value": "null",
|
||||||
|
"id": 0,
|
||||||
|
"type": 2
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"unit": "none",
|
||||||
"decimals": 1,
|
"decimals": 1,
|
||||||
"editable": true,
|
"color": {
|
||||||
"format": "none",
|
"mode": "thresholds"
|
||||||
"gauge": {
|
}
|
||||||
"maxValue": 100,
|
},
|
||||||
"minValue": 0,
|
"overrides": []
|
||||||
"show": false,
|
|
||||||
"thresholdLabels": false,
|
|
||||||
"thresholdMarkers": true
|
|
||||||
},
|
},
|
||||||
"gridPos": {
|
"gridPos": {
|
||||||
"x": {{ PANELS.load_average_5_minute.gridPos.x }},
|
"x": {{ PANELS.load_average_5_minute.gridPos.x }},
|
||||||
@@ -22,37 +42,9 @@
|
|||||||
"w": {{ PANELS.load_average_5_minute.gridPos.w }},
|
"w": {{ PANELS.load_average_5_minute.gridPos.w }},
|
||||||
"h": {{ PANELS.load_average_5_minute.gridPos.h }}
|
"h": {{ PANELS.load_average_5_minute.gridPos.h }}
|
||||||
},
|
},
|
||||||
"height": "150",
|
|
||||||
"id": 61859,
|
"id": 61859,
|
||||||
"links": [],
|
"links": [],
|
||||||
"mappingType": 1,
|
|
||||||
"mappingTypes": [
|
|
||||||
{
|
|
||||||
"name": "value to text",
|
|
||||||
"value": 1
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "range to text",
|
|
||||||
"value": 2
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"maxDataPoints": 100,
|
"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": [
|
"targets": [
|
||||||
{
|
{
|
||||||
"dsType": "influxdb",
|
"dsType": "influxdb",
|
||||||
@@ -71,6 +63,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"measurement": "system",
|
"measurement": "system",
|
||||||
|
"orderByTime": "ASC",
|
||||||
"policy": "default",
|
"policy": "default",
|
||||||
"refId": "A",
|
"refId": "A",
|
||||||
"resultFormat": "time_series",
|
"resultFormat": "time_series",
|
||||||
@@ -94,32 +87,27 @@
|
|||||||
"operator": "=~",
|
"operator": "=~",
|
||||||
"value": "/^$servername$/"
|
"value": "/^$servername$/"
|
||||||
}
|
}
|
||||||
],
|
]
|
||||||
"orderByTime": "ASC"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"thresholds": "$cpucount/2, $cpucount/1.5, $cpucount",
|
|
||||||
"title": "5 Minute Load Average",
|
"title": "5 Minute Load Average",
|
||||||
"type": "singlestat",
|
"type": "stat",
|
||||||
"valueFontSize": "80%",
|
"options": {
|
||||||
"valueMaps": [
|
"reduceOptions": {
|
||||||
{
|
"values": false,
|
||||||
"op": "=",
|
"calcs": [
|
||||||
"text": "N/A",
|
"lastNotNull"
|
||||||
"value": "null"
|
|
||||||
}
|
|
||||||
],
|
],
|
||||||
"valueName": "current",
|
"fields": ""
|
||||||
"fieldConfig": {
|
|
||||||
"defaults": {},
|
|
||||||
"overrides": []
|
|
||||||
},
|
},
|
||||||
|
"orientation": "horizontal",
|
||||||
|
"text": {},
|
||||||
|
"textMode": "auto",
|
||||||
|
"colorMode": "value",
|
||||||
|
"graphMode": "area",
|
||||||
|
"justifyMode": "auto"
|
||||||
|
},
|
||||||
|
"pluginVersion": "7.5.4",
|
||||||
"cacheTimeout": null,
|
"cacheTimeout": null,
|
||||||
"colorBackground": false,
|
"interval": null
|
||||||
"error": false,
|
|
||||||
"interval": null,
|
|
||||||
"nullText": null,
|
|
||||||
"postfix": "",
|
|
||||||
"prefix": "",
|
|
||||||
"tableColumn": ""
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user