You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by dori <do...@googlemail.com> on 2009/07/22 17:51:37 UTC
Monitoring Tomcat
Hello everyone.
What would be the best way or a good way to monitor topcat, so i could see
when and where any errors are originating from, say if 10 people an hour are
getting a certain http error code then I can work out why and enable me to
see how much load tomcat is under and how it's performing?
I found Lambaprobe but it dosent seem to have been updated in 3 years and im
not sure about it supporting tomcat 6.
To paraphrase, how do you know when it's time (or nearly time) to upgrade
your Tomcat set up (vertical, horizontal, whatever)
Thanks for any (much needed) advice...
Dori
--
View this message in context: http://www.nabble.com/Monitoring-Tomcat-tp24609118p24609118.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Monitoring Tomcat
Posted by El Tonno <el...@m-plify.net>.
Leon Rosenberg wrote:
> On Wed, Jul 22, 2009 at 6:15 PM, El Tonno<el...@m-plify.net> wrote:
>
>> Tomcat monitoring for the Poor Man...
>>
>>
>
> and here's the version for the rich man:
>
> http://moskito.anotheria.net/moskitodemo/mui/mskShowAllProducers
>
> :-)
> regards
> Leon
>
Hah, nice! I got to ask my boss for a sabattical to check that.
Re: Monitoring Tomcat
Posted by Leon Rosenberg <ro...@googlemail.com>.
On Wed, Jul 22, 2009 at 6:15 PM, El Tonno<el...@m-plify.net> wrote:
>
> Tomcat monitoring for the Poor Man...
>
> Here's my approach:
>
> The Tomcat application generates counter/gauge information about the JVM
> state as well about "business" values, possibly using a separate thread.
> These are written to the database or exported through a servlet which can be
> queried by HTTP.
>
> I then use a homemade script to fetch and preprocess and RRDtool to graph
> the state of the JVM or the other values of interest.
>
and here's the version for the rich man:
http://moskito.anotheria.net/moskitodemo/mui/mskShowAllProducers
:-)
regards
Leon
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Monitoring Tomcat
Posted by El Tonno <el...@m-plify.net>.
dori wrote:
> Hello everyone.
>
> What would be the best way or a good way to monitor topcat, so i could see
> when and where any errors are originating from, say if 10 people an hour are
> getting a certain http error code then I can work out why and enable me to
> see how much load tomcat is under and how it's performing?
>
> I found Lambaprobe but it dosent seem to have been updated in 3 years and im
> not sure about it supporting tomcat 6.
>
> To paraphrase, how do you know when it's time (or nearly time) to upgrade
> your Tomcat set up (vertical, horizontal, whatever)
>
> Thanks for any (much needed) advice...
>
> Dori
>
Tomcat monitoring for the Poor Man...
Here's my approach:
The Tomcat application generates counter/gauge information about the JVM
state as well about "business" values, possibly using a separate thread.
These are written to the database or exported through a servlet which
can be queried by HTTP.
I then use a homemade script to fetch and preprocess and RRDtool to
graph the state of the JVM or the other values of interest.
This involves some tedious setup work, but can give results of interest
(e.g. I see when it is time to restart Tomcat because of a memory leak etc)
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Monitoring Tomcat
Posted by dori <do...@googlemail.com>.
thanks, will do.
Hassan Schroeder-2 wrote:
>
> On Wed, Jul 22, 2009 at 8:51 AM, dori<do...@googlemail.com> wrote:
>
>> I found Lambaprobe but it dosent seem to have been updated in 3 years and
>> im
>> not sure about it supporting tomcat 6.
>
> It works fine with Tomcat 6.0.x. Try it.
>
> --
> Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
> twitter: @hassan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/Monitoring-Tomcat-tp24609118p24609818.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Monitoring Tomcat
Posted by Hassan Schroeder <ha...@gmail.com>.
On Wed, Jul 22, 2009 at 8:51 AM, dori<do...@googlemail.com> wrote:
> I found Lambaprobe but it dosent seem to have been updated in 3 years and im
> not sure about it supporting tomcat 6.
It works fine with Tomcat 6.0.x. Try it.
--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
twitter: @hassan
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Monitoring Tomcat
Posted by El Tonno <el...@m-plify.net>.
dori wrote:
> thanks for the reply. Does this also give you information about how many
> errors users may have received, and posiible the time and load (at the time
> of) of those errors?
>
Hi,
If you can identify that an error occurred, yes. For example, if an
Exception is thrown,
you would catch it at the top servlet, then update a counter value
accordingly. This value can then
be graphed. The Tomcat load would be the number of servlets currently
running, also a
graphable "gauge" etc.
But it's all manual work, nothing general. Plus, RRDtool has its nasty
quirks and I had to embed it into lots of
Perl to automate tasks. If you are interested, I can upload it, but it
does not exactly have the smoothness of
an RPM installation.
Still, the results can be nice:
http://public.m-plify.net/examples/RRDTOOL.png
I haven't looked at Lambda Probe though. As I am being pushed to JBoss
now, this might be a
good occasion.
Best regards,
-- David
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Monitoring Tomcat
Posted by dori <do...@googlemail.com>.
thanks for the reply. Does this also give you information about how many
errors users may have received, and posiible the time and load (at the time
of) of those errors?
dori wrote:
>
> Hello everyone.
>
> What would be the best way or a good way to monitor topcat, so i could see
> when and where any errors are originating from, say if 10 people an hour
> are getting a certain http error code then I can work out why and enable
> me to see how much load tomcat is under and how it's performing?
>
> I found Lambaprobe but it dosent seem to have been updated in 3 years and
> im not sure about it supporting tomcat 6.
>
> To paraphrase, how do you know when it's time (or nearly time) to upgrade
> your Tomcat set up (vertical, horizontal, whatever)
>
> Thanks for any (much needed) advice...
>
> Dori
>
--
View this message in context: http://www.nabble.com/Monitoring-Tomcat-tp24609118p24609611.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Monitoring Tomcat
Posted by Timo Meinen | mindmatters <Ti...@mindmatters.de>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Dori,
we are using Munin and a JMX plugin for this purpose.
Timo
Am 22.07.2009 um 17:51 schrieb dori:
>
> Hello everyone.
>
> What would be the best way or a good way to monitor topcat, so i
> could see
> when and where any errors are originating from, say if 10 people an
> hour are
> getting a certain http error code then I can work out why and enable
> me to
> see how much load tomcat is under and how it's performing?
>
> I found Lambaprobe but it dosent seem to have been updated in 3
> years and im
> not sure about it supporting tomcat 6.
>
> To paraphrase, how do you know when it's time (or nearly time) to
> upgrade
> your Tomcat set up (vertical, horizontal, whatever)
>
> Thanks for any (much needed) advice...
>
> Dori
> --
> View this message in context: http://www.nabble.com/Monitoring-Tomcat-tp24609118p24609118.html
> Sent from the Tomcat - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (Darwin)
iEYEARECAAYFAkpoCmsACgkQeh8+Xr6H+wneCgCeLxon3296QwUTC3a5YO7S9jGH
fFIAnjvyjbxFLNx7BZFsE2kKUxJXZk71
=1VCg
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org