Skip to main content

Extended easysnmp with helpers to work with snmp tables

Project description

teasysnmp

Extended easysnmp with helpers to work with snmp tables

teasysnmp Table

The teasysnmp extensions vastly depends on a custom teasysnmp data structure that is referred to as the “teasysnmp table” in all documentations and documentation strings as well as in the extended function calls.

To keep things simple and optimized, the datastructure is a simple tuple with 2 elements - the snmp table entry oid - dictionary with definition of fields
 - field_name: tuple of (field_index str, easysnmp typestr)

An example is given below:

ifTableEntry = (
    ".1.3.6.1.2.1.2.2.1",
    {
        'Index': ('1', 'INTEGER'),
        'Descr': ('2', 'OCTETSTR'),
        'Type': ('3', 'INTEGER'),
        'MTU': ('4', 'INTEGER'),
    }
)

The possible easysnmp typestr are:

Easysnmp Typestr

OBJECTID

OCTETSTR

INTEGER

INTEGER32

UNSIGNED32

NETADDR

IPADDR

COUNTER

GAUGE

TICKS

OPAQUE

COUNTER64

NULL

UINTEGER

NOTIF

BITS

TRAP

Special Thanks To

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

teasysnmp-0.6.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

teasysnmp-0.6-py2-none-any.whl (4.4 kB view details)

Uploaded Python 2

File details

Details for the file teasysnmp-0.6.tar.gz.

File metadata

  • Download URL: teasysnmp-0.6.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for teasysnmp-0.6.tar.gz
Algorithm Hash digest
SHA256 a62efd044284f962e7020bf69ef6969f401739cf66ab5a019b0ec4c98040b383
MD5 eb366cc5e7cc6dce038d2792841a6e27
BLAKE2b-256 9b497fca775eef3ea7e695132f5058b59c4f436a1c7fd19510204f2db631f715

See more details on using hashes here.

File details

Details for the file teasysnmp-0.6-py2-none-any.whl.

File metadata

File hashes

Hashes for teasysnmp-0.6-py2-none-any.whl
Algorithm Hash digest
SHA256 b78255a67b27429f2089284f112f5e6df11186f9aee8125e978d909b13319630
MD5 12e45b7f36939bbe2cc43521d5819f20
BLAKE2b-256 e56a0a485fa95075d787729fe7f49a021c024040a606dc52197d499927b56bb6

See more details on using hashes here.

Supported by

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