Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

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.

Files for teasysnmp, version 0.6
Filename, size File type Python version Upload date Hashes
Filename, size teasysnmp-0.6-py2-none-any.whl (4.4 kB) File type Wheel Python version py2 Upload date Hashes View
Filename, size teasysnmp-0.6.tar.gz (2.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page