inexio / snmpsim

SNMP Simulator
https://snmplabs.thola.io/snmpsim/
BSD 2-Clause "Simplified" License
54 stars 12 forks source link

Bad record to sqlite #6

Open triremerufus opened 3 years ago

triremerufus commented 3 years ago

There appears to be a silent failure in the upstream with the sql variation command recorder that causes only one entry to ever make it to the db (and no entries in the snmprec).

When the .record method is called, it indexes into the context dictionary looking for Start_OID or so, but the context dictionary has "args.start-object" instead. In my workspace, I changed the lookup string in the sql variation and got a capture. Probably it would be better to correct the context dict's key value upon entry.

cf etingof issue 162