> >>>>> John Stumbles writes:
>
> John> Scotty's SNMP trap receiver (part of tkined)
> John> gives me more-or-less useful trap info ...
> [snip]
> John> .. but I have to be running Tkined to catch the traps (I think)
>
> Take a look at tnm/examples/snmptrapd script contained in the scotty
> distribution. Its just a few lines of Tcl code to decode the trap
> message into something human readable. I guess it should be easy to
> adapt this code so that you can feed information into nocol. You
> definately do not need to run Tkined just to get access to trap
> details.
Thanks Juergen, I guessed there had to be a way to do this without running
Tkined, but I didn't realise there was already code in the distribution
<blush> to do it.
I find that I have to delete the pipe /tmp/.straps-162 (if it exists)
before starting snmptrapd (and straps, which it seems to invoke
automagically) otherwise straps/snmptrapd silently fails to receive or
report traps.
Is this something I am doing wrong, a bug in your code, or one of those
wonderful Unixey 'features' we all know and love so well ;-) ??
And do I actually need straps at all? Is it not possible for a tnm script
to receive and process traps directly? (Can you or anyone else show me
how? - sorry, my tcl programming skills are extremely basic.)
regards,
-- John Stumbles j.d.stumbles@reading.ac.uk I.T. Services (Centre), University of Reading http://www.rdg.ac.uk/~suqstmbl +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-- !! 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.