Re: [tkined] Receiving a different trap than sent one

From: Juergen Schoenwaelder (schoenw@ibr.cs.tu-bs.de)
Date: Wed Oct 18 2000 - 11:30:47 MET DST


>>>>> Javier Campoamor writes:

Javier> In my agent, I have to send a trap after receiving a set. The
Javier> problem that I'm having is that I send a trap but the manager
Javier> application (SNMPv1) receives another one.

Javier> This is the line where I send the trap: $trapSession trap
Javier> mlosSltSingleRes [list [list mlosDN $gMlosDN]]

Javier> where the mlosSltSingleRes is: mlosSltSingleRes
Javier> 1.3.6.1.4.1.231.7.1.1.1.4.2 nonLeaf

Javier> The trap recived in the manager is: UFFITL: callBack. TrapId =
Javier> 1.3.6.1.6.3.1.1.4.3.0.2

Javier> I have read in the snmp man pages that "It is possible to
Javier> convert a SNMPv1 trap definition into a snmpTrapOid object
Javier> identifier by appending the generic and specific trap number
Javier> to the enterprise object identifier." How can I do this? I
Javier> know which the object identifier is, but I don't know where to
Javier> find the enterprise oid (perhaps 1.3.6.1.4.1.231?), and the
Javier> generic & specific number.

It is hard to say anything without seeing the actual MIB definitions,
knowing the scotty version and perhaps a neutral dump of the packet
(e.g. running tcpdump or ethereal).

/js

-- 
Juergen Schoenwaelder      Technical University Braunschweig
<schoenw@ibr.cs.tu-bs.de>  Dept. Operating Systems & Computer Networks
Phone: +49 531 391 3289    Bueltenweg 74/75, 38106 Braunschweig, Germany
Fax:   +49 531 391 5936    <URL:http://www.ibr.cs.tu-bs.de/~schoenw/>

-- !! 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:55 MET