7 Replies Latest reply on Jan 9, 2006 1:04 AM by Karan Patil

    Jboss->snmp-adaptor->snmptrapd->snmptt configuration issue

    Karan Patil Newbie

      Hello,
      I needed to investigate jmx-notifications -> snmp traps -> nagios(1.3) ->alert process.Got the the snmp-adaptor.sar configured as
      jboss-service.xml
      -----------------------------------------------------------
      <?xml version="1.0" encoding="UTF-8"?>


      org.jboss.jmx.adaptor.snmp.agent.RequestHandlerSupport
      org.jboss.jmx.adaptor.snmp.agent.TrapFactorySupport
      /notifications.xml
      /managers.xml
      0
      1161
      false

      <subscription-list>
      <mbean name="jboss.jmx:name=HelloWorld,service=test,type=testBroadcaster"/>
      </subscription-list>


      -----------------------------------------------------------
      manager.xml
      __________________________________________

      172.19.22.250
      162
      <local-address></local-address>
      <local-port></local-port>
      1

      __________________________________________
      and notifications.xml as
      ------------------------------------------------------

      <notification-type>com.acme.jmx-smnp.test</notification-type>
      0
      0
      .1.3.6.1.4.1.2162.500.1.1
      <var-bind-list wrapper-class="org.jboss.jmx.adaptor.snmp.agent.NotificationWrapperSupport">
      <var-bind>
      n:message
      .1.3.6.1.4.1.2162.500.1.1.1
      </var-bind>
      </var-bind-list>

      ------------------------------------------------------
      where com.acme.jmx-smnp.test is the notification-type emitted by mbean jboss.jmx:name=HelloWorld,service=test,type=testBroadcaster.
      The case happening being that with a configured snmptrapd+snmptt combination the above trap is gettig accepted as "coldStart" trap and the notification type "com.acme.jmx-smnp.test" accepted as "coldStart" trap variable.
      If someone faced such issue previously or if i'm making here some configurations mistake,do let me know.

      thanx in advance,
      karanuk