Whatsup Vmware ESXi monitor

–These directions assume some whatsup knowledge.
–ESXi does not support SNMP gets, only TRAPS.

Setup

  • Install Python 2.6.x
  • Install pywbem
  • Download check_esx_wbem.py put it into c:\python26
  • In Whatsup create new windows credentials, for the domain use esx. For example use esx\root for the username and the input the password.
  • On the node make sure that its configured to use those credentials.
  • Create a new active script monitor and paste the code below.
  • Assign the active script monitor to your node and your all set.

I didn’t write the python script, if you have any problem please first test the python script from the command line. You have to use the windows installer for pywbem the latest version has a dependency that does not work in windows.

I have tested the script on IBM servers. Please let me know if you make any modifications to the script i would love to see them.

Here is my ClassesToCheck block, I added Fan and power supply.

3 thoughts on “Whatsup Vmware ESXi monitor”

  1. Hey Stephen, great work on the wrapper! Just wanted to let you know I've modified it fairly heavily to return the result code + the actual text of the results.

    Eg instead of just saying the monitor is down I'll get "Warning!! Return Code: WARNING: System Board 1 PS Redundancy 0
    ".

    I'd love to share the code with you but I don't know if you just want me to try and post in the comments or not. Let me know.

    Ben

Leave a Reply

Your email address will not be published. Required fields are marked *