I add Oracle MIBs into net-snmp by:
mibs +OR-mib
in snmp.conf
#MIBS=+OR-mib
in shell
#export MIBS
#snmp restart
but when I reload by:
#snmpwalk -v2c -c private 127.0.0.1 .1.3.6.1.4.1.111
I get:
snmpv2-smi::enterprises.111= no such available on this agent 开发者_JAVA百科at this OID
How do I fix this?
Thanks
Loading a MIB on the local machine does not magically make data available. The agent needs to be extended to implement the MIB. This is covered in the Net-SNMP FAQ:
I've installed a new MIB file. Why can't I query it?
If you've installed an AgentX agent that implements the oracle MIBs, then it's likely an access control issue. See the FAQs on access control:
How do I configure the agent?
精彩评论