-
1. Re: AcknowledgeActiveAlarms not found??
dimitris Jan 30, 2006 3:07 AM (in response to thiagosouza)org.jboss.console.plugins.monitor.AcknowledgeActiveAlarms is a servlet in deploy\management\console-mgr.sar\console-mgr-classes.jar.
Is it not there in your setup? Are you using the .zip 4.0.3SP1 distribution (with the 3 configurations minimal/all/default) or the installer .jar ? -
2. Re: AcknowledgeActiveAlarms not found??
thiagosouza Jan 30, 2006 6:56 AM (in response to thiagosouza)Hi,
Thanks for your reply.
Yeh, I know it's supposed to be in deploy\management\console-mgr.sar\console-mgr-classes.jar, but I didn't find any mappings in web.xml to it.
My jboss is a clean default configuration install. I used the install.jar.
Regards,
Thiago Souza -
3. Re: AcknowledgeActiveAlarms not found??
dimitris Jan 30, 2006 7:33 AM (in response to thiagosouza)Ok, the template that generated the web.xml descriptor was out-of-sync with the descriptor. I fixed it, see:
http://jira.jboss.com/jira/browse/JBAS-2742
This bug only appears if you use the installer. -
4. Re: AcknowledgeActiveAlarms not found??
thiagosouza Jan 30, 2006 8:58 AM (in response to thiagosouza)Hi,
Thanks for you help, now it's working fine.
I have another question regarding this. The warning notifications generated by my app as marked as UNKNOWN, how to fix this?
Regards,
Thiago Souza -
5. Re: AcknowledgeActiveAlarms not found??
dimitris Jan 30, 2006 10:20 AM (in response to thiagosouza)It depends, on how those notifications are generated.
1) If you produce JMX notifications from an MBean, and the ActiveAlarmTable subscribes for them, you need to produce special notification types that carry severity. The easiest way to do this is to use the AlarmManager helper class: http://wiki.jboss.org/wiki/Wiki.jsp?page=AlarmManager. This is most useful if you want to indicate conditions that "clear" themselves out (e.g. memory low, memory ok). Or else produce directly org.jboss.monitor.alarm.AlarmNotification that carry the severity.
2) If you want to present ordinary notifications as alarms, you need to map them to AlarmNotifications. You could use the ScriptingListener for this: http://wiki.jboss.org/wiki/Wiki.jsp?page=ScriptingListener
3) If those are log4j messages, then you can't, the mapping is fixed, see http://wiki.jboss.org/wiki/Wiki.jsp?page=JMXNotificationAppender
I guess if there is enough demand I could add some basic mapping mechanism in the AlarmTableService itself, e.g. notification type X --> CRITICAl.