Re: SNMPv2C/SNMPv2U

Scott Swigart (nst@sxb.bsf.alcatel.fr)
Wed, 21 May 1997 09:34:13 +0200

Hi,

> .
> From: Peter Polkinghorne <Peter.Polkinghorne@brunel.ac.uk>
> . .
> Also do not forget tkined/scotty can act as an agent (see snmp(n)). Depending
> on your platform I would also look to CMU and UCD distributions which work
> with various Unix platforms.
> .
> .
> .
> Why would anyone work from the CMU or UCSD distributions
> rather than Scotty? I haven't done any *serious* agents,
> ones for which outsiders pay, but Scotty has certainly
> been up to everything I've asked it to do on our WAN. I
> find it more reliable and more convenient than CMU; what
> does it lack?
>

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.
Thanks for your help,
Nadine.

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