Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_TomcatApplication
1.02
2014-09-08
- Nagios 1.x
- Nagios 2.x
- Nagios 3.x
- Nagios 4.x
- Nagios XI
GPL
86382
File | Description |
---|---|
check_TomcatApplication.sh | version 1.02 |
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
2014-09-08
The plugin has been updated and new implementations will be developed.
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.
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)
byjan.szczepanski, April 15, 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.
Does check what? Right, no correct user, password. I can see the applications running via the webinterface script tells me they are not available.
byVoluAJ, April 16, 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.
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.
Very usefull. Exactly what I was looking for. Simple and effective.