[Management, JMX/JBoss] - Problem with Jboss Monitors
by dhsodani
Hi All,
I have configured one StringThresholdMonitor for my custom MBean for equality test.I have also configured one EmailAlertListenerfor this monitor.
The problem is When I provide the value for the observed attribute for the first time from jmx console i receive the email correctly.But after that I do not receive any mails even if i change the values for the observed attribute.
I am not getting that whether the monitor/alert mechanism work for one time change in the observed value or its continuous process.I am looking some way to make it continuous monitoring/alert mechanism.Please help me to solve this issue.
Here are the excerpts from my config files:
|
|
| Please help me in this regard.
| <mbean code="org.jboss.monitor.StringThresholdMonitor"
| name="jboss.monitor:service=TestMonitor">
| <attribute name="MonitorName">Test Monitor</attribute>
| <depends optional-attribute-name="ObservedObject">jmx.test:service=HelloWorld</depends>
| <attribute name="ObservedAttribute">Message</attribute>
| <depends-list optional-attribute-name="AlertListeners">
| <depends-list-element>jboss.alerts:service=EmailAlertListener</depends-list-element>
| </depends-list>
| <attribute name="Threshold">test</attribute>
| <attribute name="Period">1000</attribute>
| <attribute name="EqualityTriggersAlert">true</attribute>
| <attribute name="Enabled">true</attribute>
| </mbean>
|
|
| <mbean code="org.jboss.monitor.alerts.EmailAlertListener" name="jboss.alerts:service=EmailAlertListener">
| <depends>jboss:service=Mail</depends>
| <attribute name="AlertName">Email Alert</attribute>
| <attribute name="To">dh.sd(a)sgsits.ac.in</attribute>
| <attribute name="From">saas(a)impcustom.com</attribute>
| <attribute name="ReplyTo">saas(a)impcustom.com</attribute>
| <attribute name="SubjectTemplate">Monitor Alert</attribute>
| <attribute name="MessageTemplate">There seems to be some problem with the monitor</attribute>
| </mbean>
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4231652#4231652
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4231652
16 years, 11 months
[Installation, Configuration & DEPLOYMENT] - Jboss not correctly starting
by jlankfo
Sorry if this isn't the right place for this because it may be more of an eclipse plugin problem but I am attempting to start the jboss server via eclipse and the server starts correctly because I see the line below and I can navigate to my pages.
08:54:04,539 INFO [ServerImpl] JBoss (Microcontainer) [5.0.1.GA (build: SVNTag=JBoss_5_0_1_GA date=200902232048)] Started in 1m:18s:432ms
However eclipse doesn't recognize that its started and still claims that its "starting..." so after the timeout its up the server is then stopped. I did make some configuration changes that seem to cause the issue. I am running monitoring software so i had to reconfigure jboss in jboss\server\default\conf\bootstrap\bindings.xml to not use ports 1098-1102. I just bumped them all up to the next availible ports... so 1098 changed to 1103, 1099 to 1104 and so on. Reconfiguring the monitoring software is not really an option. Thanks in advance for any help.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4231636#4231636
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4231636
16 years, 11 months