Skip to main content

This package includes a collection of SNMP dumps from different real-world SNMP-managed devices and software.

Project description

SNMP Simulation Data

PyPI Python Versions GitHub license

The snmpsim-data package contains simulation data for snmpsim - free and open-source SNMP agent simulator.

The package is distributed under 2-clause BSD license.

Download

SNMP simulation data can be downloaded as a Python package from PyPI.

Installation

Just run:

$ pyenv local 3.12
$ pip install pipenv
$ pipenv install snmpsim-data
$ pipenv run setup-snmpsim-data ./data

This installs snmpsim package as a dependency, and copy simulation data into the data directory.

How to Use Simulation Data

Invoke snmpsim-command-responder and point it to a directory with simulation data:

$ pipenv run snmpsim-command-responder --data-dir=data/UPS --agent-udpv4-endpoint=127.0.0.1:1024

This allows the simulator to read the specific files and emulate UPS devices.

Simulation Data Format

Simulation data is stored in simple plain-text files having OID|TYPE|VALUE format:

$ cat public.snmprec
1.3.6.1.2.1.1.1.0|4|Linux 2.6.25.5-smp SMP Tue Jun 19 14:58:11 CDT 2007 i686
1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.8072.3.2.10
1.3.6.1.2.1.1.3.0|67|233425120
1.3.6.1.2.1.2.2.1.6.2|4x|00127962f940
1.3.6.1.2.1.4.22.1.3.2.192.21.54.7|64x|c3dafe61
...

Simulator maps query parameters like SNMP community names, SNMPv3 contexts or IP addresses onto data files paths relative to the data directory.

Documentation

Detailed information on SNMP simulator usage could be found at snmpsim site.

Getting help

If you run into bad simulation data, feel free to open an issue on GitHub.

Contributions

If you have an SNMP-managed device, consider snmpwalk'ing it (or use snmprec tool from snmpsim package) and submit a PR offering your data.

Copyright (c) 2019, Ilya Etingof. Copyright (c) 2024, LeXtudio Inc.. All rights reserved.

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

snmpsim_data-1.0.1.tar.gz (56.6 MB view details)

Uploaded Source

Built Distribution

snmpsim_data-1.0.1-py3-none-any.whl (56.7 MB view details)

Uploaded Python 3

File details

Details for the file snmpsim_data-1.0.1.tar.gz.

File metadata

  • Download URL: snmpsim_data-1.0.1.tar.gz
  • Upload date:
  • Size: 56.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.8.16 Darwin/23.5.0

File hashes

Hashes for snmpsim_data-1.0.1.tar.gz
Algorithm Hash digest
SHA256 6d0f217c618eb2e9cd2886979d096a4ab7158975ef587961e99913962e3d2573
MD5 26218cd47fb47d25394cccf28e1c14e0
BLAKE2b-256 e56794451dd2c0d557bfb5d789dff23c2f22dec41f18f96a49b498f78f6a887f

See more details on using hashes here.

File details

Details for the file snmpsim_data-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: snmpsim_data-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 56.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.8.16 Darwin/23.5.0

File hashes

Hashes for snmpsim_data-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a209ae9fc6c22696fc824805253181c7a8fa8020322ec50643f087703d5ed8ff
MD5 af3989a045bddead4c316d1657be6aff
BLAKE2b-256 9719c6976e70512a7f95a7f70d303608f2b252b1fdf3f87bf73bcff2f8cf72af

See more details on using hashes here.

Supported by

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