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
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
How does your /etc/snmp/snmp.conf file look like?
/Rubeck
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
Sample snmpd.conf containing VMware MIB module entries.
This is a simple snmpd.conf that may help you test SNMP.
It is not recommended for production use. Consult the
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
VMware MIB modules. To enable/disable VMware MIB items
add/remove the following entries.
dlmod SNMPESX /usr/lib/vmware/snmp/libSNMPESX.so
~
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
Thanks Rubeck! I have just restarted the service and it started working. I could MIB browse successfully
Thanks much!!
