NSCA 2.9? 4k plugin output limit, checkresult directory option

Adam Augustine augustineas at gmail.com
Tue Aug 9 21:15:31 CEST 2011


On Mon, Aug 8, 2011 at 6:53 PM, Mike Lindsey <mike-nagios at 5dninja.net>wrote:

> I submitted an earlier version of this patch awhile ago, to no response, so
> here's an updated version that fixes a buffer overflow bug and a lockfile
> race condition.
>
> Apply patches against a clean 2.7.2 source.  Allows 4096 character long
> plugin output, and allows direct submission to the checkresult directory,
> skipping the command pipe.
>
> Add the following (or similar) to nsca.cfg, it'll failback to command pipe
> if there's a write error:
> check_result_path=/usr/local/**nagios/var/spool/checkresults
>
> I've not done any extensive performance testing, though my cursory tests
> showed decent performance improvements (I also have my checkresults
> directory on ramdisk).
>
> Hopefully other people find this useful.  I'm not sure what else you would
> want and need in NSCA to make it a "3.0" release, but making it compatible
> with some of the other improvements in Nagios 3+ seems like a nice start?
>  I've got an altered copy of send_nsca_cached I've updated to work with
> multiline nsca, if anyone wants it.
>
> Enjoy!
>
> --
> Mike Lindsey
>

I suspect there is enough interest in the send_nsca_cached code that it
would be worth posting to the list at least.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20110809/12456590/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
-------------- 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