net-snmp mfd实现了可写对象

时间:2015-11-19 10:47:03

标签: snmp net-snmp

我正在尝试扩展代理以支持我的mib。我之前使用的是旧api,但这次我决定进入新的api。所以我开始使用mib2c.mfd.conf作为mib2c配置文件,经过一些努力,通过在net-snmp站点中关注ifTable教程,我成功处理了get请求。但在设置请求的情况下,我面临错误:

Error in packet.
Reason: notWritable (That object does not support modification)
Failed object: ZT400-CONF-MIB::nodeLoc.1

我的代理没有输出调试日志。 (如果我得到这样的东西):

internal:nodeTable:_mfd_nodeTable_pre_request: called
verbose:nodeTable:nodeTable_pre_request: called
internal:nodeTable:_mfd_nodeTable_object_lookup: called
verbose:nodeTable:nodeTable_row_prep: called
internal:nodeTable:_mfd_nodeTable_get_values: called
internal:nodeTable:_mfd_nodeTable_get_column: called for 2
verbose:nodeTable:nodeName_get: called
internal:nodeTable:_mfd_nodeTable_post_request: called
verbose:nodeTable:nodeTable_post_request: called

对于read-me文件中所述的设置请求,我希望至少接收前两行 问题是什么?任何人都可以帮忙吗? 是否有使用net-snmp mfd实现snmp可设置对象的工作教程?

0 个答案:

没有答案