开发者

How to fix GET requests for "usmUserSecurity" in netsnmp?

开发者 https://www.devze.com 2023-03-12 07:32 出处:网络
snmpget -v 2c -c public myDevice usmUserSecurity Returns: SNMP-USER-BASED-SM-MIB::usmUserSecurityName.\".q...s....\".\"__internal__\" = STRING: __internal__
snmpget -v 2c -c public myDevice usmUserSecurity

Returns:

SNMP-USER-BASED-SM-MIB::usmUserSecurityName.".q...s...."."__internal__" = STRING: __internal__

instead of NoSuchObject/Instance. The same behaviour happens for all the other columns in usm开发者_C百科UserTable.

Looks like the get requests act as getNext in this case. I am trying to fix this, but I can't seem to find the relevant part of code ( in the net-snmp code base ) which deals with these requests. Can someone assist?


You'd better capture the network packets and then see if the captured packets are special. As Net-SNMP is so "old" and stable, it is least likely that you discover a new bug.

0

精彩评论

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