-----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 < 
>> ch...@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-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 
> 
> ---------------------------------------------------------------------
>
> 
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to