Freshness & failover

Demetri Mouratis dmourati at cm.math.uiuc.edu
Thu Aug 5 04:00:44 CEST 2004


On Wed, 4 Aug 2004, Jason Martin wrote:

> On Wed, Aug 04, 2004 at 06:36:36PM -0500, Demetri Mouratis wrote:
> > > Can anyone recommend a way to handle services with freshness
> > > checking and failover conditions? The docs say to disable
> > > notifications and active checks, but expired freshness timers
> > > force checks regardless.
> My concern was that the backup server that is supposed to be
> 'idle' will in fact force-execute checks that have a freshness
> threshold set.

Ok, I see now.  So, you might need an intelligent version of
staleservice.sh, or equivalent.  The script would first check to see
whether the local Nagios is idle.

If so, return 0 OK.  Else, if the local Nagios is active, return 2
Critical.

You could determine active/idle by a lock file, or some such, or by
screen-scraping extinfo.cgi.

---------------------------------------------------------------------
Demetri Mouratis
dmourati at linfactory.com



-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list