Skip to content

Commit ea93715

Browse files
committed
more updates to README
1 parent f31963e commit ea93715

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

README.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,14 @@ Features
1919
Managed Objects
2020
* Complete SNMP entity implementation
2121
* USM Extended Security Options support (3DES, 192/256-bit AES encryption)
22-
* Extensible network transports framework (UDP/IPv4, UDP/IPv6 and UNIX domain
23-
sockets already implemented)
22+
* Extensible network transports framework (UDP/IPv4, UDP/IPv6)
2423
* Asynchronous socket-based IO API support
2524
* [Twisted](http://twistedmatrix.com), [Asyncio](https://docs.python.org/3/library/asyncio.html)
2625
and [Trollius](http://trollius.readthedocs.org/index.html) integration
2726
* [PySMI](http://pysmi.sf.net) integration for dynamic MIB compilation
2827
* Python eggs and py2exe friendly
2928
* 100% Python, works with Python 2.4 though 3.6
30-
* MT-safe (only if run locally to a thread)
29+
* MT-safe (if SnmpEngine is thread-local)
3130

3231
Features, specific to SNMPv3 model include:
3332

@@ -69,14 +68,14 @@ and used in the very similar manner as conventional Net-SNMP tools:
6968

7069
```bash
7170
$ snmpget.py -v3 -l authPriv -u usr-md5-des -A authkey1 -X privkey1 demo.snmplabs.com sysDescr.0
72-
SNMPv2-MIB::sysDescr.0 = DisplayString: SunOS zeus.snmplabs.com 4.1.3_U1 1 sun4m
71+
SNMPv2-MIB::sysDescr.0 = STRING: Linux zeus 4.8.6.5-smp #2 SMP Sun Nov 13 14:58:11 CDT 2016 i686
7372
```
7473

7574
Examples
7675
--------
7776

78-
PySNMP is designed highly modular and implements many programming interfaces. Most
79-
high-level and easy to use API is called *hlapi* and can be used like this:
77+
PySNMP is designed in a layered fashion. Top-level and easiest to use API is known as
78+
*hlapi*. Here's a quick example on how to SNMP GET:
8079

8180
```python
8281
from pysnmp.hlapi import *
@@ -99,7 +98,7 @@ else:
9998
print(' = '.join([x.prettyPrint() for x in varBind]))
10099
```
101100

102-
or, to send SNMP TRAP:
101+
This is how send SNMP TRAP:
103102

104103
```python
105104
from pysnmp.hlapi import *
@@ -123,7 +122,7 @@ if errorIndication:
123122

124123
We maintain publicly available SNMP Agent and TRAP sink at
125124
[demo.snmplabs.com](http://snmpsim.sourceforge.net/public-snmp-simulator.html). You are
126-
welcome to play with it while experimenting with your PySNMP scripts.
125+
welcome to use it while experimenting with whatever SNMP software you deal with.
127126

128127
```bash
129128
$ python3 examples/hlapi/asyncore/sync/manager/cmdgen/usm-sha-aes128.py
@@ -135,7 +134,7 @@ SNMPv2-MIB::snmpTrapOID.0 = SNMPv2-MIB::warmStart
135134
SNMPv2-MIB::sysName.0 = system name
136135
```
137136

138-
Other than that, PySNMP is capable to automatically fetch required MIBs from HTTP, FTP sites
137+
Other than that, PySNMP is capable to automatically fetch and use required MIBs from HTTP, FTP sites
139138
or local directories. You could configure any MIB source available to you (including
140139
[this one](http://mibs.snmplabs.com/asn1/)) for that purpose.
141140

0 commit comments

Comments
 (0)