RE: [tkined] Listening for traps on Solaris

From: Indranil Adak (adakin@hpsgns1.sgp.hp.com)
Date: Thu Jan 13 2000 - 02:58:41 MET


You are right Stuart. There is going to be a problem if your box needs other
SNMP managers to be running. Actually, any trap daemon listening at port 162
should not be application specific, rather it has to function as a
postmaster for traps. The trap PDU s are specific to different applications
(may not be true always), therefore, different applications should register
themselves to the trap daemon with an information that what kind of traps
they are looking for. That is, different applications register themselves to
this trap daemon specifying the trap OID (a pattern would do). The trap
daemon running at port 162, will then filter out the received traps and send
them to the interested application. The bottomline is that, if more than one
application registers for the same kind of trap, both of them receive the
same traps.
The model may look like as ...

trap daemon (at UDP 162) --> your app .... [NB : trap daemon should have
another server port for serving the client apps, or you may want to go for
proxies ]

As far as the documentation is concerned, I guess, you must have tried
Solstice Enterprise agent's/manager's guide available on
http://docs.sun.com. I cannot think of anything else that might help you at
this point of time.

Cheers
Indranil

-----Original Message-----
From: owner-tkined@ibr.cs.tu-bs.de [mailto:owner-tkined@ibr.cs.tu-bs.de]
Sent: Wednesday, January 12, 2000 11:27 PM
To: tkined@ibr.cs.tu-bs.de
Subject: [tkined] Listening for traps on Solaris

Hello Friends,

I asked a similar question a while back but got no response, so I'm going to
phrase it a bit differently this time:

I want to run a scotty 2.1.10 script on Solaris 2.6 to catch and respond to
traps. If I disable all other snmp daemons then I can use a very simple
"snmp session" command and everything is fine.

However, what if I cannot be the only listener on port 162? Is there
documentation on how to interface with Sun's snmpd or straps? Is this the
correct approach?

Thanks in advance, any help desperately needed!!

Cheers
Stuart Austin

--== Sent via Deja.com http://www.deja.com/ ==--
Share what you know. Learn what you don't.

--
!! 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 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 : Mon Jan 08 2001 - 15:27:31 MET