[tkined] [scotty] Invalid command: "snmp agent"

Vincent Qing Yin (vyin@cs.ubc.ca)
Tue, 16 Jun 1998 00:07:00 -0700 (PDT)

Hi, Everyone,

I'm playing with the snmp commands in scotty 2.1.7 on a Solaris machine.
Here is the error:

% snmp session
snmp0

% snmp0 get sysName.0
{1.3.6.1.2.1.1.5.0 {OCTET STRING} cascade.cs.ubc.ca}

% snmp0 agent
==> bad option "agent": should be configure, cget, wait, destroy,
get, getnext, getbulk, set, trap, inform, walk, scalars,
table instance, or bind

The command "snmp0 agent" is documented in Section 7 "Smart
Agents written in Tcl" in the paper by J. Schonwalder and
H. Langendorfer at
ftp://ftp.ibr.cs.tu-bs.de/pub/local/papers/tcltk-95.ps.gz
as mentioned in the FAQ.

Why isn't it working?

And by the way, where can I find a command reference manual for scotty?
For example, how to specify a host (where the SNMP agent is) in the command
snmp0 get sysName.0
???

Thank you.

-- 

Q Vincent Yin | Repeat vyin@cs.ubc.ca | delete(next->bug); (604) 876-9096 (H) | Until 0 = 1;

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