Apache Tomcat

check_tomcatSessions

Description:

This plugin checks the number of active sessions of a specific context or total sessions number on the server.

Current Version

1.2

Last Release Date

2014-04-29

Compatible With

  • Nagios 3.x
  • Nagios 4.x

Owner


Project Notes
--- Prerequisites Tomcat server should have management context (/manager/list or /manager/text/list) enabled. nagios server runtime prerequisites: bash,basename,awk,wget --- Usage: check_tomcatSessions [ -H hostname or IP address ] [ -P port ] [ -u username ] [ -p password ] [ -s session_name ] [ -w warning ] [ -c critical ] [ -V tomcat_version (6 for tomcat pre-7 or 7) ] If session_name is omitted (default) then the total number of sessions is calculated DEFAULTS hostname=localhost port=8080 username=Administrator password=password session_name= warning=100 critical=400 tomcat_version=6 Changelog 1.1: added support fot Tomcat 7 1.2: fixed problems in checking software prerequisites - (Thanks Damian)
Reviews (2) Add a Review
Tomcat 7
by thenail, September 30, 2015

Had to change a line in the script to get it to work with Tomcat 7. Change /text/list to /html/list 7) NUMSESS_PATH="manager/html/list" hope this helps someone :).



Enhancement Request
by mtarkowski, July 31, 2012

Great plugin! FYI - if you are using Digest Authentication and have the latest version of Wget this plugin will work. This is the only plugin that works with Digest authentication. Enhancement Request - if you could add a way to check for a string on a web page then it would be the best Nagios plugin for web site monitoring.



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.5 (2)
Favorites
1
Views
148,286