Apache Tomcat

check_tomcat.py

Description:

Check tomcat servers:
-Status
-Memory
-Threads
-Applications status

Proyect page:
https://github.com/dduenasd/check_tomcat.py

Current Version

2.1

Last Release Date

2014-10-14

Compatible With

  • Nagios 3.x
  • Nagios 4.x

License

GPL


Project Notes
check_tomcat.py =============== Check tomcat server plugin for nagios Author: Daniel Dueñas Domingo (dduenasd@gmail.com) Version 2.0 Description =========== This plugin uses the tomcat manager webapp, this app usually is located in the URL: http://tomcat-host-name:xxxx/manager which "tomcat-host-name" is the dns name or ip of the tomcat server and "xxxx" is the port number of the tomcat service (the tomcat port is 8080 by default) This plugin works in tomcat6 and tomcat7 versions, i don't know if works in previous versions. This plugin can monitorize this items: 1- tomcat server status 2- tomcat server memory 3- tomcat server thread connectors 4- application status on tomcat server This plugin uses the nagios plugin python template in https://github.com/dduenasd/nagios_plugin_template_python Requirements ============ - python 2 Python must be installed in nagios server. I use python 2.7, python 3 is not tested for this plugin. - Tomcat Manager Webapp The tomcat server for monitorize must be installed the manager web app The documentation of the manager of tomcat: - Tomcat 6 -> [Manager_Howto_Tomcat6](http://tomcat.apache.org/tomcat-6.0-doc/manager-howto.html) - Tomcat 7 -> [Manager_Howto_Tomcat7](http://tomcat.apache.org/tomcat-7.0-doc/manager-howto.html) Installation ============ Copy check_tomcat.py file to a plugins nagios directory, usually in this path: /usr/local/nagios/libexec
Reviews (2) Add a Review
Tomcat 8
by pmunoz, May 31, 2016

Hello The plugins works great in tomcat 7, but have migrated to tomcat 8 and stopped working. Could I indicate to be changed in the code to be compatible with Tomcat 8? Thank you very much for your time and disposition. ############# Hola El plugins funciona excelente en tomcat 7, pero he migrado a tomcat 8 y ha dejado de funcionar. ¿Me podría indicar que se debe modificar en el código para que sea compatible con Tomcat 8? Muchas gracias por tu tiempo y disposición.



Sessions
by mohit.badhe, July 31, 2015

Every hit to manager application for status increases number of sessions by 3. Why these sessions are not cleared? How to clear these sessions?



Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
4.3 (3)
Favorites
0
Views
28,250