etingof / snmpsim

SNMP Simulator
http://snmplabs.com/snmpsim/
BSD 2-Clause "Simplified" License
376 stars 119 forks source link

Usage example #136

Open arkadiuszdaniluk opened 4 years ago

arkadiuszdaniluk commented 4 years ago

Hi,

my question is trivial I believe but I'm new in the topic.

Let's assume I have MIB file with all objects definitions (i.e. http://mibs.snmplabs.com/asn1/AH-MRP-MIB) and I would like to generate some data to *.snmprec file.

I tried mib2dev.py --output-file=./data/public.snmprec --mib-module=SNMPv2-MIB --mib-source=mib.txt

where mib.txt contains MIB definition. Every time no matter if I change sth in def file I was getting the same result.

I expect to have just 2 OID dump data generated for two different object definitions, but instead I was getting every time bunch of "default/predefined" OIDs.

Could you help me?