Skip to main content
PyPi version PyPi license PyPI pyversions Docker codecov

SNMP Collector Powered by Asyncio

Collecting data from SNMP Agents using python-asyncio method.

Setup using docker

Up and build docker container:

docker-compose up --build -d

Setup Without docker:

Install requirements:

pip install -r requirements.txt

Configure the desire OID(s) and metrics:

nano snmp_collector/config/cofig.json

Run:

python snmp_collector

Setup through pip

pip install snmp-manager

Configuration:

Create a json config file with the following format:

[
  {
    "isEnable": true,
    "name": "snmp-model-1",
    "address": "192.168.1.120",
    "port": 161,
    "timeout": 1,
    "retries": 3,
    "version": 2,
    "sleep_time": 5,
    "gain": 1,
    "offset": 0,
    "community": "public",
    "metrics": [
      {
        "isEnable": true,
        "tag_name": "a-sample",
        "oid": "1.3.6.13.4.1.3.1112"
      }
    ],
    "meta_data": [{'key': 'value'}]
  }
]

Run:

python -m snmp_collector --config=<path-to-your-config-file.json>

[NOTE]:

  • The value of -8555 means a problem is occurred during reading data over SNMP or in connection.

Metadata

Release files for snmp-manager 1.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for snmp-manager 1.1.5
File Size Uploaded Provenance Actions
snmp-manager-1.1.5.tar.gz 8.5 kB Without provenance Details for snmp-manager-1.1.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for snmp-manager 1.1.5
File Interpreter ABI Platform Actions
snmp_manager-1.1.5-py2.py3-none-any.whl Python 2, Python 3 none any Details for snmp_manager-1.1.5-py2.py3-none-any.whl

Total release size: 19.9 kB

Release files / snmp-manager-1.1.5.tar.gz

Download URL snmp-manager-1.1.5.tar.gz
Size 8.5 kB
Tags Source
SHA-256 checksum
How to use checksums
68bf57a8a04ac00bd2fab0003c6f2668f01967b8406b69d170eae3649c44643e
BLAKE2b-256 checksum
How to use checksums
30d020eb965d213aaa92b112c619467c9fcb2d9669addd67e130d9bf0fad2525
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.6.9

Release files / snmp_manager-1.1.5-py2.py3-none-any.whl

Download URL snmp_manager-1.1.5-py2.py3-none-any.whl
Size 11.4 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
41195f9f6e1ff5791c4c58301246c584d2ebe7d3181cf409f5fc8b5df886fe36
BLAKE2b-256 checksum
How to use checksums
fc726a8bb7e619aa276376aa4aa9d52563bc484c730a080b191b8ecc2cde8720
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.6.9

Security for snmp-manager 1.1.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page