NSCA using PROCESS_FILE

Thomas Guyot-Sionnest Thomas at zango.com
Thu Feb 22 20:27:50 CET 2007


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: nagios-devel-bounces at lists.sourceforge.net 
> [mailto:nagios-devel-bounces at lists.sourceforge.net] On Behalf 
> Of Gerd Mueller
> Sent: February 22, 2007 14:16
> To: Nagios Developers List
> Subject: Re: [Nagios-devel] NSCA using PROCESS_FILE
> 
> We are already using ocsp sweeper from nagiosexchange. (at 
> Ton: we need ochp as well) This improves the performce. but 
> we still have latencies upto 100 sec. :( So I would call this 
> just a workaround.
> 
> Gerd
> -- Ursprüngl. Mitteil. --
> Betreff:	Re: [Nagios-devel] NSCA using PROCESS_FILE
> Von:	"Thomas Guyot-Sionnest" <Thomas at zango.com>
> Datum:		22.02.2007 18:54
> 
> If I were you I'd use Nagios ability to write performance data to a
> file/pipe for ohcp/oscp functionality.
> 
> Send the data to a pipe and have a Perl (Or anything else you 
> want) daemon
> read that pipe and spawn send_nsca processes. One good thing 
> with that also
> is that you could send batch updates since send_nsca can 
> receive multiple
> results in a single run.
> 
> Thomas
> 
> > -----Original Message-----
> > From: nagios-devel-bounces at lists.sourceforge.net 
> > [mailto:nagios-devel-bounces at lists.sourceforge.net] On Behalf 
> > Of Gerd Mueller
> > Sent: February 22, 2007 10:56
> > To: Nagios Developers List
> > Subject: Re: [Nagios-devel] NSCA using PROCESS_FILE
> > 
> > 
> > Am Dienstag, den 20.02.2007, 08:48 -0600 schrieb Ethan Galstad:
> > > Gerd Mueller wrote:
> > > > Hi list!
> > > > 
> > > > Is there a nsca which supports already the Nagios3 
> > external command
> > > > PROCESS_FILE? Or any suggestions how to use PROCESS_FILE for
> > > > inter-Nagios-communication with ohcp/oscp? 
> > > > 
> > > > Cheers,
> > > > 
> > > > Gerd  
> > > 
> > > NSCA hasn't been modified to use the new PROCESS_FILE 
> > command, but I'll 
> > > start working on that in the next few weeks.  Right now I'm 
> > > concentrating on documentation.
> > 
> > I really need this new nsca feature. Inter-master-slaves 
> communication
> > in our test environment (about 3000 hosts and livesystem will 
> > have much
> > more hosts) via nsca causes the slaves' latency to grow 
> massiv (up to
> > hours!). Whereas a slave with same hardware and same amount 
> of checks
> > but without any ocsp/ochp does nearly nothing (latency < 1sec.!). 
> > 
> > I think the major bottleneck - the serial execution of 
> ocsp/ochp still
> > exists in Nagios3. So Ton's comment on this
> > (http://altinity.blogs.com/dotorg/2006/11/caching_nsca_da.html)  is
> > still true.  
> > 
> > I expect the new PROCESS_FILE option to avoid this 
> 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 
> appreciate if the
> > main cause of the problem - the ocsp/ohcp executions - could be
> > deserialized.
> > 
> > Let me now if I can support the development with testing, 
> coding, ...
> > 
> > Gerd
> > 
> > 
> > 
> > --------------------------------------------------------------
> > -----------
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the 
> > chance to share your
> > opinions on IT & business topics through brief surveys-and earn cash
> > http://www.techsay.com/default.php?page=join.php&p=sourceforge
> > &CID=DEVDEV
> > _______________________________________________
> > Nagios-devel mailing list
> > Nagios-devel at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/nagios-devel
> > 
> 
> --------------------------------------------------------------
> -----------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the 
> chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge
> &CID=DEVDEV
> _______________________________________________
> Nagios-devel mailing list
> Nagios-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-devel
> 
> <<smime.p7s>>
> 
> 
> --------------------------------------------------------------
> -----------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the 
> chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge
> &CID=DEVDEV
> _______________________________________________
> Nagios-devel mailing list
> Nagios-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-devel
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3076 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20070222/ff053ef1/attachment.bin>
-------------- next part --------------
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
-------------- next part --------------
_______________________________________________
Nagios-devel mailing list
Nagios-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-devel


More information about the Developers mailing list