Monitoring tomcat application session using nagios
Hi ,
can some one help me in setting up plugin which is called check_tomcatSession which is in /etc/nagios/nrpe.cfg from client side.This is to monitor tomcat session in client machine which is monitored by nagios server. |
As per my knowledge Nagios have better documentation go ahead and read it.
command[check_tomcatSession]=@libexecdir@/check_tomcatSession [ -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) ] DEFAULTS hostname=localhost port=8080 username=Administrator password=password session_name= warning=100 critical=400 tomcat_version=6 http://exchange.nagios.org/directory...ssions/details |
I followed same link , but getting the problem in getting session id of the tomcat for which we have -s option.
|
Did you try this
If session_name is omitted (default) then the total number of sessions is calculated |
1 Attachment(s)
Hi ,
When I am using following command "/usr/lib64/nagios/plugins/check_tomcatSessions -s 10 -w 100 -c 400 -V 7", output is as follows Tomcat sessions 10 UNKNOWN: | sessions= check_tomcatSessions plugin contains code which you find in attachment .This is the plugin which I have downloaded from link which you have suggested. |
what is the output without "-s" option.
OR You may try the session_name going to this the following URL http://ip_address: port/manager/list (tomcat v6) http://ip_address: port/manager/text/list (tomcat v7) |
All times are GMT -5. The time now is 05:23 PM. |