Re: SNMPv2C/SNMPv2U

Cameron Laird (claird@Starbase.NeoSoft.COM)
Wed, 21 May 1997 02:44:03 -0500 (CDT)

From nst@sxb.bsf.alcatel.fr Wed May 21 02:34:02 1997
.
.
.
I work on a Unix plateform, I 've installed the scotty agent on the port 1701
and the ucd-agent on the port 161.
Look at the example of the execution of the ucd-agent and the scotty-agent.

First the ucd-agent
% snmp0 configure -port 161 -version SNMPv1
-address 127.0.0.1 -port 161 -version SNMPv1 -community public -timeout 5 -retries 3 -window 10 -delay 0

% snmp0 getnext sysUpTime
{1.3.6.1.2.1.1.3.0 TimeTicks {0d 14:30:16.48}}

% snmp0 getnext sysDescr
{1.3.6.1.2.1.1.1.0 {OCTET STRING} {SunOS Sioban 4.1.3 3 sun4c}}

Now the scotty-agent:

% snmp0 configure -port 1701 -version SNMPv2C
-address 127.0.0.1 -port 1701 -version SNMPv2c -community public -timeout 5 -retries 3 -window 10 -delay 0

% snmp0 getnext sysDescr
genErr 0 {1.3.6.1.2.1.1.1 NULL {}}

% snmp0 getnext sysUpTime
{1.3.6.1.2.1.1.3.0 TimeTicks {0d 0:03:24.00}}

The problem is that the response of the scotty-agent are wrong...
I don't know what I'm doing wrong or what I did forget to do.
.
.
.
There's nothing intrinsically wrong with the sysUpTime.
Let's put that aside for now.

"genErr 0 {1.3.6.1.2.1.1.1 NULL {}}" just looks bizarre
to me. I run that same daemon on SunOS 4.1.3 and 4.1.4,
and all I ever see is "{1.3.6.1.2.1.1.1.0 {OCTET STRING}
{scotty agent}}", which seems fine to me.

I, also, don't know what's going on with your configura-
tion.

Cameron Laird http://starbase.neosoft.com/~bodi/nesi.html
Network Engineered Solutions +1 713 763 8366
claird@NeoSoft.com +1 281 996 8546 FAX
Houston WWW Business Guide: http://starbase.neosoft.com/~bodi/HouGuide.html

--
!! 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.