Apache Tomcat

check_TomcatApplication

Description:

check_TomcatApplication is a Nagios plugin to check a specific Tomcat Application.

2014-09-08
The plugin has been updated and new implementations will be developed.

Current Version

1.02

Last Release Date

2014-09-08

Compatible With

  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
  • Nagios 4.x
  • Nagios XI

License

GPL


Project Files
Project Notes
check_TomcatApplication -u user -p password -h host -P port -a application Options: -u/--user) User name for authentication on Tomcat Manager Application -p/--password) Password for authentication on Tomcat Manager Application -h/--host) Host Name of the server -P/--port) Port Number Tomcat service is listening on -a/--appname) Application name to be checked -V/--tomcat_version) Version of the Tomcat. Default is Tomcat 6 v1.02 released 2014-09-08 Added performance data (http://exchange.nagios.org/directory/Plugins/Java-Applications-and-Servers/Apache-Tomcat/check_TomcatApplication-updated/details) Compatibility with the latest version of Tomcat. Added the parameter "-V" to indicate the version of Tomcat. In Tomcat 7 the user need the role manager-script. v1.01 released 2012-05-29 Adjust message when application not running.
Reviews (3) Add a Review
Does check what?
by jan.szczepanski, April 30, 2016

Doesn't work at all. Does check what? Right, no correct user, password. I can see the applications running via the webinterface script tells me they are not available.



AWK Needs work for Tomcat7
by VoluAJ, April 30, 2015

The AWK for perf info doesn't seem to work just right for Tomcat7. First line returns: myapp_JVM_OK:|myapp_JVM_MB;;;0 myapp_JVM_MB;;;0 myapp_JVM_MB;;;0 Perf stats also assume that this app is the only one on the app server. I'm commenting out this perf data and will probably pull in as a separate service check. All will add my own AWK to pull the session count for the app requested as well as returning the last value of the line (which is myapp## Thanks for this though! Got me going in the right direction.



Good plugin
by danielm, October 31, 2014

Very usefull. Exactly what I was looking for. Simple and effective.



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
3.3 (4)
Favorites
1
Views
86,382