Re: [Nagios-devel] NSCA 2.9? 4k plugin output limit,

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

Re: [Nagios-devel] NSCA 2.9? 4k plugin output limit,

Post by Guest »

--20cf3040eafa2d808404aa1763c7
Content-Type: text/plain; charset=ISO-8859-1

On Mon, Aug 8, 2011 at 6:53 PM, Mike Lindsey 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.

--20cf3040eafa2d808404aa1763c7
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On Mon, Aug 8, 2011 at 6:53 PM, Mike Lindsey=
<mike-nagi=
[email protected]> 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 lockf=
ile race condition.

Apply patches against a clean 2.7.2 source. =A0Allows 4096 character long p=
lugin output, and allows direct submission to the checkresult directory, sk=
ipping the command pipe.

Add the following (or similar) to nsca.cfg, it'll failback to command p=
ipe if there's a write error:
check_result_path=3D/usr/local/nagios/var/spool/checkresults

I've not done any extensive performance testing, though my cursory test=
s showed decent performance improvements (I also have my checkresults direc=
tory on ramdisk).

Hopefully other people find this useful. =A0I'm not sure what else you =
would want and need in NSCA to make it a "3.0" release, but makin=
g it compatible with some of the other improvements in Nagios 3+ seems like=
a nice start? =A0I'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. =


--20cf3040eafa2d808404aa1763c7--





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked