Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
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
Owner
Roberto
Download URL
https://code.google.com/p/check-tomcat-sessions/source/browse/check_tomcatSessions
Compatible With
---
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)
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 :).
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.
You must be logged in to submit a review.
To:
From: