We never went to a 'reactive' nagios, but just like you can make nagios send you an email - you can make a event handler do all sorts of crazy: like remote ssh into a host, restart the DB, kill all java, and then start tomcat. Nasty - but its up to you.
For more info on what not to do with nagios and events - http://nagios.sourceforge.net/docs/3_0/eventhandlers.html As for monitoring the WFS - if you have geoserver in streaming output mode - dont look for the open tag -> look for the closing tag, just incase it errors mid stream. Terry ________________________________ From: Frank Gasdorf [[email protected]] Sent: Tuesday, 27 March 2012 4:57 PM To: Caradoc-Davies, Ben (CESRE, Kensington); geoserver Subject: Re: [Geoserver-users] supervising geoserver status I agree, we use Nagios in our infrastructure as well, but in this context I seems to me that the server is hosted by an external provider and I guess its a bit overkill to install Nagios only for the simple propose to watching and alerting. The script itself has the advantage to restart the server, which Nagios would not have ;) Frank 2012/3/27 Ben Caradoc-Davies <[email protected]> On 27/03/12 14:56, Gabriele Seitz wrote: > is it possible to monitor Geoserver status to detect unexpected shutdown as > soon as possible? For this purpose, is it adequate to just supervise tomcat, > not especially geoserver? Monitoring tomcat is insufficient. We use Nagios: http://permalink.gmane.org/gmane.comp.gis.geoserver.user/30140 Gabriel Roldán suggested I put this in the manual: http://permalink.gmane.org/gmane.comp.gis.geoserver.user/30144 My only excuse is that this is a very general solution, but given that this is the second time I am answering this question, perhaps I should. -- Ben Caradoc-Davies <[email protected]> Software Engineer CSIRO Earth Science and Resource Engineering Australian Resources Research Centre ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ Geoserver-users mailing list [email protected]<mailto:[email protected]> https://lists.sourceforge.net/lists/listinfo/geoserver-users ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
