From 4f0c39ebd6da5182de53fb3b08888727206d587f Mon Sep 17 00:00:00 2001 From: elie Date: Mon, 28 May 2007 16:15:36 +0000 Subject: change to notificationType syntax --- docs/pysnmp-tutorial.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs') 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.

The notificationType 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.

@@ -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 -- cgit v1.2.1