check_tomcat doesn't show the correct number of threads

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Frédéric GRANAT
Posts: 445
Joined: Mon Nov 19, 2012 11:36 am

check_tomcat doesn't show the correct number of threads

Post 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
You do not have the required permissions to view the files attached to this post.
swolf

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

Post 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.
Frédéric GRANAT
Posts: 445
Joined: Mon Nov 19, 2012 11:36 am

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

Post 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.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

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

Post by ssax »

What version of XI are you running? I will see if it's compatible.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

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

Post 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.
You do not have the required permissions to view the files attached to this post.
Frédéric GRANAT
Posts: 445
Joined: Mon Nov 19, 2012 11:36 am

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

Post by Frédéric GRANAT »

Hi,
I'm running 5.3.0.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

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

Post by scottwilkerson »

Frédéric GRANAT wrote:Hi,
I'm running 5.3.0.
This Wizard requires XI 5.5.0 or greater
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Frédéric GRANAT
Posts: 445
Joined: Mon Nov 19, 2012 11:36 am

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

Post by Frédéric GRANAT »

Hi,
Thanks, you can close the post
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

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

Post by scottwilkerson »

Frédéric GRANAT wrote:Hi,
Thanks, you can close the post
Great!

Locking
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked