net-snmp 'invents' extraneous varbindings for sub-agent
"Pobinger, Gerhard" <[email protected]> Tue, 31 Oct 2023 13:42:34 +0000
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <GV1PR04MB9102340F05C732CC29E3C0B2E5A0A@GV1PR04MB9102.eurprd04.prod.outlook.com> |
Hi, * we use net-snmp as the SNMP v3 demon that forwards requests to certain MIBs to our self-written, locally running SNMPv1 sub-agent. We have noticed that when the SNMP client issues a GETBULK request that cannot be completely fulfilled (e.g. there are less entries in the table than requested), then the response * contains the Var-bindings that are available, but * has set error-status to nosuchname * has set error-index to 1 * contains an additional varbinding (with same OID as the last available) with value Null * contains another varbinding (with same OID) with value endOfMibView (This may be related to this (relatively old) posting https://sourceforge.net/p/net-snmp/mailman/message/30509710/) When the subagent runs as v2c, everything works correctly. So we have a workaround for now. Any ideas why net-snmp invents the additional varbindings or sets the error-status/index? BR, Gerhard Pobinger _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users