Versions

Description

Interactive SNMP tool. *Snimpy* is a Python-based tool providing a simple interface to build SNMP query. Here is a very simplistic example that allows us to display the routing table of a given host:: load("IP-FORWARD-MIB") m=M("localhost", "public", 2) routes = m.ipCidrRouteNextHop for x in routes: net, netmask, tos, src = x print("%15s/%-15s via %-15s src %-15s" % (net, netmask, routes[x], src)) You can either use *Snimpy* interactively throught its console (derived from Python own console or from IPython if available) or write *Snimpy* scripts which are just Python scripts with some global variables available.

Repository

https://github.com/vincentbernat/snimpy.git

Project Slug

snimpy

Last Built

1 month, 1 week ago passed

Maintainers

Home Page

https://github.com/vincentbernat/snimpy

Badge

Tags

snmp, smi

Short URLs

snimpy.readthedocs.io
snimpy.rtfd.io

Default Version

latest

'latest' Version

master