Multiple sub-agents for one table in Net-SNMP

冷暖自知 提交于 2019-12-11 15:22:36

问题


I'm writing a custom MIB to expose a table over SNMP. There will be one table with set columns, but a variable numbers of rows. Is it possible, with Net-SNMP, to add multiple rows to the table from multiple processes (e.g. process A creates row 1, process B creates row 2, etc...)? I would like to avoid having one "master sub-agent" if possible (other then something that is a part of Net-SNMP, like snmpd/snmptrapd/etc).

I would like to use mib2c to help generate code if possible, but I can work around that if it can't accomplish what I need.

I'm using Net-SNMP 5.5 at the moment. Upgrading is possible if support for what I need is added in newer versions.

来源:https://stackoverflow.com/questions/52487820/multiple-sub-agents-for-one-table-in-net-snmp

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!