cancel
Showing results for 
Search instead for 
Did you mean: 
Create Post
Product Manager
Product Manager

VMWare ESX & Orion 9.1

I'm having a little problem monitoring our VMWare ESX servers using Orion 9.1. I know the problem isn't with Orion, but I figured this would be a great place to ask the question. Essentially, the problem I'm having is all the cool new SNMP information that's presented in Orion 9.1 isn't populated and I'm not sure why. 


When I list resources via SNMP on the ESX Server all that's listed is "CPU & Memory Utilization". What's really strange is when I look at the system description it reads..


Description   VMware ESX Server 0 VMware, Inc. 0 0 i686 


The version information is obviously incorrect. I'm running VMWare ESX Server v3.5. Does anyone have any idea what might be wrong with the SNMP configuration on my ESX Server? Any help would be greatly appreciated. Thanks.

0 Kudos
7 Replies
Level 7

Do you have the line in your snmp config files that allows the vmware specific mibs to be used? 


after your snmp specific info you will need the line


dlmod SNMPESX            /usr/lib/vmware/snmp/libSNMPESX.so


 


 besides that the snmpd config i have is very barren


 


syscontact "contact"


syslocation "location"


rocommunity public


trapcommunity public


trapsink localhost


 


Another place to look could be that your system name could be blank. 


The easiest place to change that would be in the infrastructure client go to "configuration > dns and routing > properties" from here you should be able to change your name and domain which is what you should be getting when you poll for sysdescr.0 mib.
 


Regards,

0 Kudos

I found another step that was a problem for me on almost every one of my ESX 3.5 hosts.

There are two different instances of snmp services running.  If both are enabled, then neither one will work correctly. 

There is one config found in /etc/vmware/snmp.xml.  To turn this one off you change the "true" value to "false".

http://communities.vmware.com/message/1093260#1093260 supports this part.

 

The other config is /etc/snmp/snmpd.conf.  This is described in most places around.

 

The disconnect for me had been that both were set as enabled respectively.

I turned the snmp.xml value to false.

Then had to run the following commands: 

[root@Server root]# service snmpd restart
Stopping snmpd:                                            [FAILED]
Starting snmpd:                                            [  OK  ]
[root@Server root]# service mgmt-vmware restart
Stopping VMware ESX Server Management services:
   VMware ESX Server Host Agent Watchdog                   [  OK  ]
   VMware ESX Server Host Agent                            [  OK  ]
Starting VMware ESX Server Management services:
   VMware ESX Server Host Agent (background)               [  OK  ]
   Availability report startup (background)                [  OK  ]
[root@Server root]# service snmpd restart
Stopping snmpd:                                            [FAILED]
Starting snmpd:                                            [  OK  ]
[root@Server root]# service mgmt-vmware restart
Stopping VMware ESX Server Management services:
   VMware ESX Server Host Agent Watchdog                   [  OK  ]
   VMware ESX Server Host Agent                            [  OK  ]
Starting VMware ESX Server Management services:
   VMware ESX Server Host Agent (background)               [  OK  ]
   Availability report startup (background)                [  OK  ]
[root@Server root]# service snmpd restart
Stopping snmpd:                                            [  OK  ]
Starting snmpd:                                            [  OK  ]

The reason I ran both commands twice was because, as you can see, the snmpd service wouldn't stop successfully the first time.

0 Kudos

Do you have the line in your snmp config files that allows the vmware specific mibs to be used? 

Do you mean the "/etc/snmp/snmpd.conf" or elsewhere?

0 Kudos

yes,   snmpd.conf    


 and after you change it make sure to restart the snmp process with


"/etc/init.d/snmpd restart"

0 Kudos

Forgive me for reading the directions. I was using the RCLI to configure SNMP using the following command


C:\Program Files (x86)\VMware\VMware VI Remote CLI\bin>perl vicfg-snmp.pl --server yourserverip -c public -p 5567 -t trapserverip@162/public


This obviouly isn't correct. Once I started the standard linux snmpd process I'm now able to view VMWare information via Orion.


For whatever it's worth to someone else reading this thread, to ensure that SNMP starts whenever the ESX server is rebooted run the following command.


"/sbin/chkconfig snmpd on"


Thanks again for all your help!

0 Kudos

I too attempted to us the RCLI.  I'm not familiar with the standard linux snmpd process.  Could someone provide instruction.  Thanks

0 Kudos

Using a program like Putty you would ssh into the ESX host and then use the following command to get into the file noted above.

nano /etc/snmp/snmpd.conf

0 Kudos