[jboss-user] [Management, JMX/JBoss] - SNMP adapter issue

Pop Octavian do-not-reply at jboss.com
Fri Apr 27 05:11:44 EDT 2007


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 at hostAddress-->
    <depends optional-attribute-name="SnmpAgent">
  	   jboss.jmx:name=SnmpAgent,service=snmp,type=adaptor
    
  
    
  <!-- Used for internal testing - ignore
  
  -->


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4041308#4041308

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4041308



More information about the jboss-user mailing list