Neither the Tomcat plugin nor the JMX plugin supports the Events. You'd
have to modify the plugin code to do that. Adding this support to the
Tomcat plugin probably wouldn't be hard - you could just mimic what the
JBossAS or RHQ Agent plugins do. It looks like it could be as easy as
adding 4 lines to the component java class and a few lines of XML to the
descriptor. See AgentServerComponent in the rhq-agent plugin and its
declaration/usage of this.logFileEventDelegate as well as its <event>
XML in the rhq-plugin.xml descriptor.
As for JMX - not sure what the events would be. If you want JMX
Notifications to be the RHQ events, you'd have to figure out how to
configure the JMX server components to know how/where to subscribe to
those notifications. We never looked into that, but it could be an
interesting project for someone to attempt.
If you need help on any of this coding, feel free to start a thread on
the developer's mailing list - rhq-devel
On 02/27/2011 06:34 PM, LUND, CARSTEN (CARSTEN) wrote:
I have been unable to find a way to ingest events using the Tomcat
plugin. I would like to look for events from the logs/catalina.out file.
But under the Tomcat Server I was unable to find any service that had
Events.
I am using (for evaluation)
RHQ
Version: 4.0.0.B03
Build Number: 7d43d73
Similar question for JMX plugin.
Thanks.
Carsten
_______________________________________________
rhq-users mailing list
rhq-users(a)lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/rhq-users