DYNAMICALLY LOADABLE MODULES
If the agent is built with support for the UCD-DLMOD-MIB it is capable of loading agent MIB modules dynamically at startup through the dlmod directive and during runtime through use of the UCD-DLMOD-MIB. The following directive loads the shared object module file PATH which uses the module name prefix NAME.
dlmod NAME PATH
来查看的时候发现有以下的打印:
/etc/snmp/snmpd.conf: line 34: Warning: Unknown token: dlmod.
接着执行一下命令:
# snmpget -v 1 -c public 127.0.0.1 1.3.6.1.4.1.2021.13.4242.1.1.1
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: UCD-SNMP-TUTORIAL-MIB::ustSSSimpleString
返回的是这个错误
执行这个命令的时候:
# snmpwalk -v 1 -c public 127.0.0.1 1.3.6.1.4.1.2021.13.4242.1.1.1
#