0 Replies Latest reply on Apr 27, 2007 5:11 AM by popoctavian

    SNMP adapter issue

    popoctavian

      Hi,

      I have one problem regarding the SNMP Adapter from JBoss (v4.0.5).
      I changed in
      JBOSS_HOME\server\default\deploy\snmp-adaptor.sar\META-INF\jboss-service.xml
      the readCommunity and writeCommunity attribute values for
      SnmpAgentService mbean and the heartbeat traps still have the default
      values ("public"/"private"). Is this a bug, or I have to do some other
      changes?
      Below is the content of jboss-service.xml, so you can take a closer look.

      Thanks in advance for your reply.

      Best regards,
      Octavian Pop.




      <!-- A simple trap receiver that acts as an SNMP Manager -->


      1162
      ssss
      aaaaa



      <!-- The SNMP adaptor MBean -->


      org.jboss.jmx.adaptor.snmp.agent.RequestHandlerImpl
      /attributes.xml
      org.jboss.jmx.adaptor.snmp.agent.TrapFactorySupport
      /notifications.xml
      /managers.xml
      10
      1162
      false
      ssss
      aaaaa


      <subscription-list>
      <!-- Monitor events from SNMP adaptor itself -->



      <!-- Monitor timer for heartbeat events -->


      ssss
      aaaaa


      <!-- Valid JMX ObjectName patterns may be used as well, for example


      will subscribe to all matching mbeans for all notification types
      notification types can be used for simple prefix matching, e.g.


      matches both JMX.mbean.registered and JMX.mbean.unregistered -->

      </subscription-list>


      <depends optional-attribute-name="TimerName">




      <!-- Defines the system information as specified in rfc-1213
      iso.org.dod.internet.mgmt.mib-2.system.* -->


      In The Matrix
      Central Computer
      Agent Smith
      <!-- attribute name="SysName"> set internally to serverConfig@hostAddress-->
      <depends optional-attribute-name="SnmpAgent">
      jboss.jmx:name=SnmpAgent,service=snmp,type=adaptor



      <!-- Used for internal testing - ignore

      -->