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
Monitoring tomcat process
Re: Monitoring tomcat process
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
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/
https://www.mcapra.com/