Hi! Toni:
I used your pattern to display Trap info in the BIND and call back %V, was
working fine.
I moved to a new company, same project:
If I turn on "$s watch 1" the debugger, I saw traps but not the "$s bind
trap {%V}"??
Manager always wait for default port 162, whatelse could Scotty missing
these bind?:
package require Tnm
set iTrapRec 0
set sid [Tnm::snmp listener]
$sid bind trap {incr iTrapRec; puts "\nReceived SNMP PDU %T:\nRequest-Id %R
in session %S from %A port %P\nContents: %V\nError status: %E --- Error
index: %I\nTraps received so far: $iTrapRec"}
THANKS for info!
__Albert
-- !! 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.
This archive was generated by hypermail 2b29 : Thu Jan 03 2002 - 14:56:28 MET