snmpsim
snmpsim copied to clipboard
Cannot retrieve data from snmpsim with SNMP V3
Hello,
I am trying to retrieve data, using a MIB browser, from snmpsim using SNMP V3. I was able to successfuly generate a data file (public.snmprec) by reading some OIDs from a real agent. Then I have ran the command python responder.py --v3-engine-id auto --data-dir ..\data --agent-udpv4-endpoint=127.0.0.1:1024, in order to start the agent with the data file. For SNMP V1 and V2 is working fine, The MIB browser is connecting to the agent and retrieving the data. But for SNMP V3 is not working. I have configured in the MIB browser the V3 authentication and privacy protocols and passwords which are indicated when responder.py rans and have also tried to add to the MIB Browser the indicated context and engineID (also provided when responder.py runs), but it is not working. The MIB Browser I am using supports SNMP V3, I have tried it in a real agent. Any help would be appreciated. Thanks
According to #88 and #89, you should
- name the data file as
self.snmprec, - or alternatively, make SNMP v3 requests with context name of
public.