diff options
author | elie <elie> | 2007-05-28 16:15:36 +0000 |
---|---|---|
committer | elie <elie> | 2007-05-28 16:15:36 +0000 |
commit | 4f0c39ebd6da5182de53fb3b08888727206d587f (patch) | |
tree | f755c0859a4c84010e0ca5617f176639753717f7 /docs | |
parent | c813d586597ceb3aa4e4181c61bcd46911238364 (diff) | |
download | pysnmp-4f0c39ebd6da5182de53fb3b08888727206d587f.tar.gz |
change to notificationType syntax
Diffstat (limited to 'docs')
-rw-r--r-- | docs/pysnmp-tutorial.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/pysnmp-tutorial.html b/docs/pysnmp-tutorial.html index ea9833f..ea29a04 100644 --- a/docs/pysnmp-tutorial.html +++ b/docs/pysnmp-tutorial.html @@ -933,8 +933,8 @@ process and acknowledge confirmed notification. <P> The <STRONG>notificationType</STRONG> parameter indicates the kind of event to notify Manager about in form of SMI NOTIFICATION-TYPE object -name. For instance, ('SNMPv2-MIB', 'coldStart') is a value of coldStart -notification type as defined in SNMPv2-MIB module. +name. For instance, (('SNMPv2-MIB', 'coldStart'),) or (1,3,6,1,6,3,1,1,5,1) +is a value of coldStart notification type as defined in SNMPv2-MIB module. </P> <P> @@ -965,7 +965,7 @@ The following code sends SNMP TRAP over SNMPv3: ... cmdgen.UsmUserData('my-user', 'my-authkey', 'my-privkey'), ... cmdgen.UdpTransportTarget(('localhost', 162)), ... 'trap', -... ('SNMPv2-MIB', 'coldStart'), +... (('SNMPv2-MIB', 'coldStart'),), ... ((1,3,6,1,2,1,1,3,0), v2c.TimeTicks(44100)) ) >>> print errorIndication |