Hello,
with vSphere 6.0 we had a Plugin for Nagios to check the snapshots in vCenter.
With vSphere 6.7 this Plugin doesn't work.
Have anyone a solution to watch the active snapshots with 6.7 with Nagios?
Regards
Dennis
Moin Dennis,
we have created a POSH script for that job because lack of perl talent. The script just check against the snapshot database on the vCenter and ignore VM names with "_replica" or "_tmpl" in the name. We can blacklist VMs because if you have Horizon, AppVolume,... you will have VMs with regular long living snapshots. The warning and critical alert is based on how old the first snapshot of the VM is.
Within the extended information we list the effected VMs.
Regards,
Joerg
Such a script we need 🙂
But i don't understand POSH..... 😞
PowerShell
Regards,
Joerg
OK. Powershell 🙂
But i'm not a PoSh specialist.
I'm Looking for sample scripts in the web but i found Nothing that i can use…….. 😞
Isn't this a Nagios problem? If so, wouldn't it be better to ask them?
The actual script is powercli you may want to ask this in the powercli sub forum. The format just needs to be formated to where nagios sees them, I have script I wrote, I just don't have this one yet. It might be Useful to ask someone in the nagios forums first though to get exactly what nagios is looking for. If I get time I may create this since we use nagios as well and I like idea of this monitor.