Open thomasbromehead opened 3 years ago
FWIW, this appears to be a silent error in the variation/sql .record method - it's looking for a start oid entry in a dict, and the relevant entry appears to actually be called "args.start_object". Not yet clear whence the difference.
approx variation/sql.py:250
Hi Ilya,
Been trying really hard to dump recordings using the sql and redis variation modules, to no avail. Strangely enough I see only ONE record being inserted in my Postgres DB, whether using
--use-getbulk
or not, even when adding--start-object
and--stop-object
flags or-getbulk-repetitions
. It is not a DB connection problem as the printer table is created and with the right schema. A regular snmpsim-record-commands with no variation modules gives me a correctly populated.snmprec
file. The logs say there are no errors however the walk is extremely quick and as you can see I have a nice 0 oids dumped. Here's the command I am using (recording against my local printer):Expected
printer.snmprec
to have the full dumpActual
printer.snmprec
Regards from France, thanks for the terrific work on this tool ;) :1st_place_medal:
Here's the output: