elie
86c9481aab
workaround for missing Queue module features at 2.4
2013-09-21 11:41:27 +00:00
elie
893c64eec3
minor edit
2013-09-07 15:45:06 +00:00
elie
f077c66ade
minor cleanups
2013-09-07 15:14:52 +00:00
elie
5d9959a455
addresses corrected
2013-09-07 14:42:32 +00:00
elie
690ea8ee6a
* A single instance of transport dispatcher can now serve multiple
...
receivers (identified by IDs) chosen by a public data routing method.
* SnmpEngine.[un]registerTransportDispatcher() methods now accept optional
receiver ID token to be used by transport dispatcher's data router. This
allows for multiple SNMP engines registration with a single transport
dispatcher.
* Relevant example added
2013-09-07 14:20:04 +00:00
elie
ffa56f7791
old python compatibility fix to kwargs followed varargs
2013-06-26 16:47:19 +00:00
elie
01189472c6
multithreaded oneliner CommandGenerator example added
2013-06-02 08:40:15 +00:00
elie
31cdd5d31a
config.addSocketTransport() helper renamed into config.addTransport()
...
and improved by automatically instantiating compatible TransportDispatcher
making it dispatcher-agnostic. As an additional bonus, application may not
call registerTransportDispatcher() as it would be called by addTransport().
2013-06-01 12:15:58 +00:00
elie
8b65feb81e
initial revision
2013-05-25 15:08:27 +00:00
elie
a0894c9008
the SnmpV3MessageProcessingModel.getPeerEngineInfo() method is implemented
...
to communicate discovered peer SNMP engine information to SNMP apps what
can be used for fine usmUserTable configuration.
2013-05-25 09:43:28 +00:00
elie
85581d59e3
contextEngineId parameter of auth.UsmUserData() renamed into
...
securityEngineId as it's semantically correct
2013-05-21 06:03:15 +00:00
elie
bc626b73d7
the contextEngineId parameter of config.addV3User() renamed into
...
securityEngineId as it's semantically correct
2013-05-18 13:36:38 +00:00
elie
c32db16bfd
most of Command Generator examples re-pointed to a live SNMP Agent
...
at demo.snmplabs.com to ease experimentation and adoption
2013-05-05 12:43:52 +00:00
elie
f3213f28d6
SNMP Proxy example apps separated into a larger set of more specialized ones
2013-05-05 11:16:48 +00:00
elie
552d7336aa
Fix and significant logic rework of snmpCommunityTable to make it working
...
in both Generator and Responder modes and better follow RFC2576 requirements on sequential entries lookup and selection. As a side effect,
untagged snmpCommunityTable entries will *not* match tagged
snmpTargetAddrTable entries and vice versa.
2013-05-05 11:11:51 +00:00
elie
634e03d1d3
minor comment
2013-03-23 06:45:01 +00:00
elie
742da18f28
cosmetics
2013-03-16 18:18:17 +00:00
elie
de1e76958b
a dozen of lightweight Twisted-based example scripts replaced more
...
complex example implementations used previously.
2013-03-16 17:05:46 +00:00
elie
68fb38c681
missing snmpwalk command added
2013-03-16 14:16:40 +00:00
elie
04dd3b0a31
typo in snmptrap
2013-03-16 12:52:04 +00:00
elie
f876bb9bee
no need to catch errorStatus == 2 when not using SNMPv1
2013-03-16 08:03:08 +00:00
elie
d3d9452f83
cosmetics
2013-03-16 07:59:35 +00:00
elie
5732e9f42b
cosmetic fix to printout the exact OID as pointed out by errorIndex
2013-03-15 20:44:59 +00:00
elie
7683072d24
some more cosmetic changes
2013-03-15 15:36:04 +00:00
elie
b622af6a2f
cosmetic changes to Native API's GET/SET example scripts
2013-03-15 15:22:19 +00:00
elie
45ccc42723
disable debugging
2013-01-06 21:03:38 +00:00
elie
497356d8be
fix to getValue() params
2013-01-05 20:49:44 +00:00
elie
f6c05b8640
converted into usr-md5-none for interoperability with other examples
2013-01-05 20:44:46 +00:00
elie
b7d3de6998
uniform AES user
2013-01-05 14:33:16 +00:00
elie
cf2b3e4dd6
another USM user added to make this script working with the client ones
2013-01-05 14:15:37 +00:00
elie
b0313c9107
minor fixes
2013-01-05 13:17:06 +00:00
elie
d0ad30c4b2
extra modules import removed
2013-01-04 22:09:46 +00:00
elie
565b613884
v3 trap removed for clarity
2013-01-04 21:56:25 +00:00
elie
4390a5a6c4
initial revision
2013-01-04 21:06:47 +00:00
elie
d03dcf32c0
typo
2012-12-20 06:46:43 +00:00
elie
c32015dc30
minor fixes
2012-12-19 14:56:07 +00:00
elie
522187f739
typo
2012-12-18 08:04:39 +00:00
elie
3cf73230f6
oneliner examples split into dedicated files for clarity
2012-12-17 22:12:06 +00:00
elie
9f36437768
debugging removed
2012-12-15 18:28:22 +00:00
elie
a4395a0aa9
example configuration with specified USM ContextEngineId
2012-12-14 14:35:10 +00:00
elie
ceedc4d899
typo
2012-12-14 07:22:43 +00:00
elie
a35ea72f5a
SET app added
2012-12-13 17:13:24 +00:00
elie
8e3036c802
typo
2012-12-13 17:01:15 +00:00
elie
38b1421818
typo
2012-12-10 17:09:35 +00:00
elie
2907f7900c
one more fix
2012-12-09 22:24:33 +00:00
elie
02385e2d00
minor editing
2012-12-09 22:17:56 +00:00
elie
01f9e3a3f5
SNMPv3 native API examples extended to cover many use cases
2012-12-09 21:10:26 +00:00
elie
ad927d4749
no debugging
2012-11-28 21:56:29 +00:00
elie
7f51518205
SNMPv3 native Notification Originator examples extended to cover
...
many use cases
2012-11-28 21:54:59 +00:00
elie
8a21462859
more transports, text OIDs and general comments added
2012-07-21 08:34:56 +00:00
elie
f0406dd01c
major overhawl aimed at Python 2.4 through 3.2 compatibility
2011-11-06 20:37:09 +00:00
elie
2d34d4d970
all dict.has_key() & dict.get() invocations replaced with modern syntax
...
(this breaks compatibility with Python 2.1 and older).
2011-01-20 17:11:43 +00:00
elie
e661d69e48
getMibSource()/setMibSource() example added
2011-01-17 12:53:29 +00:00
elie
b89db642ae
python 1.6 compatibility fix
2010-12-12 23:02:29 +00:00
elie
c06712e032
* getVarBindTable() does not filter SNMP exception values anymore
...
* getVarBindTable() of v1 API now returns Null instead of None
* GETNEXT/GETBULK apps now track EOM condition automatically
2010-11-14 23:17:39 +00:00
elie
c24fa8bc57
prettyPrint() values
2010-07-07 16:00:20 +00:00
elie
a515422dd5
* missing SNMPTrap PDU API implemented at proto.api.v2c, RFC2576 proxy
...
code reworked.
* fix to sysUpTime OID at SNMPv2 TRAP PDU.
2009-12-03 11:47:45 +00:00
elie
d7068da9f4
do not explicitly initialize index value as it's now being done automatically
2007-03-25 20:43:27 +00:00
elie
4ff3e80d3c
modNames for unloadModules() is optional
2007-02-06 07:29:10 +00:00
elie
9bd2b50571
make use of mibBuilder.unloadModules()
2007-02-05 18:50:52 +00:00
elie
35895c6671
initialize normally non-accessible table column instance to make this
...
example workable
2006-12-15 23:24:15 +00:00
elie
b3b2364230
snmpCommunityStorageType not initialized in MIB for some reason
2006-05-25 20:52:43 +00:00
elie
16d8bf0e63
fix to setting errors while building PDU
2006-05-21 11:33:05 +00:00
elie
231e66b6f7
hide readGet() args
2006-05-21 11:30:17 +00:00
elie
846380263c
initial value to Null('') added
2006-04-24 16:35:10 +00:00
elie
26f4becb4c
Header comment updated
2005-11-04 20:39:44 +00:00
elie
40efc8f4e1
moved from instrum.py
2005-10-26 22:29:46 +00:00
elie
d3056c651a
re-written to demonstrate custom Managed Objects handling
2005-10-26 22:29:11 +00:00
elie
627cab2ce3
format output
2005-10-26 21:30:03 +00:00
elie
72cca4777c
NoSuchInstanceError -> NoSuchObjectError
2005-10-26 21:14:36 +00:00
elie
bde2a94dfe
prettyOut() -> prettyPrint()
2005-10-14 16:13:31 +00:00
elie
a207947c21
* handle strange SNMP versions
...
* prettyOut() -> prettyPrint()
2005-10-14 16:11:39 +00:00
elie
31831c0361
prettyOut() -> prettyPrinter()
2005-10-14 16:11:14 +00:00
elie
a686f5442e
do not trick Dispatcher into infinite looping
2005-10-14 16:10:24 +00:00
elie
88da69241c
handle strange SNMP versions
2005-10-14 16:09:47 +00:00
elie
bab25c2140
* pretty print Agent response
...
* query for Managed Objects provided by cmdrsp example
2005-10-14 14:32:30 +00:00
elie
d6ea1a3ec0
pretty print Agent response
2005-10-14 14:31:42 +00:00
elie
865d6f8d15
* use SET PDU for Set Command Generator example
...
* pretty print Agent response
2005-10-14 14:30:46 +00:00
elie
586e5b053f
port number fixed
2005-10-12 15:50:59 +00:00
elie
bd41234277
transportDispatcher.stopDispatcher() is depricated
2005-10-10 14:33:56 +00:00
elie
7412e60fb2
trap* example names renamed into ntf* for clarity
2005-10-09 19:08:32 +00:00
elie
ac69c79ec7
make use of transport dispatcher job control
2005-10-05 10:22:18 +00:00
elie
40a63494e7
* mibView.getNodeLocation() returns suffix
...
* reduce exception set
2005-07-25 15:02:38 +00:00
elie
4f939c6e3c
listen on port 161 by default
2005-07-12 13:35:59 +00:00
elie
a53164a264
comments cleaned up
2005-06-28 20:25:11 +00:00
elie
21fba472b1
pass naked OIDs to simplify examples; examples with MIB resolution moved
...
to withmib/*
2005-06-27 06:16:05 +00:00
elie
beb3a2f2d1
adjusted to newer API
2005-06-24 14:56:58 +00:00
elie
ed902ca5bd
getrsp & nextrsp joint into an agent app
2005-06-24 14:55:22 +00:00
elie
6b630fe39c
adjusted to latest API
2005-06-23 22:29:48 +00:00
elie
076d584e91
omni -> api
...
the v1/2c model is currently broken
2005-06-14 08:50:50 +00:00
elie
5f8c584c62
MibNode.syntax now invokes output filter by itself
2005-06-14 08:45:54 +00:00
elie
a8db167d24
adjusted to SMIv2 exception model
2005-06-14 08:44:44 +00:00
elie
f63ba29efa
comments
2004-11-18 09:44:20 +00:00
elie
0954973cd1
bugfux: newer release of versioning API does not require setApiVersion()
...
to be called
2004-11-18 09:04:18 +00:00
elie
14e2dd120c
must specify API version
2004-11-12 16:36:46 +00:00
elie
92808f36de
pysnmp.proto.api.alpha -> pysnmp.proto.omni
2004-11-12 15:22:25 +00:00
elie
7ee6d95f3d
converted to v4 API
2004-11-12 14:27:15 +00:00
elie
001b3baf4e
MibInstrumentationController -> MibInstrumController
2004-11-07 09:12:48 +00:00
elie
d12f48ecb8
initial revision
2004-11-05 19:29:39 +00:00
elie
f63cb1e217
legacy examples moved under v1arch/
2004-11-05 19:26:44 +00:00