Skip to content

A simple SNMP Simulator driven by agent's snmpwalk

License

Notifications You must be signed in to change notification settings

null-none/snmp-simulator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

snmp-simulator Circle CI

A simple SNMP Simulator driven by agent's snmpwalk.

Docker deployment

You need to mention udp in Docker's port mapper

Assuming you are running Docker on Linux/x86-64.

$ docker run -p 161:161/udp kal1sha/snmp-simulator

With custom walk file:

$ docker run -p 161:161/udp -v /custom.walk:/cisco_2801.walk kal1sha/snmp-simulator

Conventional deployment

You need root to use the default udp/161

Assuming you are running Ubuntu 20.04.

$ sudo apt-get update && apt-get install python-pip
$ sudo pip install snmp-simulator
$ sudo snmp-simulator -s --walk_file <walk_file>

Creating a walk file

Timeout: No Response reported by snmpbulkwalk might related to too big response PDU. This can be avoided by setting max-repeaters to a smaller value using -Cr<max-repeaters> flag

Assuming you have Net-SNMP CLI tools installed.

$ snmpbulkwalk -v2c -Oen -Cr5 -r3 -t3 -c <community> <host> 1.3.6 > custom.walk

Playing with Simulator

$ snmpget -v2c -c public 127.0.0.1 sysDescr.0

Author

Developed and maintained by Dmitry Korobitsin.

Sponsored by XeeMetric, Inc

About

A simple SNMP Simulator driven by agent's snmpwalk

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.6%
  • Dockerfile 1.4%