# SNMP Simulation Data
[![PyPI](https://img.shields.io/pypi/v/snmpsim-data.svg?maxAge=2592000)](https://pypi.org/project/snmpsim-data/)
[![Python Versions](https://img.shields.io/pypi/pyversions/snmpsim-data.svg)](https://pypi.org/project/snmpsim-data/)
[![GitHub license](https://img.shields.io/badge/license-BSD-blue.svg)](https://raw.githubusercontent.com/lextudio/snmpsim-data/master/LICENSE.txt)
The `snmpsim-data` package contains simulation data for
[snmpsim](https://www.pysnmp.com/snmpsim) - free and open-source SNMP agent simulator.
The package is distributed under 2-clause
[BSD license](https://www.pysnmp.com/snmpsim/license.html).
## Download
SNMP simulation data can be downloaded as a Python package from
[PyPI](https://pypi.org/project/snmpsim-data/).
## Installation
Just run:
```bash
$ 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:
``` bash
$ 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:
``` bash
$ 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](https://www.pysnmp.com/snmpsim/).
## Getting help
If you run into bad simulation data, feel free to
[open an issue](https://github.com/lextudio/pysnmp/issues) 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](mailto:etingof@gmail.com).
Copyright (c) 2024, [LeXtudio Inc.](mailto:support@lextudio.com).
All rights reserved.
Raw data
{
"_id": null,
"home_page": "https://github.com/lextudio/snmpsim-data",
"name": "snmpsim-data",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.8",
"maintainer_email": null,
"keywords": null,
"author": "Ilya Etingof",
"author_email": "etingof@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/e5/67/94451dd2c0d557bfb5d789dff23c2f22dec41f18f96a49b498f78f6a887f/snmpsim_data-1.0.1.tar.gz",
"platform": null,
"description": "\n# SNMP Simulation Data\n\n[![PyPI](https://img.shields.io/pypi/v/snmpsim-data.svg?maxAge=2592000)](https://pypi.org/project/snmpsim-data/)\n[![Python Versions](https://img.shields.io/pypi/pyversions/snmpsim-data.svg)](https://pypi.org/project/snmpsim-data/)\n[![GitHub license](https://img.shields.io/badge/license-BSD-blue.svg)](https://raw.githubusercontent.com/lextudio/snmpsim-data/master/LICENSE.txt)\n\nThe `snmpsim-data` package contains simulation data for\n[snmpsim](https://www.pysnmp.com/snmpsim) - free and open-source SNMP agent simulator.\n\nThe package is distributed under 2-clause\n[BSD license](https://www.pysnmp.com/snmpsim/license.html).\n\n## Download\n\nSNMP simulation data can be downloaded as a Python package from\n[PyPI](https://pypi.org/project/snmpsim-data/).\n\n## Installation\n\nJust run:\n\n```bash\n$ pyenv local 3.12\n$ pip install pipenv\n$ pipenv install snmpsim-data\n$ pipenv run setup-snmpsim-data ./data\n```\n\nThis installs `snmpsim` package as a dependency, and copy simulation\ndata into the `data` directory.\n\n## How to Use Simulation Data\n\nInvoke `snmpsim-command-responder` and point it to a directory with simulation data:\n\n``` bash\n$ pipenv run snmpsim-command-responder --data-dir=data/UPS --agent-udpv4-endpoint=127.0.0.1:1024\n```\n\n> This allows the simulator to read the specific files and emulate UPS devices.\n\n## Simulation Data Format\nSimulation data is stored in simple plain-text files having `OID|TYPE|VALUE`\nformat:\n\n``` bash\n$ cat public.snmprec\n1.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\n1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.8072.3.2.10\n1.3.6.1.2.1.1.3.0|67|233425120\n1.3.6.1.2.1.2.2.1.6.2|4x|00127962f940\n1.3.6.1.2.1.4.22.1.3.2.192.21.54.7|64x|c3dafe61\n...\n```\n\nSimulator maps query parameters like SNMP community names, SNMPv3 contexts or\nIP addresses onto data files paths relative to the `data` directory.\n\n## Documentation\n\nDetailed information on SNMP simulator usage could be found at\n[snmpsim site](https://www.pysnmp.com/snmpsim/).\n\n## Getting help\n\nIf you run into bad simulation data, feel free to\n[open an issue](https://github.com/lextudio/pysnmp/issues) on GitHub.\n\n## Contributions\n\nIf you have an SNMP-managed device, consider snmpwalk'ing it (or use `snmprec` tool\nfrom `snmpsim` package) and submit a PR offering your data.\n\nCopyright (c) 2019, [Ilya Etingof](mailto:etingof@gmail.com).\nCopyright (c) 2024, [LeXtudio Inc.](mailto:support@lextudio.com).\nAll rights reserved.\n",
"bugtrack_url": null,
"license": "BSD-2-Clause",
"summary": "This package includes a collection of SNMP dumps from different real-world SNMP-managed devices and software.",
"version": "1.0.1",
"project_urls": {
"Homepage": "https://github.com/lextudio/snmpsim-data",
"Repository": "https://github.com/lextudio/snmpsim-data"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "9719c6976e70512a7f95a7f70d303608f2b252b1fdf3f87bf73bcff2f8cf72af",
"md5": "af3989a045bddead4c316d1657be6aff",
"sha256": "a209ae9fc6c22696fc824805253181c7a8fa8020322ec50643f087703d5ed8ff"
},
"downloads": -1,
"filename": "snmpsim_data-1.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "af3989a045bddead4c316d1657be6aff",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.8",
"size": 56666697,
"upload_time": "2024-07-17T03:14:10",
"upload_time_iso_8601": "2024-07-17T03:14:10.409886Z",
"url": "https://files.pythonhosted.org/packages/97/19/c6976e70512a7f95a7f70d303608f2b252b1fdf3f87bf73bcff2f8cf72af/snmpsim_data-1.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "e56794451dd2c0d557bfb5d789dff23c2f22dec41f18f96a49b498f78f6a887f",
"md5": "26218cd47fb47d25394cccf28e1c14e0",
"sha256": "6d0f217c618eb2e9cd2886979d096a4ab7158975ef587961e99913962e3d2573"
},
"downloads": -1,
"filename": "snmpsim_data-1.0.1.tar.gz",
"has_sig": false,
"md5_digest": "26218cd47fb47d25394cccf28e1c14e0",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.8",
"size": 56632048,
"upload_time": "2024-07-17T03:14:20",
"upload_time_iso_8601": "2024-07-17T03:14:20.724734Z",
"url": "https://files.pythonhosted.org/packages/e5/67/94451dd2c0d557bfb5d789dff23c2f22dec41f18f96a49b498f78f6a887f/snmpsim_data-1.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-07-17 03:14:20",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "lextudio",
"github_project": "snmpsim-data",
"travis_ci": true,
"coveralls": false,
"github_actions": false,
"lcname": "snmpsim-data"
}