Skip to content

Commit 09b73fa

Browse files
authored
[AI-5348] Add Proxmox recommended monitors (#20860)
* add vm cpu usage * node monitor * Add memory usage * fix dates and paths * fix date * update descriptions * spacing * fix spacing and host.name * fix
1 parent b6e42ed commit 09b73fa

File tree

5 files changed

+116
-0
lines changed

5 files changed

+116
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"version": 2,
3+
"created_at": "2025-07-25",
4+
"last_updated_at": "2025-07-25",
5+
"title": "CPU Usage is High on Proxmox Node",
6+
"description": "CPU usage measures the percentage of processing capacity that is in use and provides insights into the overall health and efficiency of the Node. High CPU usage can lead to degraded performance of your Proxmox Node.",
7+
"definition": {
8+
"name": "[Proxmox] CPU Usage is High on Node {{host.name}}",
9+
"type": "query alert",
10+
"query": "avg(last_5m):avg:proxmox.cpu{proxmox_type:node} by {host} > 0.9",
11+
"message": "{{#is_alert}}Node {{host.name}} is reporting high CPU usage (at or above 90%).{{/is_alert}}{{#is_warning}}Node {{host.name}} is reporting higher CPU usage (at or above 80%).{{/is_warning}}{{#is_recovery}}CPU usage for Node {{host.name}} is back to normal.{{/is_recovery}}",
12+
"tags": [],
13+
"options": {
14+
"thresholds": {
15+
"critical": 0.9,
16+
"warning": 0.8
17+
},
18+
"notify_audit": false,
19+
"on_missing_data": "default",
20+
"include_tags": true,
21+
"new_group_delay": 60
22+
},
23+
"priority": null
24+
},
25+
"tags": [
26+
"integration:proxmox"
27+
]
28+
}
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"version": 2,
3+
"created_at": "2025-07-25",
4+
"last_updated_at": "2025-07-25",
5+
"title": "Memory Usage High on Proxmox Node",
6+
"description": "Memory usage measures the percentage of memory used of the total available memory. High memory usage can lead to degraded performance of your Proxmox Node.",
7+
"definition": {
8+
"name": "Memory Usage High on Proxmox Node {{host.name}} ",
9+
"type": "query alert",
10+
"query": "avg(last_5m):avg:proxmox.mem.used{proxmox_type:node} by {host} / avg:proxmox.mem.total{proxmox_type:node} by {host} * 100 > 90",
11+
"message": "{{#is_alert}}Node {{host.name}} is reporting high memory usage (at or above 90%).{{/is_alert}}{{#is_warning}}Node {{host.name}} is reporting higher memory usage (at or above 80%).{{/is_warning}}{{#is_recovery}}Memory usage for Node {{host.name}} is back to normal.{{/is_recovery}}",
12+
"tags": [],
13+
"options": {
14+
"thresholds": {
15+
"critical": 90,
16+
"warning": 80
17+
},
18+
"notify_audit": false,
19+
"on_missing_data": "default",
20+
"include_tags": true,
21+
"new_group_delay": 60
22+
}
23+
},
24+
"tags": [
25+
"integration:proxmox"
26+
]
27+
}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"version": 2,
3+
"created_at": "2025-07-25",
4+
"last_updated_at": "2025-07-25",
5+
"title": "CPU Usage is High on Proxmox VM",
6+
"description": "CPU usage measures the percentage of processing capacity that is in use and provides insights into the overall health and efficiency of the VM. High CPU usage can lead to degraded performance of your Proxmox VM.",
7+
"definition": {
8+
"name": "[Proxmox] CPU Usage is High on VM {{host.name}} on Node {{host.proxmox_node}}",
9+
"type": "query alert",
10+
"query": "avg(last_5m):avg:proxmox.cpu{proxmox_type:vm} by {host} > 0.9",
11+
"message": "{{#is_alert}}VM {{host.name}} on Node {{host.proxmox_node}} is reporting high CPU usage (at or above 90%).{{/is_alert}}{{#is_warning}}\nVM {{host.name}} on Node {{host.proxmox_node}} is reporting higher CPU usage (at or above 80%).{{/is_warning}}{{#is_recovery}}CPU usage for VM {{host.name}} on Node {{host.proxmox_node}} is back to normal.{{/is_recovery}}",
12+
"tags": [],
13+
"options": {
14+
"thresholds": {
15+
"critical": 0.9,
16+
"warning": 0.8
17+
},
18+
"notify_audit": false,
19+
"on_missing_data": "default",
20+
"include_tags": true,
21+
"new_group_delay": 60
22+
},
23+
"priority": null
24+
},
25+
"tags": [
26+
"integration:proxmox"
27+
]
28+
}
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"version": 2,
3+
"created_at": "2025-07-25",
4+
"last_updated_at": "2025-07-25",
5+
"title": "Memory Usage High on Proxmox VM",
6+
"description": "Memory usage measures the percentage of memory used of the total available memory. High memory usage can lead to degraded performance of your Proxmox VM.",
7+
"definition": {
8+
"name": "Memory Usage High on Proxmox VM {{host.name}} on Node {{host.proxmox_node}}",
9+
"type": "query alert",
10+
"query": "avg(last_5m):avg:proxmox.mem.used{proxmox_type:vm} by {host} / avg:proxmox.mem.total{proxmox_type:vm} by {host} * 100 > 90",
11+
"message": "{{#is_alert}}VM {{host.name}} on Node {{host.proxmox_node}} is reporting high memory usage (at or above 90%).{{/is_alert}}{{#is_warning}}VM {{host.name}} on Node {{host.proxmox_node}} is reporting higher memory usage (at or above 80%).{{/is_warning}}{{#is_recovery}}Memory usage for VM {{host.name}} on Node {{host.proxmox_node}} is back to normal.{{/is_recovery}}",
12+
"tags": [],
13+
"options": {
14+
"thresholds": {
15+
"critical": 90,
16+
"warning": 80
17+
},
18+
"notify_audit": false,
19+
"on_missing_data": "default",
20+
"include_tags": true,
21+
"new_group_delay": 60
22+
}
23+
},
24+
"tags": [
25+
"integration:proxmox"
26+
]
27+
}

proxmox/manifest.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,12 @@
6161
},
6262
"dashboards": {
6363
"Proxmox Overview": "assets/dashboards/overview.json"
64+
},
65+
"monitors": {
66+
"CPU Usage is High on Proxmox VM": "assets/monitors/vm_cpu_usage.json",
67+
"CPU Usage is High on Proxmox Node": "assets/monitors/node_cpu_usage.json",
68+
"Memory Usage is High on Proxmox VM": "assets/monitors/vm_memory_usage.json",
69+
"Memory Usage is High on Proxmox Node": "assets/monitors/node_memory_usage.json"
6470
}
6571
},
6672
"author": {

0 commit comments

Comments
 (0)