If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to REGISTER before you can post. To start viewing messages, select the forum that you want to visit from the selection below.
Hi everyone, I have a custom PowerShell script someone wrote at my work to check for snapshots on VMware vms but I'd like to have this in zabbix, has anyone done this?
Got something working, I wanted multiple items in the trigger expression so I could show them in operational data.
The main issue I was having was trying to filter out Veeam snapshots, this is done on the master item now as an exclusion array.
The second issue was the time needing to be converted to epoch
There was a final issue of alerts not resolving as the values became empty when the snapshot was removed so I had to add values on JSON lookup failure.
Still some fine tuning to do.
I just linked this to the existing vmware guest template
EDIT: Code deleted to avoid perma ban.
Last edited by Muteone; 14-11-2025, 01:13.
Reason: Don't want to be banned for sharing my work.
If you use a discovery based on the JSON string from snapshot.get (do the discovery and items based on dependent items) then it should work and auto clear items when then the snapshots go. Then it should be fairly easy to filter out the snapshot names to remove the veeam ones.
Comment