Hello,

I'm trying trouble with monitoring and notifications.

I followed instructions found on jboss wikis to put a FreeMemory.
jboss-monitoring.xlm looks like this:

<server>
  | 
  |   <mbean code="org.jboss.monitor.alerts.ConsoleAlertListener" 
  |          name="jboss.alerts:service=ConsoleAlertListener">
  |     <attribute name="MessageTemplate"><![CDATA[%(MONITOR_NAME) was 
triggered for attribute %(ATTRIBUTE).]]></attribute>
  |     <attribute name="AlertName">Console Alert</attribute>
  |   </mbean>
  | 
  | <mbean code="org.jboss.monitor.ThresholdMonitor"
  |        name="jboss.monitor:service=FreeMemory">
  |   <attribute name="MonitorName">FreeMemory Monitor</attribute>
  |   <attribute name="ObservedObject">jboss.system:type=ServerInfo</attribute>
  |   <attribute name="ObservedAttribute">FreeMemory</attribute>
  |   <attribute name="Threshold">150000000</attribute>
  |   <attribute name="CompareTo">1</attribute>
  |   <attribute name="Period">1000</attribute>
  |   <attribute name="Enabled">true</attribute>
  |   <depends-list optional-attribute-name="AlertListeners">
  | 
  | 
<depends-list-element>jboss.alerts:service=ConsoleAlertListener</depends-list-element>
  |   </depends-list>
  |   </mbean>
  | 
  | </server>
  | 

I intentionally put an high value for the threshold so i'm sure the free memory 
will be lower for each check. The problem i have is  that i receive only 1 
notification at the first check , then i no more get any notifictation (in the 
console).
Can someone tell me whats wrong pls?

Jean Yves


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

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


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to