------=_NextPart_000_005C_01CBDD8B.C06F1890
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
> -----Message d'origine-----
> De=A0: Andreas Ericsson [mailto:[email protected]]
> Envoy=E9=A0: mardi 8 mars 2011 11:43
> =C0=A0: Nagios Developers List
> Cc=A0: SCHAER Frederic
> Objet=A0: Re: [Nagios-devel] nagios startup script patch
>=20
> On 03/08/2011 11:21 AM, SCHAER Frederic wrote:
> > Hi,
> >
> > Yes, I'm aware of that, thanks.
> > As I said, patch is minimalistic, it does not implement anything, it
just
> > intends to optimize the startup script...
> > Actually, the reason I looked at the startup script was to see how =
this
> > faststartup was handled at the init level... and it is not.
> >
> > Also, I'm not interested in objects cache : when I usually reload =
config
(I
> > am/was avoiding restarts), it's because the config changed...
> >
> > So, what this patch does is actually take advantage of the building
> > optimizations, and avoid the useless duplication of checks.
> > If you look at the current init script, a restart *really* checks =
twice
the
> > configuration using "nagios -v", and it furthermore doesn't =
de-activate
> > circular path checks when starting nagios. This is 3 tests for =
circular
> > dependencies. And 2 for a simple server start using the init script.
> >
> > Since circular path checks are what seem to take most of the startup
time, I
> > thought it might be good to take advantage of this built-in
optimizations at
> > startup... ?
> >
>=20
> It is, but there's really no reason circular path checks should take =
such
> a huge amount of time. When I get git-svn set up properly I'll have to
> look into that. The patch for circular hostparents paths by Jean =
Gab=E8s
> should be re-usable for host and service dependencies as well, and =
that
> provided a monumental speedup for the area it touched. What version of
> Nagios are you using, and roughly how many hosts and service
> dependencies?
>=20
Hi Andreas,
I did compile and run the patch on latest stable tarball, under on
RHEL/Scientific Linux, i.e release 3.2.3.
We have 17842 services spread on 915 hosts, and.... 33165 dependencies.
The hosts hierarchy is not great (only 2 levels), but we are using nrpe =
for
most remote services, and as a consequence we setup a dependency on the =
nrpe
daemon for every nrpe check (notification + execution dependency).
I actually tried to find the famous patch in mailing lists archives =
before I
sent this mail to the dev list... but did not find it
Frederic
------=_NextPart_000_005C_01CBDD8B.C06F1890
Content-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BpndZ4/9e0/OoI
7c5aCFpTLq/18t47spk5/X2x68xUdAUXEGZfGs429Uvhn5Ox+CuKiBEx/PNqo40d1gpd6vlM1uJC
5jwLLuxiTGkOLCaepo3nN69faiEMRekv80m3G/VfIVIgJAowymK9AYJmTEHyy0L9Yq9EeylpGRWl
gUTow958lDNmnhOPUYPPU/gN5668TvqByB8sKWTda2MjnB/H93c64jLqaSH1nTnCd/oGtNIIoZBH
DKxRaBwsD32n1qDRVfU+k/SqjRnNMIIDtTCCAp2gAwIBAgIBATANBgkqhkiG9w0BA
...[email truncated]...
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]