VMware Cloud Community
phallur
Contributor
Contributor
Jump to solution

ESX 3.5 - Not able to MIB browse

Hello Experts:

Im not able to MIB browse my ESX 3.5 server. Please let me know the reason for the same.

I have done the following

1) Have enabled the SNMP service - Yes I can see the security role lists the 161 and 162 ports

2) Created the community strings : rocommunity and rwcommunity by issuing the following command

snmpconf -g basic_setup.

Whenevere I try to do the snmpget and snmpwalk locally, I get the following error

snmpwalk: Failure in sendto(Operation not permitted).

And from the iReasoning MIB browser, I always get the request timed out error.

I have no clue what is wrong as Im very novice to this. Any help is very much appreciated.

Thanks in advance

Parash

Reply
0 Kudos
1 Solution

Accepted Solutions
Rubeck
Virtuoso
Virtuoso
Jump to solution

You have started the snmpd service, right? (service snmpd start)

I cant see why this .conf shouldn't work...

Try to add:

rocommunity public 127.0.0.1

and restart the snmp service if nothing else..

/Rubeck

View solution in original post

Reply
0 Kudos
4 Replies
Rubeck
Virtuoso
Virtuoso
Jump to solution

How does your /etc/snmp/snmp.conf file look like?

/Rubeck

Reply
0 Kudos
phallur
Contributor
Contributor
Jump to solution

Hello Rubeck:

Thanks for the response. Locally snmpwalk and snmpget are successfull, only the iReasoning MIb browser(Running from my local Windows box) is getting the request timed out error

Here is the content of the my /etc/snmp/snmp.conf

  1. Sample snmpd.conf containing VMware MIB module entries.

  1. This is a simple snmpd.conf that may help you test SNMP.

  2. It is not recommended for production use. Consult the

  3. snmpd.conf(5) man pages to set up a secure installation.

syscontact mailto:root@localhost (edit snmpd.conf)

syslocation room1 (edit snmpd.conf)

rocommunity public

trapcommunity public

trapsink localhost

  1. VMware MIB modules. To enable/disable VMware MIB items

  2. add/remove the following entries.

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

~

Reply
0 Kudos
Rubeck
Virtuoso
Virtuoso
Jump to solution

You have started the snmpd service, right? (service snmpd start)

I cant see why this .conf shouldn't work...

Try to add:

rocommunity public 127.0.0.1

and restart the snmp service if nothing else..

/Rubeck

Reply
0 Kudos
phallur
Contributor
Contributor
Jump to solution

Thanks Rubeck! I have just restarted the service and it started working. I could MIB browse successfully

Thanks much!!

Reply
0 Kudos