How Do I Find the no of connections in Tomcat?

Paul Dubuc work at paul.dubuc.org
Wed Aug 1 15:41:23 CEST 2012


Mark Elsen wrote:
>
>>
>     Hi all,
>
>     I'm very new to Nagios. I have certain doubts.
>
>
>     I need to find a way to find the number of tomcat connections. More
>     precisely, I need to know:
>
>     If Number of connections (< 500 for 1 min) or else alert.
>
>
>     Is that possible to do so ?
>
>
> � There are a number of plugins out there to monitor tomcat ; google on
>
> � � check_tomcat
> � � check_tomcatapplication
> � � check_tomcatsessions
>

Also jmx4perl (http://labs.consol.de/lang/de/jmx4perl/) supports Tomcat and 
comes has a configuration file with session related checks; one that does 
measure the number of connections per minute (tc_session_inc in tomcat.cfg). 
I haven't used it since we don't use Tomcat but jmx4perl is a great package to 
have for monitoring using JMX.


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list