开发者

can't load OID after add MIBS into net-snmp

开发者 https://www.devze.com 2023-01-22 11:26 出处:网络
I add Oracle MIBs into net-snmp by: mibs +OR-mibin snmp.conf #MIBS=+OR-mib in shell #export MIBS #snmp restart

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?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号