UPS SNMP Configuration in VMWare esxi5

Scenario: I have a Mega System UPS connected to the network through its  NetAgent Mini. I want to have a customer's vmware esxi5 host being shut down by the ups client utility, which works through snmp.

Download and install the Mega System ClientMate utility per VMWare from here:
Note: the zip is misleading, you must install the clientmate.tar.gz file in the root folder of the .rar archive along with the install.dat file in the VMWare ESX subfolder (the clientmate.tar.gz in that subfolder is the Linux one!).
Configure it using the provided utility.

From VMWare CLI Utility run this commands in order to configure and enable the SNMP Agent.

Configure community for the agent (don't know if mandatory)
C:\Program Files (x86)\VMware\VMware vSphere CLI> --server esxhostaddress
01 -c public
Enter username: root
Enter password:
Changing community list to: public...

Add the UPS as a target with parameters configured in the web interface.

C:\Program Files (x86)\VMware\VMware vSphere CLI> --server esxhostaddress
01 -t UpsIPaddress@161/public
Enter username: root
Enter password:
Changing notification(trap) targets list to:

Enable snmp agent
C:\Program Files (x86)\VMware\VMware vSphere CLI> --server
01 -E
Enter username: root
Enter password:
Enabling agent...

Restart clientmate service

Now it should work.


  1. It works with a few little tricks, but there is a problem clientmate installs in /etc/clientmate and works fine.
    But as soon as you reboot the ESXi /etc/clientmate no longer exists

    You figured out how to avoid this ?

  2. Install it on a datastore

  3. I had to add the ESXi host in the NetAgent Configuration under Configuration | SNMP | Access Control to get the communication working. I also set it up under Trap Notification (not sure if that is needed.

    Thanks for the blog post - very helpful. I could not find any vendor resources on how to do this install.