Have an observation the way SNMP get-response values are populated for Microsoft snmp agent and an agent which is running in the switch.
I am trying to query some object id's. I am sending a request for all the object id's in a single request pdu message.
Behavior in Windows SNMP agent:
In the requested object ids, if any object id is not present in the agent, then the entire response message is set with the errorcode "noSuchObject" and all the requested object id values are returning with null even if there are some valid object id's present in the agent.
Whereas we tried getting the same list of oids from an agent running in a cisco switch, there the error code is set for the specific variable binding and it is returning values for all the other oids which are present.
Please Wireshark log (windows agent and cisco switch)refer the attached wireshark snapshot for the windows agent and cisco agent.
RFC https://tools.ietf.org/html/rfc3416#section-4.2.1 mentions in the particular scenario response variable binding’s value field shall to set to “noSuchInstance”
Additional Information:
Microsoft OS: Windows server 2016
Questions:
1. Why this behavior of Microsoft?
2. Is there any Microsoft forum to get further support for this?
3. Any existing solution or workaround for this problem?