summaryrefslogtreecommitdiff
path: root/examples/v3arch/twisted/agent/ntforg/trap-v1.py
diff options
context:
space:
mode:
authorelie <elie>2014-06-17 05:46:57 +0000
committerelie <elie>2014-06-17 05:46:57 +0000
commitdad702f69446abcbcf32584743beb47f4583e0cd (patch)
treedce4559a9651d3cb6e361b1382e15e84fd306836 /examples/v3arch/twisted/agent/ntforg/trap-v1.py
parent6acd5123d163c9af8d529309842d0e7b6fecc4c4 (diff)
downloadpysnmp-dad702f69446abcbcf32584743beb47f4583e0cd.tar.gz
converted to the latest API that supports more data to be used
Diffstat (limited to 'examples/v3arch/twisted/agent/ntforg/trap-v1.py')
-rw-r--r--examples/v3arch/twisted/agent/ntforg/trap-v1.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/v3arch/twisted/agent/ntforg/trap-v1.py b/examples/v3arch/twisted/agent/ntforg/trap-v1.py
index 557b352..6863e0d 100644
--- a/examples/v3arch/twisted/agent/ntforg/trap-v1.py
+++ b/examples/v3arch/twisted/agent/ntforg/trap-v1.py
@@ -84,6 +84,8 @@ ntfOrg.sendVarBinds(
# notification name: Generic Trap #6 (enterpriseSpecific)
# and Specific Trap 432
'1.3.6.1.4.1.20408.4.1.1.2.0.432',
+ # notification objects instance index
+ None,
# additional var-binds holding SNMPv1 TRAP details
[
# Uptime value with 12345