Monitor hardware on ESXi with Python script

Version 7

    I wrote a script in Python to monitor my free ESXi servers.

    The script was written for Nagios-oriented monitoring but you can easily translate it for another monitoring tool by re-defining exit codes.

    Successfully tested on :

    - VMware ESXi 3.5 free, vSphere Hypervisor 4.1, vSphere 4.1 Standard, vSphere 4.1 Enterprise

    - Dell PowerEdge servers

     

    Script will work on almost configuration. However I didn't update the script in despite of receiving various comments and improvements (shame on me). That's why I recommend to take a look on this webpage : http://www.claudiokuenzler.com/ithowtos/nagios_check_esxi_hardware.php

    It is definitively a merge of all variants spread out on the web, which were based on my original script