Skip to content

An extension to easysnmp providing table handling and other features

License

Notifications You must be signed in to change notification settings

wolcomm/easysnmptable

Repository files navigation

PyPI Build Status codecov Code Health Requirements Status

easysnmptable

An extension to easysnmp providing:

  • SNMP Table handling
  • Context manager support

Installation

$ pip install easysnmptable

Usage

from easysnmptable import Session

with Session(hostname='localhost', community='public', version=2) as session:
  iftable = session.gettable('ifTable')

for index, row in table.rows.items():
  print("index: {}".format(index))
  for key, value in row.items():
    print("{}: {}".format(key, value))

About

An extension to easysnmp providing table handling and other features

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages