flap_detection_enabled persistenceacrossreload/restart?
Tom Throckmorton
throck at duke.edu
Thu Jan 24 17:56:48 CET 2008
On Jan 24 09:42, Marc Powell wrote:
>
>
> > -----Original Message-----
> > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> > bounces at lists.sourceforge.net] On Behalf Of Tom Throckmorton
> > Sent: Thursday, January 24, 2008 8:12 AM
> > To: Marc Powell
> > Cc: nagios-users at lists.sourceforge.net
> > Subject: Re: [Nagios-users] flap_detection_enabled
> > persistenceacrossreload/restart?
> >
>
>
> > Would you (or anyone) mind testing this on your own installation:
> >
> > - find a host/service for which flapping is enabled
> > - disable flap detection for that host/service; wait until that state
> is
> > reflected in the extended info
> > - reload the configs
> > - check the state of flap detection - has it reverted to enabled?
>
> I can confirm that it ignores the retention file setting with
> nagios-2.7. I don't have a more recent version up to test with.
Thanks. Bummer - I'm still trying to find something that points to this being
intentional. I'll ask on nagios-devel...
> > > Not all directives can be overridden by the retention file but
> > > flap_detection_enabled is one of them
> > > (http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#service).
> >
> > I'm not sure what you mean here - which directives _can't_ be
> overridden
> > by the
> > retention file?
>
> Any that aren't marked with a *. Click the * or read the Retention Notes
> at the top of the page.
Oh, duh. *kicks self in head*
http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#retention_notes
> > > Your configuration snippets look accurate, assuming they're applied
> as
> > > you indicate.
> >
> > They were cut and pasted from live configs, so yeah.
>
> I meant that the template really was applied to the hosts/services.
Well, assuming any status data that gets fed to the state files and via the NEB
is accurate, then my configs match my live settings. I'm verifying by seeing
what ends up in the status_file and state_retention_file, as well as the
NDO-fed database.
-tt
--
Tom Throckmorton
OIT - CSI
Duke University
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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