Skip to main content

A simple SNMP Simulator driven by agent's snmpwalk

Project description

https://circleci.com/gh/xeemetric/snmp-simulator/tree/master.svg?style=svg

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 xeemetric/snmp-simulator

With custom walk file:

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

Conventional deployment

You need root to use the default udp/161

Assuming you are running Ubuntu 15.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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

snmp-simulator-0.6.0.tar.gz (148.8 kB view details)

Uploaded Source

File details

Details for the file snmp-simulator-0.6.0.tar.gz.

File metadata

  • Download URL: snmp-simulator-0.6.0.tar.gz
  • Upload date:
  • Size: 148.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for snmp-simulator-0.6.0.tar.gz
Algorithm Hash digest
SHA256 d31dbb1db2558b63d55750a6a3b573cf737c5faa98fd0e721cacb79141a30f0a
MD5 e74acbe3c0451716df6faf7de1d85d9a
BLAKE2b-256 58a271c808346540b16cb4b94457fb77a879ec9de0f22392a6bf8a2d7ff838dc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page