diff options
| author | Ilya Etingof <etingof@gmail.com> | 2016-04-01 01:02:36 +0200 |
|---|---|---|
| committer | Ilya Etingof <etingof@gmail.com> | 2016-04-01 01:02:36 +0200 |
| commit | 18f39e2228d370a336500c5ecc539658d890f06d (patch) | |
| tree | 411284e32cd015d4d18215013284f785a14088dd /examples/smi/manager | |
| parent | 002bb632e888e90577c87111f99674be153f79d0 (diff) | |
| download | pysnmp-git-18f39e2228d370a336500c5ecc539658d890f06d.tar.gz | |
brief description added
Diffstat (limited to 'examples/smi/manager')
| -rw-r--r-- | examples/smi/manager/mib-tree-inspection.py | 10 | ||||
| -rw-r--r-- | examples/smi/manager/var-binds-mib-resolution.py | 10 |
2 files changed, 18 insertions, 2 deletions
diff --git a/examples/smi/manager/mib-tree-inspection.py b/examples/smi/manager/mib-tree-inspection.py index 549ea360..cff34b00 100644 --- a/examples/smi/manager/mib-tree-inspection.py +++ b/examples/smi/manager/mib-tree-inspection.py @@ -1,4 +1,12 @@ -# SNMP manager-side MIB management +""" +SNMP MIB browser +++++++++++++++++ + +This script explains how Python application (typically SNMP Manager) +could load SNMP MIB modules into memory and introspect Managed Objects +defined in MIB. + +"""# from pysnmp.smi import builder, view, compiler, error # Create MIB loader/builder diff --git a/examples/smi/manager/var-binds-mib-resolution.py b/examples/smi/manager/var-binds-mib-resolution.py index 69bb7dc0..ffbd2f92 100644 --- a/examples/smi/manager/var-binds-mib-resolution.py +++ b/examples/smi/manager/var-binds-mib-resolution.py @@ -1,4 +1,12 @@ -# SNMP variables MIB resolution +""" +SNMP var-binds MIB resolution ++++++++++++++++++++++++++++++ + +This script explains how Python application (typically pysnmp-based SNMP Manager) +could enrich SNMP PDU variable-bindings with MIB information or convert MIB objects +into variable-bindings. + +"""# from pysnmp.smi import builder, view, rfc1902, error # MIB Builder manages pysnmp MIBs |
