summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/v3arch/asyncore/agent/ntforg/usm-md5-none.py2
-rw-r--r--examples/v3arch/asyncore/agent/ntforg/v1-trap.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/v3arch/asyncore/agent/ntforg/usm-md5-none.py b/examples/v3arch/asyncore/agent/ntforg/usm-md5-none.py
index 732c567a..7a124a36 100644
--- a/examples/v3arch/asyncore/agent/ntforg/usm-md5-none.py
+++ b/examples/v3arch/asyncore/agent/ntforg/usm-md5-none.py
@@ -80,7 +80,7 @@ sendRequestHandle = ntfOrg.sendVarBinds(
'my-notification', # notification targets
None, '', # contextEngineId, contextName
# var-binds: SNMPv2-MIB::coldStart, ...
- [((1, 3, 6, 1, 6, 3, 1, 1, 5, 1), v2c.ObjectIdentifier((1, 3, 6, 1, 6, 3, 1, 1, 5, 1))),
+ [((1, 3, 6, 1, 6, 3, 1, 1, 4, 1, 0), v2c.ObjectIdentifier((1, 3, 6, 1, 6, 3, 1, 1, 5, 1))),
((1, 3, 6, 1, 2, 1, 1, 5, 0), v2c.OctetString('system name'))],
cbFun
)
diff --git a/examples/v3arch/asyncore/agent/ntforg/v1-trap.py b/examples/v3arch/asyncore/agent/ntforg/v1-trap.py
index 24df282f..a671fd4b 100644
--- a/examples/v3arch/asyncore/agent/ntforg/v1-trap.py
+++ b/examples/v3arch/asyncore/agent/ntforg/v1-trap.py
@@ -80,7 +80,7 @@ ntfOrg.sendVarBinds(
v2c.TimeTicks(12345)),
# trap OID: Generic Trap #6 (enterpriseSpecific)
# and Specific Trap 432
- (v2c.ObjectIdentifier('1.3.6.1.6.3.1.1.5.1'),
+ (v2c.ObjectIdentifier('1.3.6.1.6.3.1.1.4.1.0'),
v2c.ObjectIdentifier('1.3.6.1.4.1.20408.4.1.1.2.0.432')),
# Agent Address with '127.0.0.1'
(v2c.ObjectIdentifier('1.3.6.1.6.3.18.1.3.0'),