Bensen> Can scotty be used to send SNMPv1 trap to other
Bensen> management station?
Yes.
Bensen> I used the following commands to send a trap to other
Bensen> SNMP monitor. The trap message didn't seem to be received
Bensen> by the straps:
Bensen> /usr/local/bin/scotty
Bensen> snmp session -address 129.83.66.24 -community public
Bensen> snmp0 trap coldStart {{sysDescr.0 "TstTrap"}}
Bensen> Are these proper commands to be used to send a trap to other
Bensen> host?
The commands are OK, but the parameters most likely not. See the
snmp(n) man page. It gives the following example:
set port [$s cget -port]
$s configure -port 162
$s trap coldStart [list [list sysDescr.0 "Fridge"]]
$s configure -port $port
It is important to send the trap to port 162 and not to the default
port 161.
Juergen
-- Juergen Schoenwaelder <schoenw@gaertner.de> (Tel: +49-531-23873-0) Gaertner Datensysteme, Hamburger Strasse 273a, 38114 Braunschweig, Germany-- !! 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.