You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: 'Free (available) RAM on the PVE host in bytes. Source: /nodes/{node}/status → data.memory.free.'
649
+
description: 'RAM available for new workloads on the PVE host in bytes, cache and reclaimable memory included. Source: /nodes/{node}/status → data.memory.available. Together with the used value this adds up to the installed total, which data.memory.free does not.'
649
650
preprocessing:
650
651
- type: JSONPATH
651
652
parameters:
652
-
- $.data.memory.free
653
+
- $.data.memory.available
653
654
master_item:
654
655
key: pve.status
655
656
tags:
@@ -712,6 +713,7 @@ zabbix_export:
712
713
name: 'PVE lxc raw'
713
714
type: HTTP_AGENT
714
715
key: pve.nodes.lxc.raw
716
+
delay: '300'
715
717
history: '0'
716
718
value_type: TEXT
717
719
trends: '0'
@@ -747,6 +749,7 @@ zabbix_export:
747
749
name: 'PVE qemu raw'
748
750
type: HTTP_AGENT
749
751
key: pve.nodes.qemu.raw
752
+
delay: '300'
750
753
history: '0'
751
754
value_type: TEXT
752
755
trends: '0'
@@ -764,6 +767,7 @@ zabbix_export:
764
767
name: 'PVE nodes raw'
765
768
type: HTTP_AGENT
766
769
key: pve.nodes.raw
770
+
delay: '300'
767
771
history: '0'
768
772
value_type: TEXT
769
773
trends: '0'
@@ -850,6 +854,7 @@ zabbix_export:
850
854
name: 'PVE status raw'
851
855
type: HTTP_AGENT
852
856
key: pve.status
857
+
delay: '60'
853
858
history: '0'
854
859
value_type: TEXT
855
860
trends: '0'
@@ -875,6 +880,7 @@ zabbix_export:
875
880
name: 'PVE storage raw'
876
881
type: HTTP_AGENT
877
882
key: pve.storage.raw
883
+
delay: '60'
878
884
history: '0'
879
885
value_type: TEXT
880
886
trends: '0'
@@ -927,10 +933,62 @@ zabbix_export:
927
933
tags:
928
934
- tag: PVE
929
935
value: Boot
936
+
- uuid: b3016c59c0024f8fa5306198d1d1b73b
937
+
name: 'PVE swap free'
938
+
type: DEPENDENT
939
+
key: pve.swap.free
940
+
delay: '0'
941
+
trends: '0'
942
+
units: Bytes
943
+
description: 'Free swap space on the PVE host in bytes. Source: /nodes/{node}/status → data.swap.free. Reports 0 on hosts without swap.'
944
+
preprocessing:
945
+
- type: JSONPATH
946
+
parameters:
947
+
- $.data.swap.free
948
+
master_item:
949
+
key: pve.status
950
+
tags:
951
+
- tag: PVE
952
+
value: Memory
953
+
- uuid: f2ae0c9f82084184954595f19a9ed722
954
+
name: 'PVE swap total'
955
+
type: DEPENDENT
956
+
key: pve.swap.total
957
+
delay: '0'
958
+
trends: '0'
959
+
units: Bytes
960
+
description: 'Configured swap space on the PVE host in bytes. Source: /nodes/{node}/status → data.swap.total. Reports 0 on hosts without swap.'
961
+
preprocessing:
962
+
- type: JSONPATH
963
+
parameters:
964
+
- $.data.swap.total
965
+
master_item:
966
+
key: pve.status
967
+
tags:
968
+
- tag: PVE
969
+
value: Memory
970
+
- uuid: 9d49a6ae2695427a84790e829970669d
971
+
name: 'PVE swap used'
972
+
type: DEPENDENT
973
+
key: pve.swap.used
974
+
delay: '0'
975
+
trends: '0'
976
+
units: Bytes
977
+
description: 'Used swap space on the PVE host in bytes. Source: /nodes/{node}/status → data.swap.used. Swap filling up while memory is not tight usually means pages were evicted during an earlier peak and never came back.'
978
+
preprocessing:
979
+
- type: JSONPATH
980
+
parameters:
981
+
- $.data.swap.used
982
+
master_item:
983
+
key: pve.status
984
+
tags:
985
+
- tag: PVE
986
+
value: Memory
930
987
- uuid: 8cbc645bf73d4654afa40ff9245ac67c
931
988
name: 'PVE tasks raw'
932
989
type: HTTP_AGENT
933
990
key: pve.tasks.raw
991
+
delay: '60'
934
992
history: '0'
935
993
value_type: TEXT
936
994
trends: '0'
@@ -1094,6 +1152,7 @@ zabbix_export:
1094
1152
name: 'PVE user raw'
1095
1153
type: HTTP_AGENT
1096
1154
key: pve.user.raw
1155
+
delay: '3600'
1097
1156
history: '0'
1098
1157
value_type: TEXT
1099
1158
trends: '0'
@@ -1111,22 +1170,26 @@ zabbix_export:
1111
1170
value: Raw
1112
1171
- uuid: 6ab7180a35904b229e889d93696c65ad
1113
1172
name: 'PVE version'
1114
-
type: HTTP_AGENT
1173
+
type: DEPENDENT
1115
1174
key: pve.version
1175
+
delay: '0'
1116
1176
history: '0'
1117
1177
value_type: CHAR
1118
1178
trends: '0'
1119
-
description: 'Proxmox VE version string (e.g. 8.3.2). Source: /nodes/{node}/version → data.version.'
1179
+
description: 'Proxmox VE version string, for example 9.2.10. Source: /nodes/{node}/status → data.pveversion, which carries it as pve-manager/9.2.10/<repoid>. Read from the host status instead of the separate version endpoint, so no extra request per interval is needed.'
name: 'CPU usage of VM {#VMID} over {$CPU_USAGE_AVERAGE:"{#VMID}"}% for 5 minutes'
2461
2528
priority: AVERAGE
2462
2529
description: |
2463
-
To permanently suppress the "CPU high" trigger warning on the host, set the host macro:
2464
-
{$CPU_USAGE_AVERAGE:"{#VMID}"}=1 Enable the "VM stopped" trigger.
2465
-
{$CPU_USAGE_AVERAGE:"{#VMID}"}=0 will disable the alert for that item.
2530
+
{$CPU_USAGE_AVERAGE} is a percentage threshold, not a switch. Setting it to 0 makes the trigger fire on any load above zero.
2531
+
Use the context form to change it for a single guest, for example {$CPU_USAGE_AVERAGE:"{#VMID}"}=95, or set it to 100 to silence that guest.
2466
2532
dependencies:
2467
2533
- name: 'CPU usage of VM {#VMID} over {$CPU_USAGE_HIGH:"{#VMID}"}% for 5 minutes'
2468
2534
expression: 'min(/Template Proxmox VE REST API/vm.cpuusage[{#VMID}],300)>{$CPU_USAGE_HIGH:"{#VMID}"}'
@@ -2471,9 +2537,8 @@ zabbix_export:
2471
2537
name: 'CPU usage of VM {#VMID} over {$CPU_USAGE_HIGH:"{#VMID}"}% for 5 minutes'
2472
2538
priority: HIGH
2473
2539
description: |
2474
-
To permanently suppress the "CPU high" trigger warning on the host, set the host macro:
2475
-
{$CPU_USAGE_HIGH:"{#VMID}"}=1 Enable the "VM stopped" trigger.
2476
-
{$CPU_USAGE_HIGH:"{#VMID}"}=0 will disable the alert for that item.
2540
+
{$CPU_USAGE_HIGH} is a percentage threshold, not a switch. Setting it to 0 makes the trigger fire on any load above zero.
2541
+
Use the context form to change it for a single guest, for example {$CPU_USAGE_HIGH:"{#VMID}"}=100.
2477
2542
- uuid: 4c6878c9c5a945a8810c1d5c3fac9c5f
2478
2543
name: 'Disk read rate of {#VMID}'
2479
2544
type: DEPENDENT
@@ -2766,6 +2831,10 @@ zabbix_export:
2766
2831
parameters:
2767
2832
- paused
2768
2833
- '2'
2834
+
- type: STR_REPLACE
2835
+
parameters:
2836
+
- unknown
2837
+
- '3'
2769
2838
master_item:
2770
2839
key: pve.cluster.resources.raw
2771
2840
tags:
@@ -3585,7 +3654,7 @@ zabbix_export:
3585
3654
description: 'Warning threshold for LXC CPU utilization (%) over 5 minutes.'
3586
3655
- macro: '{$MEMORY.UTIL.MAX}'
3587
3656
value: '90'
3588
-
description: 'Warning threshold for VM/LXC memory utilization (%). Triggers when memory used exceeds this value.'
3657
+
description: 'Warning threshold for memory utilization of the PVE host itself (%). Guest memory is not covered by this macro.'
3589
3658
- macro: '{$PVE.USER.EXPIRE.TIME}'
3590
3659
value: '172800'
3591
3660
description: 'Seconds before user account expiration to trigger warning (default 172800 = 2 days).'
@@ -3613,6 +3682,9 @@ zabbix_export:
3613
3682
- macro: '{$ROOTFS.UTIL.WARN}'
3614
3683
value: '90'
3615
3684
description: 'Warning threshold for root filesystem utilization (%).'
3685
+
- macro: '{$SWAP.UTIL.MAX}'
3686
+
value: '80'
3687
+
description: 'Warning threshold for swap utilization of the PVE host (%). The trigger stays silent on hosts that have no swap configured.'
3616
3688
- macro: '{$STORAGE.UTIL.CRIT}'
3617
3689
value: '90'
3618
3690
description: 'Critical threshold for storage utilization (%). Triggers when storage used exceeds this value.'
@@ -4434,12 +4506,23 @@ zabbix_export:
4434
4506
newvalue: running
4435
4507
- value: '2'
4436
4508
newvalue: paused
4509
+
- value: '3'
4510
+
newvalue: unknown
4437
4511
triggers:
4438
4512
- uuid: bdaeac3c76ec44ef96bf78ca83ba0dad
4439
4513
expression: 'min(/Template Proxmox VE REST API/pve.loadaverage.oneminute,900) >= last(/Template Proxmox VE REST API/pve.cpus)'
4440
4514
name: 'High CPU average'
4441
4515
opdata: 'Current cpu average: {ITEM.LASTVALUE1}'
4442
4516
priority: AVERAGE
4517
+
- uuid: e63733b354ef41c4aa800990b8f2ae73
4518
+
expression: |
4519
+
last(/Template Proxmox VE REST API/pve.swap.total)>0
4520
+
and last(/Template Proxmox VE REST API/pve.swap.used) / last(/Template Proxmox VE REST API/pve.swap.total) * 100 > {$SWAP.UTIL.MAX}
4521
+
name: 'High swap usage on {HOST.NAME} (>{$SWAP.UTIL.MAX}%)'
4522
+
opdata: 'Swap used: {ITEM.LASTVALUE1} of {ITEM.LASTVALUE2}'
4523
+
priority: WARNING
4524
+
description: 'Swap on the PVE host is filling up. The first condition keeps the trigger silent on hosts without swap instead of turning it unsupported.'
4525
+
manual_close: 'YES'
4443
4526
- uuid: d7b8381cedda4cd0bcb28053cd731ddf
4444
4527
expression: '(last(/Template Proxmox VE REST API/pve.memory.used) / last(/Template Proxmox VE REST API/pve.memory.total)) * 100 > {$MEMORY.UTIL.MAX}'
4445
4528
name: 'High memory usage on {HOST.NAME} (>{$MEMORY.UTIL.MAX}%)'
0 commit comments