Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

A simple SNMP Simulator driven by agent's snmpwalk

Project Description

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.

Release History

Release History

This version
History Node

0.6.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
snmp-simulator-0.6.0.tar.gz (148.8 kB) Copy SHA256 Checksum SHA256 Source Dec 11, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting