What I would like to do is record all traps into a file.
I have tried the following simple test, and have had no luck:
mib load traps.asn
set session [snmp session -address myadddress]
$session bind "" trap { echo 'got one'}
At this point I never see any response.
Later I added:
while {1} {
snmp wait
sleep 3
}
In addition, if I enable snmp watch, I see a decode of some (but not all)
traps arriving (I am using another Sun to snoop for traps).
Any help would be greatly appreciated.
Charles
-------------------------------------------------------------------------------
Charles Menser "Why did you pour ink on my head?"
--- Yosemite Sam
-- !! 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.