Ad Widget

Collapse

Check VMware Snapshots

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • 64kb
    Junior Member
    • Nov 2020
    • 2

    #1

    Check VMware Snapshots

    Hello,


    how can I check for snapshots with Zabbix (Ver. 5 on Debian 10 Linux) in a VMware environment with VCSA.
    I would like to be informed about old snapshots. Thanks for your help!

    With regards

    Mathias
  • 64kb
    Junior Member
    • Nov 2020
    • 2

    #2
    Hello,


    unfortunately, since nobody could help me, I made a solution myself. For all who are interested, here is my solution:

    1. Install Powershell for Linux on Zabbix-Server
    2. Install VMware Power CLI on Zabbix-Server
    3. Create a Powershellscript, that make a login to VCSA, read all Snapshots, and write the snapshots that older then x-days to (for example) snapshots.txt
    4. Create a Bash-Script that runs the Powershellscript (for example) every hour
    5. Create a Item for the Zabbix-Server that check the Filesize for snapshots.txt
    6. Create a Trigger that responds when the filesize > 0 (older Snapshots are exists)
    7. Create also a action that send a mail with the link to "snapshots.txt" when the trigger responds.

    This is not the most elegant solution, but it works very well.

    Regards

    Mathias


    Comment

    Working...