Skip to content
Snippets Groups Projects
Commit 7186fc73 authored by Florian Sesser's avatar Florian Sesser
Browse files

Merge branch 'monitoring-disregard-arc-memory' into 'develop'

Disregard ZFS ARC cache when monitoring free RAM

Closes #119

See merge request !331
parents 0c0fd5cb 2c261a44
No related branches found
No related tags found
2 merge requests!335update production,!331Disregard ZFS ARC cache when monitoring free RAM
Pipeline #2446 passed
......@@ -370,11 +370,31 @@
"pluginVersion": "8.3.5",
"targets": [
{
"expr": "1 - node_memory_MemAvailable_bytes / node_memory_MemTotal_bytes",
"datasource": {
"type": "prometheus",
"uid": "000000001"
},
"exemplar": true,
"expr": "1 - node_memory_MemAvailable_bytes / node_memory_MemTotal_bytes unless node_zfs_arc_size",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 4,
"legendFormat": "{{instance}}",
"refId": "A"
"refId": "Hosts without ZFS"
},
{
"datasource": {
"type": "prometheus",
"uid": "000000001"
},
"exemplar": true,
"expr": "1 - (node_memory_MemAvailable_bytes + node_zfs_arc_size) / node_memory_MemTotal_bytes",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "{{instance}}",
"refId": "Hosts with ZFS"
}
],
"title": "RAM used %",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment