Nagios check_esxi_snapshots

This script is using pySphere api for esxi and do loop through all vms and checks for snapshots. #!/usr/bin/python from pysphere import VIServer import sys ok = 0 warn = 1 crit = 2 status = { 'OK' : 0 , 'WARNING' : 1, 'CRITICAL' : 2 , 'UNKNOWN' : 3} server = sys.argv[1] user = sys.argv[2] pwd = sys.argv[3] s = VIServer() s.connect(server, user, pwd) names = "" result = s. [Read More]