You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by samengr <sm...@hotmail.com> on 2009/10/22 17:24:44 UTC

monitor tomcat status through nagios

Hi,

I am using tomcat version 5.5.9 and nagios for monitoring services and
harware resources in my office environment. Can someone help me to monitor
tomcat status remotely from nagios server? Is tomcat up or down and throw
email if tomcat is down? I know there isnt any builtin pluggin so probably
it would be like to write a script and then get its out put.

we can check the status of tomcat in many ways like 

1. $ ps fax | grep tomcat | grep Djav

or 

2. netstat -ltn | grep 8085 
note: my tomcat is listening on 8085.

So any suggestion how to integrate it with nagios?

Many thanks in advance.

Sam.
-- 
View this message in context: http://www.nabble.com/monitor-tomcat-status-through-nagios-tp26011969p26011969.html
Sent from the Tomcat - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Re: monitor tomcat status through nagios

Posted by Mark Thomas <ma...@apache.org>.
samengr wrote:
> Hi,
> 
> I am using tomcat version 5.5.9 and nagios for monitoring services and
> harware resources in my office environment. Can someone help me to monitor
> tomcat status remotely from nagios server? Is tomcat up or down and throw
> email if tomcat is down? I know there isnt any builtin pluggin so probably
> it would be like to write a script and then get its out put.
> 
> we can check the status of tomcat in many ways like 
> 
> 1. $ ps fax | grep tomcat | grep Djav
> 
> or 
> 
> 2. netstat -ltn | grep 8085 
> note: my tomcat is listening on 8085.
> 
> So any suggestion how to integrate it with nagios?
> 
> Many thanks in advance.

This question belongs on the users list.

Mark




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org