Re: [Nagios-devel] NSCA using PROCESS_FILE
Posted: Thu Feb 22, 2007 11:28 am
This is a multi-part message in MIME format.
------=_NextPart_000_0257_01C7568D.A1522080
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Well, nice! You have the perl daemon already
The proper workaround would be an option to have Nagios use a file/pipe =
for
oscp/ohcp as well; this would be much more efficient than forking a =
child
for each result to send to the sweeper, parallelized or not.
Thomas
> -----Original Message-----
> From: [email protected]=20
> [mailto:[email protected]] On Behalf=20
> Of Gerd Mueller
> Sent: February 22, 2007 14:16
> To: Nagios Developers List
> Subject: Re: [Nagios-devel] NSCA using PROCESS_FILE
>=20
> We are already using ocsp sweeper from nagiosexchange. (at=20
> Ton: we need ochp as well) This improves the performce. but=20
> we still have latencies upto 100 sec.
So I would call this=20
> just a workaround.
>=20
> Gerd
> -- Urspr=FCngl. Mitteil. --
> Betreff: Re: [Nagios-devel] NSCA using PROCESS_FILE
> Von: "Thomas Guyot-Sionnest"
> Datum: 22.02.2007 18:54
>=20
> If I were you I'd use Nagios ability to write performance data to a
> file/pipe for ohcp/oscp functionality.
>=20
> Send the data to a pipe and have a Perl (Or anything else you=20
> want) daemon
> read that pipe and spawn send_nsca processes. One good thing=20
> with that also
> is that you could send batch updates since send_nsca can=20
> receive multiple
> results in a single run.
>=20
> Thomas
>=20
> > -----Original Message-----
> > From: [email protected]=20
> > [mailto:[email protected]] On Behalf=20
> > Of Gerd Mueller
> > Sent: February 22, 2007 10:56
> > To: Nagios Developers List
> > Subject: Re: [Nagios-devel] NSCA using PROCESS_FILE
> >=20
> >=20
> > Am Dienstag, den 20.02.2007, 08:48 -0600 schrieb Ethan Galstad:
> > > Gerd Mueller wrote:
> > > > Hi list!
> > > >=20
> > > > Is there a nsca which supports already the Nagios3=20
> > external command
> > > > PROCESS_FILE? Or any suggestions how to use PROCESS_FILE for
> > > > inter-Nagios-communication with ohcp/oscp?=20
> > > >=20
> > > > Cheers,
> > > >=20
> > > > Gerd =20
> > >=20
> > > NSCA hasn't been modified to use the new PROCESS_FILE=20
> > command, but I'll=20
> > > start working on that in the next few weeks. Right now I'm=20
> > > concentrating on documentation.
> >=20
> > I really need this new nsca feature. Inter-master-slaves=20
> communication
> > in our test environment (about 3000 hosts and livesystem will=20
> > have much
> > more hosts) via nsca causes the slaves' latency to grow=20
> massiv (up to
> > hours!). Whereas a slave with same hardware and same amount=20
> of checks
> > but without any ocsp/ochp does nearly nothing (latency >=20
> > I think the major bottleneck - the serial execution of=20
> ocsp/ochp still
> > exists in Nagios3. So Ton's comment on this
> > (http://altinity.blogs.com/dotorg/2006/1 ... ca_da.html) is
> > still true. =20
> >=20
> > I expect the new PROCESS_FILE option to avoid this=20
> bottleneck. The new
> > nsca client has to be fast enough without any slowing down the slave
> > itself while reading and caching. But I really would=20
> appreciate if the
> > main cause of the problem - the ocsp/ohcp executions - could be
> > deserialized.
> >=20
> > Let me now if I can support the development with testing,=20
> coding, ...
> >=20
> > Gerd
> >=20
> >=20
> >=20
> > --------------------------------------------------------------
> > -----------
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the=20
> > chance to share your
> > opinions on IT & business topics through brief surveys-and earn cash
> > http://www.techsay.com/default.php?page ... ourceforge
> > &CID=3DDEVDEV
> > _______________________________________________
> > Nagios-devel mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/lis ... gios-devel
> >
...[email truncated]...
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
------=_NextPart_000_0257_01C7568D.A1522080
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Well, nice! You have the perl daemon already
The proper workaround would be an option to have Nagios use a file/pipe =
for
oscp/ohcp as well; this would be much more efficient than forking a =
child
for each result to send to the sweeper, parallelized or not.
Thomas
> -----Original Message-----
> From: [email protected]=20
> [mailto:[email protected]] On Behalf=20
> Of Gerd Mueller
> Sent: February 22, 2007 14:16
> To: Nagios Developers List
> Subject: Re: [Nagios-devel] NSCA using PROCESS_FILE
>=20
> We are already using ocsp sweeper from nagiosexchange. (at=20
> Ton: we need ochp as well) This improves the performce. but=20
> we still have latencies upto 100 sec.
> just a workaround.
>=20
> Gerd
> -- Urspr=FCngl. Mitteil. --
> Betreff: Re: [Nagios-devel] NSCA using PROCESS_FILE
> Von: "Thomas Guyot-Sionnest"
> Datum: 22.02.2007 18:54
>=20
> If I were you I'd use Nagios ability to write performance data to a
> file/pipe for ohcp/oscp functionality.
>=20
> Send the data to a pipe and have a Perl (Or anything else you=20
> want) daemon
> read that pipe and spawn send_nsca processes. One good thing=20
> with that also
> is that you could send batch updates since send_nsca can=20
> receive multiple
> results in a single run.
>=20
> Thomas
>=20
> > -----Original Message-----
> > From: [email protected]=20
> > [mailto:[email protected]] On Behalf=20
> > Of Gerd Mueller
> > Sent: February 22, 2007 10:56
> > To: Nagios Developers List
> > Subject: Re: [Nagios-devel] NSCA using PROCESS_FILE
> >=20
> >=20
> > Am Dienstag, den 20.02.2007, 08:48 -0600 schrieb Ethan Galstad:
> > > Gerd Mueller wrote:
> > > > Hi list!
> > > >=20
> > > > Is there a nsca which supports already the Nagios3=20
> > external command
> > > > PROCESS_FILE? Or any suggestions how to use PROCESS_FILE for
> > > > inter-Nagios-communication with ohcp/oscp?=20
> > > >=20
> > > > Cheers,
> > > >=20
> > > > Gerd =20
> > >=20
> > > NSCA hasn't been modified to use the new PROCESS_FILE=20
> > command, but I'll=20
> > > start working on that in the next few weeks. Right now I'm=20
> > > concentrating on documentation.
> >=20
> > I really need this new nsca feature. Inter-master-slaves=20
> communication
> > in our test environment (about 3000 hosts and livesystem will=20
> > have much
> > more hosts) via nsca causes the slaves' latency to grow=20
> massiv (up to
> > hours!). Whereas a slave with same hardware and same amount=20
> of checks
> > but without any ocsp/ochp does nearly nothing (latency >=20
> > I think the major bottleneck - the serial execution of=20
> ocsp/ochp still
> > exists in Nagios3. So Ton's comment on this
> > (http://altinity.blogs.com/dotorg/2006/1 ... ca_da.html) is
> > still true. =20
> >=20
> > I expect the new PROCESS_FILE option to avoid this=20
> bottleneck. The new
> > nsca client has to be fast enough without any slowing down the slave
> > itself while reading and caching. But I really would=20
> appreciate if the
> > main cause of the problem - the ocsp/ohcp executions - could be
> > deserialized.
> >=20
> > Let me now if I can support the development with testing,=20
> coding, ...
> >=20
> > Gerd
> >=20
> >=20
> >=20
> > --------------------------------------------------------------
> > -----------
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the=20
> > chance to share your
> > opinions on IT & business topics through brief surveys-and earn cash
> > http://www.techsay.com/default.php?page ... ourceforge
> > &CID=3DDEVDEV
> > _______________________________________________
> > Nagios-devel mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/lis ... gios-devel
> >
...[email truncated]...
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]