You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by kapilok <ka...@yahoo.com> on 2010/07/22 18:07:43 UTC

Notification on Tomcat Active HTTP Threads > 400

1. Is there a JMX counter/attribute that measures active/busy HTTP threads?
2. How can I send a notification on exceeding a threshold value on this
counter?
3. Can this be achieved through some admin console? Modifying tomcat code is
not an option.

Thanks,
Kapil
-- 
View this message in context: http://old.nabble.com/Notification-on-Tomcat-Active-HTTP-Threads-%3E-400-tp29238703p29238703.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: Notification on Tomcat Active HTTP Threads > 400

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

Kapil,

On 7/22/2010 12:07 PM, kapilok wrote:
> 1. Is there a JMX counter/attribute that measures active/busy HTTP threads?

Yes, depending on the Tomcat version. You didn't mention yours.

> 2. How can I send a notification on exceeding a threshold value on this
> counter?

How would you like to send a notification?

> 3. Can this be achieved through some admin console? Modifying tomcat code is
> not an option.

LabmdaProbe is one of several tools that can report on the status of
request processing threads. LP is open-source, so you can even dig into
the code to see how to grab the various state values if you want to
write your own observation and notification tool.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkxIeeYACgkQ9CaO5/Lv0PDwEwCgolbRH5Ln5d41ma0PhaTa6nsZ
SyoAnjFOeB9oV1ajGMWmM+2zIiLEKQg5
=S64k
-----END PGP SIGNATURE-----

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