How to use SNMP with vRealize Operations

This week I got a call from a customer regarding the use of SNMP with vRealize Operations 6.0 (vROps). I’ve done some projects using the SNMP adapter for vCOPs 5.x but not yet for vROps.

Unfortunately, after some time spent on google, I could not find much information on how to install and configure the SNMP adapter for vROps.

After doing some trial and error, I’ve created this “How to use SNMP with vROps” and show you how you can successfully create a SNMP Object in vROps.


Let the fun begin!

Install the SNMP Adapter

First download the vROps SNMP adapter 2.1 from the VMware Solution Exchange (link).

There isn’t a new SNMP adapter available for vROps so you can use the “old” SNMP adapter from vCOPs 5.x. Which according to the vROps Documentation Center is fully supported (link).

Go to the Solutions page on the vROps GUI and click the green + sign.


Click on “Browse a solution” and select the downloaded vROps SNMP adapter package and click “OK”. Click force installation (and if it is the second time you upload the file, select the “Reset out-of-the-box content) and click “Upload”.


After the file is uploaded click “Next”


On the next page check “I accept the tems of this agreement” (or not.. 😉 ) and when you click “Next” the installation of the SNMP Adapter will start!


Click Finish and proceed with the configuration of the SNMP Adapter.


Configure the SNMP Adapter

Select the SNMP Adapter in the top pane and click on the gears sign to configure the SNMP Adapter.


Fill in the following information :
Display Name : SNMP Instance (or create your own instance)


Click on the green + sign beside Credentials.
Fill in the Credential Name, Community and SNMP version and click OK.


Select the newly created credentials from the dropdown box.
Click “Save Settings”.


Accept the “Warning”.


And finally the accept “Info message”.


The SNMP Adapter is now configured!

Upload the MIB file

If you don’t need some specific MIB file(s) and only need the included default RFC compliant MIBs, you can skip this part and proceed with the last chapter “Create a SNMP object”.

To upload the necessary MIB file(s) SSH has to be enabled on the vROps appliance to upload the MIB file to the appliance with for example WinSCP or your own favorite SCP software.

Open the appliance with the vSphere Client and login in with root and no password. The appliance will ask you to change the password but… It took me some time to come up with a better password and solve the “BAD PASSWORD based on dictionary word” warning… So if you encounter the same issue use as me and getting annoyed, you can use the following temporary password : AxtM123!# and change it immediately after logging in with the temporary password by using the command : passwd .

Now when you’re authenticated on the vROps appliance enable SSH and optionally start it by default.


Upload the MIB file to the following directory :
on the vROps appliance.


Logon to the vROps appliance using your favorite SSH client, set the correct rights on the files and update the MIB files.

Check the mib-import.log file for errors!


After this edit the describe.xml file with VI and increment the version number with 1. Use :wq to save the file.


To make the MIB available within the GUI you will have to trigger a “re-describe” process. You can do this by going to Administration -> Support -> Redescribe.


Click Redescribe and accept the question with “Yes”


Now wait for around 5-10 minutes before the uploaded MIB will be selectable from the GUI.

Change the Policy

Go to the Policy Library and use the pencil sign change the Policy that will used by the object (in our case this will be the default policy).


In the left pane select “Override Attributes” and type the name of the MIB file. Select the MIB file and click on “State” deselect “Local, Local and Inherited” to view if all the metrics are enabled. If not select “Actions”, “Select All”, “Enable” and finally click “Save”.




Now you are ready to continue and create a SNMP object.

Create a SNMP object

Go to Environment and select the green + sign.


Fill in the following information :


Display Name : Fill in the object name
Adapter Type : Select “SNMP Adapter”
Adapter Instance : Select “SNMP Instance” (or your own created instance)
Object type : Select your uploaded MIB file
Host IP : Fill in the IP address of the SNMP object
Port : 161 or fill in the custom SNMP port of the SNMP object
Credentials : Select your credentials or create specific credentials for this object
You can leave the rest default or change it to your own requirements


Select OK.

Wait for a couple of minutes and refresh the GUI to check if the Health Status is green for your newly created SNMP Object and all the beautiful metrics are collected.


Enjoy! 🙂

Marco van Baggum

Marco works as a Staff Consulting Architect at VMware. Want to learn more about Marco? Check out Marco's About page.

15 thoughts to “How to use SNMP with vRealize Operations”

  1. Hello

    Great article. Have you ever try to monitoring switch or such device which have multiple device instance for the same OID?
    I’m trying to figure it out where can I set the interface index in vROps 6.0.x. This funcion is described in 5.8.x documentation but it seems that this GUI feature is missing in vROps 6.x.
    Thank you in advance!

    1. Hi Peter,

      Good question, I used the interface index with v5.8 but not yet with v6.x. So I did some research and couldn’t find any documentation on it. I’ll ask around and if anything comes up I’ll let you know.


  2. Hi Marco, thanks for posting, really insightful. Question for you. Do you know if there is a way to filter which metrics in the MIB you want to be collected? If not, can the policy enable/disable which metrics in the mib are used?
    thanks again.

    1. Hi David,


      To my knowledge there is no filter option (like there was in v5.8), so the only possible way to do this is to select which metrics are used is within the mib file itself.


  3. Hi Marco,
    i’m following your article to import a specific MIB to the SNMP Adapter, on vROps 6.0.2.
    All goes fine, but there’s no way to view the MIB on any policy configured. Maybe there’s a syntax problem inside it.
    Can you test this MIB in your lab environment ? I can send you by mail…
    Please let me know, and thanks for your great article


  4. How do I know which MIB to use for an HP server?

    What if an HP server has multiple MIB’s, do I need to add an object for each MIB?

    Is there a way to combine all the HP/Compaq MIB’s into a single MIB?

    Is there anyway to add multiple objects via script / automation?

  5. Thanks for the great article, but i am trying just to monitoring the usage of interfaces of ethernet switch. Do you know which mib have this information ? Thank you !

  6. I’m running vrops 6.5 and followed your directions. Now matter what I do I only get predefined MIB metrics none from the MIB I imported. Have you seen this issue?

  7. Hello,
    Thanks a lot it helped me a lot

    Any one know how to remove a mib without get the java error about is not there anymore during the redescribe step?

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.