You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Edwin Quijada <li...@hotmail.com> on 2016/03/29 00:23:15 UTC

Monitoring Tomcat

Hi!
I have an app with Tomcat+Grails+Vaadin+PostgreSQL and I wanna monitor the speed and resources of this. I add to 1024mb to Tomcat because the app and DB is in the same server.

What application can I use to monitor performance of this Tomcat ?


TIA

Re: Monitoring Tomcat

Posted by Edwin Quijada <li...@hotmail.com>.
Cool!! I dont like the name I am from Caribbean and here the moskitos are F****
 :) :)
I will test now!!

________________________________________
From: Leon Rosenberg <ro...@gmail.com>
Sent: Monday, March 28, 2016 10:34 PM
To: Tomcat Users List
Subject: Re: Monitoring Tomcat

Of course MoSKito:
http://www.moskito.org

Take a look at the step by step guide (start with step 1 not 0).
blog.anotheria.net/msk/the-complete-moskito-integration-guide-step-1/

regards
Leon

On Tue, Mar 29, 2016 at 12:23 AM, Edwin Quijada <li...@hotmail.com>
wrote:

> Hi!
> I have an app with Tomcat+Grails+Vaadin+PostgreSQL and I wanna monitor the
> speed and resources of this. I add to 1024mb to Tomcat because the app and
> DB is in the same server.
>
> What application can I use to monitor performance of this Tomcat ?
>
>
> TIA
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: [OT] Monitoring Tomcat

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Leon,

On 3/29/16 11:25 AM, Leon Rosenberg wrote:
> On Tue, Mar 29, 2016 at 4:57 PM, Christopher Schultz < 
> chris@christopherschultz.net> wrote:
> 
>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
>> 
>> Leon,
>> 
>> On 3/28/16 6:34 PM, Leon Rosenberg wrote:
>>> Of course MoSKito: http://www.moskito.org
>>> 
>>> Take a look at the step by step guide (start with step 1 not
>>> 0). 
>>> blog.anotheria.net/msk/the-complete-moskito-integration-guide-step-1
/
>>
>>
>>> 
You
>>> 
>> should come to ApacheCon and give a presentation about MoSKito 
>> sometime. I'd love to see it.
>> 
> 
> Thanks for the invitation, I'd actually love to;-) When is the next
> one (and where;-))

The next one is in May in Vancouver, BC, but the presentation schedule
for that event is already set.

You can go to http://apachecon.com/ for more information any time,
though the site isn't terribly informative. For the past few years,
there have been ApacheCon conferences in North America and Europe
about one per region per year.

I'm personally much more likely to attend the North American
conferences, simply because it's cheaper for my employer to send me.

There's always the "hallway track" where you can just come and talk to
people, too.

- -chris
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlb6pLwACgkQ9CaO5/Lv0PAhMwCgvi8lhICUgtlmXtBYugCLfzkc
Kf0An0ekcxU015uc7EW7Vvcv9DzY+67A
=YWS9
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: [OT] Monitoring Tomcat

Posted by Leon Rosenberg <ro...@gmail.com>.
On Tue, Mar 29, 2016 at 4:57 PM, Christopher Schultz <
chris@christopherschultz.net> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Leon,
>
> On 3/28/16 6:34 PM, Leon Rosenberg wrote:
> > Of course MoSKito: http://www.moskito.org
> >
> > Take a look at the step by step guide (start with step 1 not 0).
> > blog.anotheria.net/msk/the-complete-moskito-integration-guide-step-1/
>
> You
> >
> should come to ApacheCon and give a presentation about MoSKito
> sometime. I'd love to see it.
>

Thanks for the invitation, I'd actually love to;-)
When is the next one (and where;-))
Leon


>
>

Re: [OT] Monitoring Tomcat

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Leon,

On 3/28/16 6:34 PM, Leon Rosenberg wrote:
> Of course MoSKito: http://www.moskito.org
> 
> Take a look at the step by step guide (start with step 1 not 0). 
> blog.anotheria.net/msk/the-complete-moskito-integration-guide-step-1/

You
> 
should come to ApacheCon and give a presentation about MoSKito
sometime. I'd love to see it.

- -chris
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlb6l9AACgkQ9CaO5/Lv0PBRswCgtSOl3nUk4ZO+QxjtGyrUNHbv
BF8An0iCuwCBigFoKv8TzwRp+HKYgSgy
=mIX7
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Monitoring Tomcat

Posted by Leon Rosenberg <ro...@gmail.com>.
Of course MoSKito:
http://www.moskito.org

Take a look at the step by step guide (start with step 1 not 0).
blog.anotheria.net/msk/the-complete-moskito-integration-guide-step-1/

regards
Leon

On Tue, Mar 29, 2016 at 12:23 AM, Edwin Quijada <li...@hotmail.com>
wrote:

> Hi!
> I have an app with Tomcat+Grails+Vaadin+PostgreSQL and I wanna monitor the
> speed and resources of this. I add to 1024mb to Tomcat because the app and
> DB is in the same server.
>
> What application can I use to monitor performance of this Tomcat ?
>
>
> TIA
>

Re: Monitoring Tomcat

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Edwin,

On 3/31/16 4:43 PM, Edwin Quijada wrote:
> manager-jmx security role in tomcat come with Tomcat installation
> ?

Yes, manager-jmx is used to access the JMXProxyServlet. Define any
user with that role and you're good to go.

I would *highly* recommend that you limit the manager application to
localhost access.

- -chris

> ________________________________________ From: Christopher Schultz
> <ch...@christopherschultz.net> Sent: Wednesday, March 30, 2016
> 11:23 PM To: Tomcat Users List Subject: Re: Monitoring Tomcat
> 
> Anthony,
> 
> On 3/30/16 6:08 PM, Anthony Biacco wrote:
>> On Wed, Mar 30, 2016 at 9:13 AM, Christopher Schultz < 
>> chris@christopherschultz.net> wrote:
>> 
>> Edwin,
>> 
>> 
>> For my money, I wouldn't enable JMX because, for monitoring, JMX
>> is a heavy-handed protocol: you either have to maintain a
>> persistent connection to the server or you need to launch a whole
>> JVM and connect over JMX to get e.g. a single sample value (such
>> as current throughput).
>> 
>> I would recommend enabling the JMXProxyServlet through the
>> manager application, and then locking-down the manager
>> application so you can only access it from localhost. Also use a
>> non-trivial password for HTTP authentication for the manager.
>> 
>> 
>>> +1 i was using the jmxquery jar pulled from nagios and was
>>> slooow compared to the manager's jmxproxy (as would be
>>> expected). i just used the the perl script from 
>>> https://wiki.apache.org/tomcat/FAQ/Monitoring and assigned a
>>> user to the manager-jmx security role in tomcat.
> 
> Nice to see someone else is using it ;)
> 
> Feel free to contribute to it or just complain about anything you
> need. I'd like for that tool to be widely-useful. I use it a lot at
> $work, but it should be universally useful.
> 
> -chris
> 
> ---------------------------------------------------------------------
>
> 
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 
> ---------------------------------------------------------------------
>
> 
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlb9lz8ACgkQ9CaO5/Lv0PBy6ACdHL5V/qf+wiy/ZktDCH6AHWY+
OAwAnRxOiXtcoMPghOvBo+gl0G57FC+J
=CC9I
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Monitoring Tomcat

Posted by Edwin Quijada <li...@hotmail.com>.
manager-jmx security role in tomcat come with Tomcat installation ?


________________________________________
From: Christopher Schultz <ch...@christopherschultz.net>
Sent: Wednesday, March 30, 2016 11:23 PM
To: Tomcat Users List
Subject: Re: Monitoring Tomcat

Anthony,

On 3/30/16 6:08 PM, Anthony Biacco wrote:
> On Wed, Mar 30, 2016 at 9:13 AM, Christopher Schultz <
> chris@christopherschultz.net> wrote:
>
> Edwin,
>
>
> For my money, I wouldn't enable JMX because, for monitoring, JMX is a
> heavy-handed protocol: you either have to maintain a persistent
> connection to the server or you need to launch a whole JVM and connect
> over JMX to get e.g. a single sample value (such as current throughput).
>
> I would recommend enabling the JMXProxyServlet through the manager
> application, and then locking-down the manager application so you can
> only access it from localhost. Also use a non-trivial password for
> HTTP authentication for the manager.
>
>
>> +1
>> i was using the jmxquery jar pulled from nagios and was slooow compared to
>> the manager's jmxproxy (as would be expected).
>> i just used the the perl script from
>> https://wiki.apache.org/tomcat/FAQ/Monitoring and assigned a user to the
>> manager-jmx security role in tomcat.

Nice to see someone else is using it ;)

Feel free to contribute to it or just complain about anything you need.
I'd like for that tool to be widely-useful. I use it a lot at $work, but
it should be universally useful.

-chris

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Monitoring Tomcat

Posted by Christopher Schultz <ch...@christopherschultz.net>.
Tony,

On 4/12/16 2:32 PM, Anthony Biacco wrote:
> On Sat, Apr 2, 2016 at 4:47 PM, Christopher Schultz <
> chris@christopherschultz.net> wrote:
> 
>>
>> What regular expression did you try?
>>
>> How about this one:
>>
>> ^OK.*=\s*([0-9.]+)$
>>
>> -chris
>>
> 
> sorry it took so long, i've been in dynamodb hell.
> that worked as the -r and -R
> grazie!

Prego. Glad to see it's working as designed.

-chris

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Monitoring Tomcat

Posted by Anthony Biacco <ab...@handll.com>.
On Sat, Apr 2, 2016 at 4:47 PM, Christopher Schultz <
chris@christopherschultz.net> wrote:

>
> What regular expression did you try?
>
> How about this one:
>
> ^OK.*=\s*([0-9.]+)$
>
> -chris
>

sorry it took so long, i've been in dynamodb hell.
that worked as the -r and -R
grazie!

-Tony


>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Re: Monitoring Tomcat

Posted by Christopher Schultz <ch...@christopherschultz.net>.
Anthony,

On 3/31/16 8:56 PM, Anthony Biacco wrote:
> On Wed, Mar 30, 2016 at 5:23 PM, Christopher Schultz <
> chris@christopherschultz.net> wrote:
> 
>> Anthony,
>>
>> On 3/30/16 6:08 PM, Anthony Biacco wrote:
>>> On Wed, Mar 30, 2016 at 9:13 AM, Christopher Schultz <
>>> chris@christopherschultz.net> wrote:
>>>
>>> Edwin,
>>>
>>>
>>> For my money, I wouldn't enable JMX because, for monitoring, JMX is a
>>> heavy-handed protocol: you either have to maintain a persistent
>>> connection to the server or you need to launch a whole JVM and connect
>>> over JMX to get e.g. a single sample value (such as current throughput).
>>>
>>> I would recommend enabling the JMXProxyServlet through the manager
>>> application, and then locking-down the manager application so you can
>>> only access it from localhost. Also use a non-trivial password for
>>> HTTP authentication for the manager.
>>>
>>>
>>>> +1
>>>> i was using the jmxquery jar pulled from nagios and was slooow compared
>> to
>>>> the manager's jmxproxy (as would be expected).
>>>> i just used the the perl script from
>>>> https://wiki.apache.org/tomcat/FAQ/Monitoring and assigned a user to
>> the
>>>> manager-jmx security role in tomcat.
>>
>> Nice to see someone else is using it ;)
>>
>> Feel free to contribute to it or just complain about anything you need.
>> I'd like for that tool to be widely-useful. I use it a lot at $work, but
>> it should be universally useful.
>>
>> -chris
>>
> 
> I only changed some minor things.
> I removed the requirement for the -w and -c parameters, because i didn't
> need them. I just wanted the data. Sure I could have have just put in bogus
> values for them on the command line, but it just cluttered it up.

Gotcha.

> One problem i have is with returned data that's a number with a decimal in
> it (like 'OK - Attribute get 'java.lang:type=OperatingSystem' -
> ProcessCpuLoad = 0.009808796275369524'). It returned a Bad Response because
> $num was null. I tried a different regex for it, but i'm not very good with
> regex. :D
> I ended up just doing a "split ' = ', $content" to get the number.

What regular expression did you try?

How about this one:

^OK.*=\s*([0-9.]+)$

-chris

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Monitoring Tomcat

Posted by Anthony Biacco <ab...@handll.com>.
On Wed, Mar 30, 2016 at 5:23 PM, Christopher Schultz <
chris@christopherschultz.net> wrote:

> Anthony,
>
> On 3/30/16 6:08 PM, Anthony Biacco wrote:
> > On Wed, Mar 30, 2016 at 9:13 AM, Christopher Schultz <
> > chris@christopherschultz.net> wrote:
> >
> > Edwin,
> >
> >
> > For my money, I wouldn't enable JMX because, for monitoring, JMX is a
> > heavy-handed protocol: you either have to maintain a persistent
> > connection to the server or you need to launch a whole JVM and connect
> > over JMX to get e.g. a single sample value (such as current throughput).
> >
> > I would recommend enabling the JMXProxyServlet through the manager
> > application, and then locking-down the manager application so you can
> > only access it from localhost. Also use a non-trivial password for
> > HTTP authentication for the manager.
> >
> >
> >> +1
> >> i was using the jmxquery jar pulled from nagios and was slooow compared
> to
> >> the manager's jmxproxy (as would be expected).
> >> i just used the the perl script from
> >> https://wiki.apache.org/tomcat/FAQ/Monitoring and assigned a user to
> the
> >> manager-jmx security role in tomcat.
>
> Nice to see someone else is using it ;)
>
> Feel free to contribute to it or just complain about anything you need.
> I'd like for that tool to be widely-useful. I use it a lot at $work, but
> it should be universally useful.
>
> -chris
>

I only changed some minor things.
I removed the requirement for the -w and -c parameters, because i didn't
need them. I just wanted the data. Sure I could have have just put in bogus
values for them on the command line, but it just cluttered it up.
One problem i have is with returned data that's a number with a decimal in
it (like 'OK - Attribute get 'java.lang:type=OperatingSystem' -
ProcessCpuLoad = 0.009808796275369524'). It returned a Bad Response because
$num was null. I tried a different regex for it, but i'm not very good with
regex. :D
I ended up just doing a "split ' = ', $content" to get the number.

-Tony



> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Re: Monitoring Tomcat

Posted by Christopher Schultz <ch...@christopherschultz.net>.
Anthony,

On 3/30/16 6:08 PM, Anthony Biacco wrote:
> On Wed, Mar 30, 2016 at 9:13 AM, Christopher Schultz <
> chris@christopherschultz.net> wrote:
> 
> Edwin,
> 
> 
> For my money, I wouldn't enable JMX because, for monitoring, JMX is a
> heavy-handed protocol: you either have to maintain a persistent
> connection to the server or you need to launch a whole JVM and connect
> over JMX to get e.g. a single sample value (such as current throughput).
> 
> I would recommend enabling the JMXProxyServlet through the manager
> application, and then locking-down the manager application so you can
> only access it from localhost. Also use a non-trivial password for
> HTTP authentication for the manager.
> 
> 
>> +1
>> i was using the jmxquery jar pulled from nagios and was slooow compared to
>> the manager's jmxproxy (as would be expected).
>> i just used the the perl script from
>> https://wiki.apache.org/tomcat/FAQ/Monitoring and assigned a user to the
>> manager-jmx security role in tomcat.

Nice to see someone else is using it ;)

Feel free to contribute to it or just complain about anything you need.
I'd like for that tool to be widely-useful. I use it a lot at $work, but
it should be universally useful.

-chris

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Monitoring Tomcat

Posted by Anthony Biacco <ab...@handll.com>.
On Wed, Mar 30, 2016 at 9:13 AM, Christopher Schultz <
chris@christopherschultz.net> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Edwin,
>
>
> For my money, I wouldn't enable JMX because, for monitoring, JMX is a
> heavy-handed protocol: you either have to maintain a persistent
> connection to the server or you need to launch a whole JVM and connect
> over JMX to get e.g. a single sample value (such as current throughput).
>
> I would recommend enabling the JMXProxyServlet through the manager
> application, and then locking-down the manager application so you can
> only access it from localhost. Also use a non-trivial password for
> HTTP authentication for the manager.
>
>
+1
i was using the jmxquery jar pulled from nagios and was slooow compared to
the manager's jmxproxy (as would be expected).
i just used the the perl script from
https://wiki.apache.org/tomcat/FAQ/Monitoring and assigned a user to the
manager-jmx security role in tomcat.

-Tony



> That ought to cover just about everything except for a local
> intrusion, in which case you've already been pwned.
>
> - -chris
>
> > ________________________________________ From: Leonardo
> > Santagostini <ls...@gmail.com> Sent: Tuesday, March 29,
> > 2016 12:20 AM To: Tomcat Users List Subject: Re: Monitoring Tomcat
> >
> > My two cents:
> >
> > You can aldo use Zabbix to Monitor your Tomcar using JMX.
> >
> > Also Zabbix is used from templates. So once you got one machine
> > monitored as you expected you can easy deployit on other your
> > machine, and the best of all, you dont nees to use apps like
> > Jolokia. But bear in mind that there are some security concerns.
> >
> > Best regards El mar 28, 2016 8:56 p.m., "Edwin Quijada"
> > <li...@hotmail.com> escribió:
> >
> >> Thks!
> >>
> >> ________________________________________ From: Mark Eggers
> >> <it...@yahoo.com.INVALID> Sent: Monday, March 28, 2016
> >> 10:32 PM To: Tomcat Users List Subject: Re: Monitoring Tomcat
> >>
> >> https://tomcat.apache.org/tomcat-7.0-doc/monitoring.html
> >> https://wiki.apache.org/tomcat/FAQ/Monitoring
> >>
> >> Basically enable JMX, then use a wide variety of tools to query
> >> an even wider variety of information.
> >>
> >> Please note that there are security issues when enabling JMX.
> >> Read the first link above for details.
> >>
> >> . . . just my two cents /mde/
> >>
> >> On 3/28/2016 3:23 PM, Edwin Quijada wrote:
> >>> Hi! I have an app with Tomcat+Grails+Vaadin+PostgreSQL and I
> >>> wanna monitor
> >> the speed and resources of this. I add to 1024mb to Tomcat
> >> because the app and DB is in the same server.
> >>>
> >>> What application can I use to monitor performance of this
> >>> Tomcat ?
> >>>
> >>>
> >>> TIA
> >>>
> >>
> >>
> >>
> >> ---------------------------------------------------------------------
> >>
> >>
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> >> For additional commands, e-mail: users-help@tomcat.apache.org
> >>
> >>
> >
> > ---------------------------------------------------------------------
> >
> >
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> > For additional commands, e-mail: users-help@tomcat.apache.org
> >
> -----BEGIN PGP SIGNATURE-----
> Comment: GPGTools - http://gpgtools.org
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iEYEARECAAYFAlb77QgACgkQ9CaO5/Lv0PAcOQCeMNlr+pYLD3H6Z9k/JNR4PYm/
> vSkAnRvFDAeeyrq0U/2ca04bRxcc0bfv
> =DZU7
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Re: Monitoring Tomcat

Posted by Edwin Quijada <li...@hotmail.com>.
Thks!!


________________________________________
From: Christopher Schultz <ch...@christopherschultz.net>
Sent: Wednesday, March 30, 2016 3:13 PM
To: Tomcat Users List
Subject: Re: Monitoring Tomcat

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Edwin,

On 3/29/16 2:32 PM, Edwin Quijada wrote:
> I am seeing Zabbix but about the secutiry problems with JMX

The "security problems" with JMX mostly have to do with it being very
easy to configure a server stupidly.

For example, opening a JMX port with no required authentication to the
whole Internet is, of course, tremendously stupid. But people do
stupid things like that all the time.

For my money, I wouldn't enable JMX because, for monitoring, JMX is a
heavy-handed protocol: you either have to maintain a persistent
connection to the server or you need to launch a whole JVM and connect
over JMX to get e.g. a single sample value (such as current throughput).

I would recommend enabling the JMXProxyServlet through the manager
application, and then locking-down the manager application so you can
only access it from localhost. Also use a non-trivial password for
HTTP authentication for the manager.

That ought to cover just about everything except for a local
intrusion, in which case you've already been pwned.

- -chris

> ________________________________________ From: Leonardo
> Santagostini <ls...@gmail.com> Sent: Tuesday, March 29,
> 2016 12:20 AM To: Tomcat Users List Subject: Re: Monitoring Tomcat
>
> My two cents:
>
> You can aldo use Zabbix to Monitor your Tomcar using JMX.
>
> Also Zabbix is used from templates. So once you got one machine
> monitored as you expected you can easy deployit on other your
> machine, and the best of all, you dont nees to use apps like
> Jolokia. But bear in mind that there are some security concerns.
>
> Best regards El mar 28, 2016 8:56 p.m., "Edwin Quijada"
> <li...@hotmail.com> escribió:
>
>> Thks!
>>
>> ________________________________________ From: Mark Eggers
>> <it...@yahoo.com.INVALID> Sent: Monday, March 28, 2016
>> 10:32 PM To: Tomcat Users List Subject: Re: Monitoring Tomcat
>>
>> https://tomcat.apache.org/tomcat-7.0-doc/monitoring.html
>> https://wiki.apache.org/tomcat/FAQ/Monitoring
>>
>> Basically enable JMX, then use a wide variety of tools to query
>> an even wider variety of information.
>>
>> Please note that there are security issues when enabling JMX.
>> Read the first link above for details.
>>
>> . . . just my two cents /mde/
>>
>> On 3/28/2016 3:23 PM, Edwin Quijada wrote:
>>> Hi! I have an app with Tomcat+Grails+Vaadin+PostgreSQL and I
>>> wanna monitor
>> the speed and resources of this. I add to 1024mb to Tomcat
>> because the app and DB is in the same server.
>>>
>>> What application can I use to monitor performance of this
>>> Tomcat ?
>>>
>>>
>>> TIA
>>>
>>
>>
>>
>> ---------------------------------------------------------------------
>>
>>
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>
> ---------------------------------------------------------------------
>
>
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlb77QgACgkQ9CaO5/Lv0PAcOQCeMNlr+pYLD3H6Z9k/JNR4PYm/
vSkAnRvFDAeeyrq0U/2ca04bRxcc0bfv
=DZU7
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Monitoring Tomcat

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Edwin,

On 3/29/16 2:32 PM, Edwin Quijada wrote:
> I am seeing Zabbix but about the secutiry problems with JMX

The "security problems" with JMX mostly have to do with it being very
easy to configure a server stupidly.

For example, opening a JMX port with no required authentication to the
whole Internet is, of course, tremendously stupid. But people do
stupid things like that all the time.

For my money, I wouldn't enable JMX because, for monitoring, JMX is a
heavy-handed protocol: you either have to maintain a persistent
connection to the server or you need to launch a whole JVM and connect
over JMX to get e.g. a single sample value (such as current throughput).

I would recommend enabling the JMXProxyServlet through the manager
application, and then locking-down the manager application so you can
only access it from localhost. Also use a non-trivial password for
HTTP authentication for the manager.

That ought to cover just about everything except for a local
intrusion, in which case you've already been pwned.

- -chris

> ________________________________________ From: Leonardo
> Santagostini <ls...@gmail.com> Sent: Tuesday, March 29,
> 2016 12:20 AM To: Tomcat Users List Subject: Re: Monitoring Tomcat
> 
> My two cents:
> 
> You can aldo use Zabbix to Monitor your Tomcar using JMX.
> 
> Also Zabbix is used from templates. So once you got one machine
> monitored as you expected you can easy deployit on other your
> machine, and the best of all, you dont nees to use apps like
> Jolokia. But bear in mind that there are some security concerns.
> 
> Best regards El mar 28, 2016 8:56 p.m., "Edwin Quijada"
> <li...@hotmail.com> escribió:
> 
>> Thks!
>> 
>> ________________________________________ From: Mark Eggers
>> <it...@yahoo.com.INVALID> Sent: Monday, March 28, 2016
>> 10:32 PM To: Tomcat Users List Subject: Re: Monitoring Tomcat
>> 
>> https://tomcat.apache.org/tomcat-7.0-doc/monitoring.html 
>> https://wiki.apache.org/tomcat/FAQ/Monitoring
>> 
>> Basically enable JMX, then use a wide variety of tools to query
>> an even wider variety of information.
>> 
>> Please note that there are security issues when enabling JMX.
>> Read the first link above for details.
>> 
>> . . . just my two cents /mde/
>> 
>> On 3/28/2016 3:23 PM, Edwin Quijada wrote:
>>> Hi! I have an app with Tomcat+Grails+Vaadin+PostgreSQL and I
>>> wanna monitor
>> the speed and resources of this. I add to 1024mb to Tomcat
>> because the app and DB is in the same server.
>>> 
>>> What application can I use to monitor performance of this
>>> Tomcat ?
>>> 
>>> 
>>> TIA
>>> 
>> 
>> 
>> 
>> ---------------------------------------------------------------------
>>
>> 
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>> 
>> 
> 
> ---------------------------------------------------------------------
>
> 
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlb77QgACgkQ9CaO5/Lv0PAcOQCeMNlr+pYLD3H6Z9k/JNR4PYm/
vSkAnRvFDAeeyrq0U/2ca04bRxcc0bfv
=DZU7
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Monitoring Tomcat

Posted by Edwin Quijada <li...@hotmail.com>.
I am seeing Zabbix but about the secutiry problems with JMX 


________________________________________
From: Leonardo Santagostini <ls...@gmail.com>
Sent: Tuesday, March 29, 2016 12:20 AM
To: Tomcat Users List
Subject: Re: Monitoring Tomcat

My two cents:

You can aldo use Zabbix to Monitor your Tomcar using JMX.

Also Zabbix is used from templates. So once you got one machine monitored
as you expected you can easy deployit on other your machine, and the best
of all, you dont nees to use apps like Jolokia. But bear in mind that there
are some security concerns.

Best regards
El mar 28, 2016 8:56 p.m., "Edwin Quijada" <li...@hotmail.com>
escribió:

> Thks!
>
> ________________________________________
> From: Mark Eggers <it...@yahoo.com.INVALID>
> Sent: Monday, March 28, 2016 10:32 PM
> To: Tomcat Users List
> Subject: Re: Monitoring Tomcat
>
> https://tomcat.apache.org/tomcat-7.0-doc/monitoring.html
> https://wiki.apache.org/tomcat/FAQ/Monitoring
>
> Basically enable JMX, then use a wide variety of tools to query an even
> wider variety of information.
>
> Please note that there are security issues when enabling JMX. Read the
> first link above for details.
>
> . . . just my two cents
> /mde/
>
> On 3/28/2016 3:23 PM, Edwin Quijada wrote:
> > Hi!
> > I have an app with Tomcat+Grails+Vaadin+PostgreSQL and I wanna monitor
> the speed and resources of this. I add to 1024mb to Tomcat because the app
> and DB is in the same server.
> >
> > What application can I use to monitor performance of this Tomcat ?
> >
> >
> > TIA
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Monitoring Tomcat

Posted by Leonardo Santagostini <ls...@gmail.com>.
My two cents:

You can aldo use Zabbix to Monitor your Tomcar using JMX.

Also Zabbix is used from templates. So once you got one machine monitored
as you expected you can easy deployit on other your machine, and the best
of all, you dont nees to use apps like Jolokia. But bear in mind that there
are some security concerns.

Best regards
El mar 28, 2016 8:56 p.m., "Edwin Quijada" <li...@hotmail.com>
escribió:

> Thks!
>
> ________________________________________
> From: Mark Eggers <it...@yahoo.com.INVALID>
> Sent: Monday, March 28, 2016 10:32 PM
> To: Tomcat Users List
> Subject: Re: Monitoring Tomcat
>
> https://tomcat.apache.org/tomcat-7.0-doc/monitoring.html
> https://wiki.apache.org/tomcat/FAQ/Monitoring
>
> Basically enable JMX, then use a wide variety of tools to query an even
> wider variety of information.
>
> Please note that there are security issues when enabling JMX. Read the
> first link above for details.
>
> . . . just my two cents
> /mde/
>
> On 3/28/2016 3:23 PM, Edwin Quijada wrote:
> > Hi!
> > I have an app with Tomcat+Grails+Vaadin+PostgreSQL and I wanna monitor
> the speed and resources of this. I add to 1024mb to Tomcat because the app
> and DB is in the same server.
> >
> > What application can I use to monitor performance of this Tomcat ?
> >
> >
> > TIA
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Re: Monitoring Tomcat

Posted by Edwin Quijada <li...@hotmail.com>.
Thks!

________________________________________
From: Mark Eggers <it...@yahoo.com.INVALID>
Sent: Monday, March 28, 2016 10:32 PM
To: Tomcat Users List
Subject: Re: Monitoring Tomcat

https://tomcat.apache.org/tomcat-7.0-doc/monitoring.html
https://wiki.apache.org/tomcat/FAQ/Monitoring

Basically enable JMX, then use a wide variety of tools to query an even
wider variety of information.

Please note that there are security issues when enabling JMX. Read the
first link above for details.

. . . just my two cents
/mde/

On 3/28/2016 3:23 PM, Edwin Quijada wrote:
> Hi!
> I have an app with Tomcat+Grails+Vaadin+PostgreSQL and I wanna monitor the speed and resources of this. I add to 1024mb to Tomcat because the app and DB is in the same server.
>
> What application can I use to monitor performance of this Tomcat ?
>
>
> TIA
>



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Monitoring Tomcat

Posted by Mark Eggers <it...@yahoo.com.INVALID>.
https://tomcat.apache.org/tomcat-7.0-doc/monitoring.html
https://wiki.apache.org/tomcat/FAQ/Monitoring

Basically enable JMX, then use a wide variety of tools to query an even
wider variety of information.

Please note that there are security issues when enabling JMX. Read the
first link above for details.

. . . just my two cents
/mde/

On 3/28/2016 3:23 PM, Edwin Quijada wrote:
> Hi!
> I have an app with Tomcat+Grails+Vaadin+PostgreSQL and I wanna monitor the speed and resources of this. I add to 1024mb to Tomcat because the app and DB is in the same server.
> 
> What application can I use to monitor performance of this Tomcat ?
> 
> 
> TIA
>