Yes, Nagios can even have a tiered response, e-mail for problems it fixes
(so you can ignore, but keep track of subtler problems), text for problems
it can't fix and require your intervention, etc.. The most important part
of configuring a monitoring system like that is to ensure that you build
logic to both (as best as possible) correctly identify the problem (network
vs. server vs. ...), and to not Nag(ios) you or anyone else too much for
small glitches, lest you start ignoring everything and miss the large
glitches.
Best,
Steve
Stephen Mather
Geographic Information Systems (GIS) Manager
(216) 635-3243
svm@anonymised.com
clevelandmetroparks.com
-----Original Message-----
From: Terry.Rankine@anonymised.com [mailto:Terry.Rankine@anonymised.com]
Sent: Tuesday, March 27, 2012 9:30 AM
To: fgdrf@anonymised.com; Ben.Caradoc-Davies@anonymised.com;
geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] supervising geoserver status
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 [fgdrf@anonymised.com]
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 <Ben.Caradoc-Davies@anonymised.com>
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 <Ben.Caradoc-Davies@anonymised.com>
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
Geoserver-users@lists.sourceforge.net<mailto:Geoserver-users@anonymised.com
ge.net>
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
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users