diff options
author | elie <elie> | 2005-10-12 19:27:28 +0000 |
---|---|---|
committer | elie <elie> | 2005-10-12 19:27:28 +0000 |
commit | 8bc8e4b2bcd2b6824e1002eee7bdbf8d4526ac55 (patch) | |
tree | 6cd7619824c8b0ce91f821533af9bb76aa5bbe4c | |
parent | 4501ba1ffa4d877a1cfc0c5ab75146974957e464 (diff) | |
download | pysnmp-8bc8e4b2bcd2b6824e1002eee7bdbf8d4526ac55.tar.gz |
*** empty log message ***
-rw-r--r-- | examples/v3arch/oneliner/agent/ntforg.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/v3arch/oneliner/agent/ntforg.py b/examples/v3arch/oneliner/agent/ntforg.py index 3277ba3..0fa102b 100644 --- a/examples/v3arch/oneliner/agent/ntforg.py +++ b/examples/v3arch/oneliner/agent/ntforg.py @@ -9,7 +9,8 @@ errorIndication = ntforg.NotificationOriginator().sendNotification( # SNMP v3 ntforg.UsmUserData('test-user', 'authkey1', 'privkey1'), ntforg.UdpTransportTarget(('localhost', 162)), - 'trap', +# 'trap', + 'inform', ('SNMPv2-MIB', 'coldStart'), (((1,3,6,1,2,1,1,3,0), v2c.TimeTicks(44100)),) ) @@ -18,5 +19,4 @@ if errorIndication: print errorIndication # XXX -# informs require cbFun? -# responses do not come back for informs +# informs require cbFun |