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]

Configure SNMPv3 on ESXi Host

I want to monitor our esxi hipervisors through SNMP but also I want to be encrypted 🙂 after all this information floating over the Internet so it is good to be at least encrypted somehow. That’s why we going to use SNMP v3 Enabling SSH on ESXi Connect with the vSphere client to your node Go to the configuration tab, then select Security Profile Select Properties with Services, then select SSH Server Click Options and select Start and Stop with host Click the Start button once to start the service for now Opening the firewall to allow SSH connections [Read More]