WebSphere Monitoring
list James Wade
Does anyone monitor any Websphere Logs? I'm looking for suggestions on monitoring them. Thanks.James
list Allan Spencer
▸
James Wade wrote:
Does anyone monitor any Websphere Logs? I’m looking for suggestions on monitoring them. Thanks…James
Anything in particular you want to test for ? You can run a script that calls the serverstatus command and then greps the output. Otherwise you can use the logfile monitoring and add rules to match against the error codes you want reported Allan
list James Wade
Hi Allan,
I tried adding another logfile monitor today,
and I didn't have much success. I put it on
both the client side and server side, but it
never seemed to send any data.
HOST=myhost
LOG /opt/WebSphere/AppServer3/log/Weblog.out
Put it in the localclient.cfg on the client, and
in the hobbit-clients.cfg on the server.
I was looking for things to monitor in the log file.
Any suggestions for most failing types for Websphere?
What's the script that calls the server status?
Is there something that will give me the server status
for every instance running, or do I have to know
the port numbers and instances?
Thanks...James
▸
-----Original Message-----
From: Allan Spencer [mailto:user-42a3456c44ef@xymon.invalid] Sent: Thursday, November 16, 2006 4:22 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] WebSphere Monitoring
James Wade wrote:Does anyone monitor any Websphere Logs? I'm looking for suggestions on monitoring them. Thanks.James
Anything in particular you want to test for ? You can run a script that calls the serverstatus command and then greps the output. Otherwise you can use the logfile monitoring and add rules to match against the error codes you want reported Allan
list Allan Spencer
▸
James Wade wrote:
Hi Allan, I tried adding another logfile monitor today, and I didn't have much success. I put it on both the client side and server side, but it never seemed to send any data. HOST=myhost LOG /opt/WebSphere/AppServer3/log/Weblog.out Put it in the localclient.cfg on the client, and in the hobbit-clients.cfg on the server. I was looking for things to monitor in the log file. Any suggestions for most failing types for Websphere? What's the script that calls the server status? Is there something that will give me the server status for every instance running, or do I have to know the port numbers and instances? Thanks...James -----Original Message----- From: Allan Spencer [mailto:user-42a3456c44ef@xymon.invalid] Sent: Thursday, November 16, 2006 4:22 PM To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] WebSphere Monitoring James Wade wrote:Does anyone monitor any Websphere Logs? I'm looking for suggestions on monitoring them. Thanks.JamesAnything in particular you want to test for ? You can run a script that calls the serverstatus command and then greps the output. Otherwise you can use the logfile monitoring and add rules to match against the error codes you want reported Allan
My suggestion would be to have a hunt through man pages and the mailing list archives at http://www.hswn.dk/hobbiton/ for some of the threads about log monitoring Error codes could be fun although if you know of some error that happens then you can grab that one particular code and string and monitor for that, but otherwise for me or anyone else to be able just hand over any old codes to monitor would be far from ideal. As for the status script its located in the AppServer/bin directory called serverStatus.sh If you call it as 'serverStatus.sh -all' it will give you a status about all the individual servers but only running or started Only thing youd have to do form there is turn it into a form of hobbit script although there may already be one out there on http://www.deadcat.net Allan
list Henrik Størner
▸
On Thu, Nov 16, 2006 at 04:38:32PM -0600, James Wade wrote:
I tried adding another logfile monitor today,
and I didn't have much success. I put it on
both the client side and server side, but it
never seemed to send any data.
HOST=myhost
LOG /opt/WebSphere/AppServer3/log/Weblog.out
Put it in the localclient.cfg on the client, and
in the hobbit-clients.cfg on the server.
Wrong. In client-local.cfg, put
[myhost]
log:/opt/WebSphere/AppServer3/log/Weblog.out
In hobbit-clients.cfg, put
HOST=myhost
LOG /opt/WebSphere/AppServer3/log/Weblog.out %Error|Warning
if you want to react to the words "Error" or "Warning" showing up in the
logfile.
Both of these configuration files are on the Hobbit server only.
Regards,
Henrik
list James Wade
Thanks... Works, Great now. Can I add different alert levels like this: HOST=System011 LOG /opt/IBM/WebSphere/logs/SystemOut.log %Error|Warning COLOR=YELLOW LOG /opt/IBM/WebSphere/logs/SystemOut.log %Assertion COLOR=RED Thanks...James
▸
-----Original Message-----
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid]
Sent: Friday, November 17, 2006 2:10 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] WebSphere Monitoring
On Thu, Nov 16, 2006 at 04:38:32PM -0600, James Wade wrote:I tried adding another logfile monitor today,
and I didn't have much success. I put it on
both the client side and server side, but it
never seemed to send any data.
HOST=myhost
LOG /opt/WebSphere/AppServer3/log/Weblog.out
Put it in the localclient.cfg on the client, and
in the hobbit-clients.cfg on the server.
Wrong. In client-local.cfg, put
[myhost]
log:/opt/WebSphere/AppServer3/log/Weblog.out
In hobbit-clients.cfg, put
HOST=myhost
LOG /opt/WebSphere/AppServer3/log/Weblog.out %Error|Warning
if you want to react to the words "Error" or "Warning" showing up in the
logfile.
Both of these configuration files are on the Hobbit server only.
Regards,
Henrik