Hi Jay,

Many thanks for having a look. The agent was definitely up when I was saving the connection settings. One other thing I thought of - the RHQ agents/server aren't running as root, but it is as the same user as JBoss, so they shouldn't have any problems accessing the files.

Appreciate any and all thoughts!

Mike

On Mon, Jan 9, 2012 at 8:12 PM, Jay Shaughnessy <jshaughn@redhat.com> wrote:

Mike,

Is there any chance you enabled the Log Event Source (edited and saved the connection settings) while the agent was down?  If so, can you try editing and saving the configuration when the agent is up?

I'm looking into this further...


On 1/6/2012 7:50 PM, Mike Hepple wrote:
Hi all,

I'm having great trouble getting my JBoss AS4 servers to send events
to the RHQ server. I've set up an event source as follows:

Enabled: Yes
Log file path: /opt/jboss/instances/<name>/log/server.log
Includes Pattern: <unset>
Minimum Severity: <unset>
Date Format: dd/MM/yyyy HH:mm:ss,SSS

I then poke my app for a while to produce a log message, e.g.

05/01/2012 10:23:40,329 [ERROR] [       ] [org.apache.myfaces.renderkit.html.util.MyFacesResourceLoader] Unparsable lastModified : @lastModified@
05/01/2012 10:23:49,347 [ INFO] [jbloggs] [com.myapp.search.SearchServiceImpl] Search Query: Select id from object where date > 04-01-2012

However, the event screen for this server contains no events, even after a week.

Appreciate any help you can provide,

Mike


_______________________________________________
rhq-users mailing list
rhq-users@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/rhq-users

_______________________________________________
rhq-users mailing list
rhq-users@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/rhq-users