3 Replies Latest reply on Aug 29, 2005 10:13 AM by dimitris

    Trap OID when using v2c in SNMP Adaptor

    amyrlinseat

      Hi all,

      I use JBoss (3.2.6) SNMP Adaptor to convert a JMX notification to an SNMP trap.
      in the file "managers.xml" I define the manager app that receives the traps, and there I can define if the trap is sent as version 1 or as version 2 (v2c):

       <manager>
       <address>localhost</address>
       <port>1162</port>
       <local-address></local-address>
       <local-port></local-port>
       <version>1</version>
       </manager>
      


      I use some other tool to catch the trap when it is sent.
      In this tool I see the values of the enterprise oid, generic type and specific type, which should be the same values I defined for that trap in the mapping node in the file "notifications.xml".

      When I set the version node to be 1, and send a JMX notification, the adaptor converts it to an SNMP trap of version v1, and in my tool I see the correct values of the enterprise oid, generic type and specific type.

      But when I set the version node to be 2, the trap is received by the tool as v2c, but without any values for the enterprise oid, generic type and specific type.

      Is this a bug in the SNMP adaptor, an intended behavior, or a problem with my trap viewer tool?
      When using v2c traps, how should the SNMP manager application know the trap OID?

      TIA
      Amyrlin