Monitoring tomcat process

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
kaushalshriyan
Posts: 119
Joined: Fri May 22, 2015 7:12 am

Monitoring tomcat process

Post by kaushalshriyan »

Hi,

I am using check_tcp to check for tomcat port 8080. For example /usr/lib/nagios/plugins/check_tcp -H 192.168.13.21 -p 8080. Is this the right approach by monitoring tomcat process using check_tcp nagios plugin or do i need to use any specific nagios plugin to check if the Tomcat process is up or down on remote linux server or is it recommended to scan the tomcat catalina.out log file for any exception using check_logfiles (https://labs.consol.de/nagios/check_logfiles/index.html).

Any help will be highly appreciable. Please suggest.

Regards,

Kaushal
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Monitoring tomcat process

Post by mcapra »

We don't really have a set of recommendations for monitoring Tomcat. Checking port 8080 is certainly one way to do it though.

If you require richer metrics regarding the performance/state of the Tomcat service, you could configure your Tomcat instance to be monitored over JMX and leverage the check_jmx plugin:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Former Nagios employee
https://www.mcapra.com/
Locked