0 Replies Latest reply: Jan 18, 2012 9:05 AM by ferit unlu RSS

    jboss snmp agent subscriptionlist problem

    ferit unlu Newbie



      I am trying to send snmp traps with jboss snmp plugin, but i am having problem with the subscriptionlist of snmp adapter mbean(jboss.jmx:name=SnmpAgent,service=snmp,type=adaptor).

      I try add the fallowing mbean to the list;


      <mbean name="jboss.system:service=ThreadPool">

                <notification type="jboss.snmp.agent.heartbeat"/>



      But i got the fallowing error;


      15:33:49,725 WARN  [SnmpAgentService] Failed to subscribe to: 'jboss.system:service=ThreadPool', maybe not a notification broadcaster or: 'jboss.jmx:name=SnmpAgent,service=snmp,type=adaptor', maybe not a notification listener


      when i look at the code


      jboss.system:service=ThreadPool (org.jboss.util.threadpool.BasicThreadPool) sure not implementing the notificationbroadcaster.I am confused with the attributes.xml and notifications.xml relationship.


      Attributes.xml is the mapping for jmx values to SNMP oids which can be used for issues like (snmpget,snmpset,etc...)


      Notifications.xml + jboss-service.xml is for sending traps and i have to code my own mbeans(implements notificationbroadcaster, etc...)?Thanks, best regards.