mverboom / zabbix-pve-api

Zabbix template for Proxmox
42 stars 13 forks source link

Stopped virtual machine generates warnings endlessly #18

Open einor9 opened 9 months ago

einor9 commented 9 months ago

I hit such issue with this template (v. 6.0) , when virtual machine stopped in Proxmox, I receive endless trigger notification that it is stopped. If I close problem manually, then it appears again. Here is trigger expression from template: "expression": "find(/Template pve api qemu/pveapi.qemu.status,,\"regexp\",\"stopped\")=1 and last(/Template pve api qemu/pveapi.qemu.poolcheck)=1", "name": "{$PVEQEMUNAME} is stopped", "priority": "WARNING", "description": "{$PVEQEMUNAME} is stopped.", "manual_close": "YES"

mverboom commented 8 months ago

You can put the vm in a pool and define that pool in zabbix in the set of pools that should not be checked. You shouldn't get an alert in that case.