Hello there!
Thank you for creating this fantastic tool. We're having a lot of fun with it. Just one thing:
The Proxmox VE by HTTP template plugin, by default, doesn't distinguish between Proxmox VMs en Proxmox VM templates. The consequence of this is that for every template you create, Zabbix will continue to spam problem notifications about VM templates which are "not running", when templates cannot even "run" in the first place. They're templates, not VMs.
However, there is a relatively simple fix: adapt the template to exclude Proxmox VM templates. This can be achieved as follows:
Go to Configuration > Templates > "Proxmox VE by HTTP" --> click the blue text "Discovery" in the column "Discovery". Click "QEMU discovery". Click "LLD Macros".
Add this macro:
.
Then, click "Filters" and add:
.
.
You'd need to remove previously discovered triggers covering Proxmox VM templates, but the discovery process should skip Proxmox VM templates from now on.
My suggestion is: since this makes sense (templates aren't VMs and shouldn't be treated identically, they don't boot, etc. etc.) and it works for us, would it make sense to integrate this solution into Zabbix?
I'm curious if you agree with our solution, in any case having to watch constant notifications about Proxmox VM templates is rather cumbersome!
Thank you for creating this fantastic tool. We're having a lot of fun with it. Just one thing:
The Proxmox VE by HTTP template plugin, by default, doesn't distinguish between Proxmox VMs en Proxmox VM templates. The consequence of this is that for every template you create, Zabbix will continue to spam problem notifications about VM templates which are "not running", when templates cannot even "run" in the first place. They're templates, not VMs.
However, there is a relatively simple fix: adapt the template to exclude Proxmox VM templates. This can be achieved as follows:
Go to Configuration > Templates > "Proxmox VE by HTTP" --> click the blue text "Discovery" in the column "Discovery". Click "QEMU discovery". Click "LLD Macros".
Add this macro:
| LLD Macro | JSONPath |
| {#QEMU.TEMPLATE} | $.template |
Then, click "Filters" and add:
.
| Macro | Regular expression | |
| {#QEMU.TEMPLATE} | matches | 0 |
You'd need to remove previously discovered triggers covering Proxmox VM templates, but the discovery process should skip Proxmox VM templates from now on.
My suggestion is: since this makes sense (templates aren't VMs and shouldn't be treated identically, they don't boot, etc. etc.) and it works for us, would it make sense to integrate this solution into Zabbix?
I'm curious if you agree with our solution, in any case having to watch constant notifications about Proxmox VM templates is rather cumbersome!
Comment