[tkined] multiple users and contexts...

Everett W. Jacobs (jacobs@nosc.mil)
Thu, 13 Aug 1998 09:14:08 -0700 (PDT)

With scotty2.0.2, creating an SNMPv2USEC agent that would answer to
multiple users (and contexts) was no problem. See scotty2.0.2
example below.

What is the proper way to create an SNMPv2u agent that will answer to
muliple users (and contexts) with the more recent versions of scotty ??
See a failed attempt below for scotty2.1.4 . I have also failed at
this with scotty2.1.0 (on various operating systems).

Many thanx...

...Bill.

*****************************************************************************
MANAGER SESSION scotty2.0.2

$ scotty2.0.2
% snmp session -address erebus -port 9999 -user one -context one -agent {}
Warning: SNMP agent created based on an unsafe Tcl interpreter!
snmp0
% snmp session -address erebus -port 9999 -user two -context one -agent {}
Warning: SNMP agent created based on an unsafe Tcl interpreter!
snmp1

AGENT SESSION scotty2.0.2

$ scotty2.0.2
% snmp session -address erebus -port 9999 -user one -context one
snmp0
% snmp session -address erebus -port 9999 -user two -context one
snmp1
% snmp0 get sysUpTime.0
{1.3.6.1.2.1.1.3.0 TimeTicks { 0d 0:00:32.00}}
% snmp1 get sysUpTime.0
{1.3.6.1.2.1.1.3.0 TimeTicks { 0d 0:00:40.00}}
% exit

*****************************************************************************
MANAGER SESSION scotty2.1.4

$ scotty2.1.4
% snmp session -address erebus -port 9999 -user one -context one -agent {}
Warning: SNMP agent created based on an unsafe Tcl interpreter!
snmp0
% snmp session -address erebus -port 9999 -user two -context one -agent {}
Warning: SNMP agent created based on an unsafe Tcl interpreter!
snmp1
% snmp0 configure
-address 198.253.69.48 -port 9999 -version SNMPv2u -user one -context one -agent {} -timeout 5 -retries 3 -window 10 -delay 0
% snmp1 configure
-address 198.253.69.48 -port 9999 -version SNMPv2u -user two -context one -agent {} -timeout 5 -retries 3 -window 10 -delay 0
%

AGENT SESSION scotty2.1.4

$ scotty2.1.4
% snmp session -address erebus -port 9999 -user one -context one
snmp0
% snmp session -address erebus -port 9999 -user two -context one
snmp1
% snmp0 get sysUpTime.0
{1.3.6.1.2.1.1.3.0 TimeTicks {0d 0:00:45.00}}
% snmp1 get sysUpTime.0
noResponse

---------------------------------------------------------------------------
Everett W. "Bill" Jacobs phone: (619) 553-6151 or 553-1614
SSC San Diego, Code D364 fax: (619) 553-4955 or 553-1269
49590 Lassing Rd.
San Diego, CA 92152-6171 email: jacobs@nosc.mil

--
!! This message is brought to you via the `tkined & scotty' mailing list.
!! Please do not reply to this message to unsubscribe. To subscribe or
!! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>.
!! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.