Page 1 of 1

check_tomcat doesn't show the correct number of threads

Posted: Fri May 24, 2019 4:16 am
by Frédéric GRANAT
Hi,
When I monitor tomcat with the jconsole I've got 91 threads
At the same moment check_tomcat shows 1 thread for the same tomcat service

How do you explain that ?

Please find attached the screen captures

NB : check_tomcat agree with jconsole for memory consumption

Re: check_tomcat doesn't show the correct number of threads

Posted: Fri May 24, 2019 1:33 pm
by swolf
Hi Frédéric GRANAT,

As far as I'm aware, check_tomcat is a third party plugin (actually, I saw at least 3 community plugins using that name), and unfortunately we cannot vouch for its accuracy.

However, have you tried using the Apache Tomcat config wizard? I know we have an option to check active threads, and it should use (roughly) the same method that your management console is using to fetch those statistics.

Re: check_tomcat doesn't show the correct number of threads

Posted: Mon May 27, 2019 2:37 am
by Frédéric GRANAT
Hi,
Thanks, apache tomcat wizard is not available in my NagiosXI.
I followed the document : how to monitor apache tomcat with nagiosxi :
https://support.nagios.com/kb/article/n ... i-222.html

I performed the action for "Plugin Executed From Nagios XI Server" and for centos but the wizard is still not available.
Please tell me how to install that wizard.

Re: check_tomcat doesn't show the correct number of threads

Posted: Tue May 28, 2019 3:10 pm
by ssax
What version of XI are you running? I will see if it's compatible.

Re: check_tomcat doesn't show the correct number of threads

Posted: Tue May 28, 2019 3:15 pm
by ssax
If you are running XI 5.5+ you can download the attached zip file, go to Admin > Manage Config Wizards, click the Browse button, select the attached zip file, and then click the Upload & Install button.

If you are not running XI 5.5+, don't bother trying to install it, it won't work.

Re: check_tomcat doesn't show the correct number of threads

Posted: Tue Jun 04, 2019 2:05 am
by Frédéric GRANAT
Hi,
I'm running 5.3.0.

Re: check_tomcat doesn't show the correct number of threads

Posted: Tue Jun 04, 2019 4:48 pm
by scottwilkerson
Frédéric GRANAT wrote:Hi,
I'm running 5.3.0.
This Wizard requires XI 5.5.0 or greater

Re: check_tomcat doesn't show the correct number of threads

Posted: Fri Jun 14, 2019 3:44 am
by Frédéric GRANAT
Hi,
Thanks, you can close the post

Re: check_tomcat doesn't show the correct number of threads

Posted: Fri Jun 14, 2019 6:23 am
by scottwilkerson
Frédéric GRANAT wrote:Hi,
Thanks, you can close the post
Great!

Locking