Skip to main content

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

Metadata

Release files for teasysnmp 0.6

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

Source distribution (sdist)

Source distribution for teasysnmp 0.6
File Size Uploaded
teasysnmp-0.6.tar.gz 2.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for teasysnmp 0.6
File Interpreter ABI Platform
teasysnmp-0.6-py2-none-any.whl Python 2 none any Details

Total release size: 7.2 kB

Release files / teasysnmp-0.6.tar.gz

Download URL teasysnmp-0.6.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
a62efd044284f962e7020bf69ef6969f401739cf66ab5a019b0ec4c98040b383
BLAKE2b-256 checksum
How to use checksums
9b497fca775eef3ea7e695132f5058b59c4f436a1c7fd19510204f2db631f715
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / teasysnmp-0.6-py2-none-any.whl

Download URL teasysnmp-0.6-py2-none-any.whl
Size 4.4 kB
Tags Python 2
SHA-256 checksum
How to use checksums
b78255a67b27429f2089284f112f5e6df11186f9aee8125e978d909b13319630
BLAKE2b-256 checksum
How to use checksums
e56a0a485fa95075d787729fe7f49a021c024040a606dc52197d499927b56bb6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.6 This release

2 release files

0.5

2 release files

0.4

2 release files

0.3

2 release files

0.2

2 release files

0.1

2 release files

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