Page 1 of 1

Re: [Nagios-devel] nsca-2.9 compatability

Posted: Wed Jan 11, 2012 11:38 pm
by Guest
This is a multi-part message in MIME format.
--------------070904030809080305030704
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

On 1/11/12 11:16 AM, Andrew Widdersheim wrote:
> I wanted to use Mike Lindsey's new features in nsca-2.9 but found that
> clients on 2.7.2 were not able to communicate after updating the
> server. I found this on the Nagios bug tracker:
>
> http://tracker.nagios.org/view.php?id=78
>
> From what I'm reading it's not possible to have a client and server
> compiled with different MAX_PLUGINOUTPUT_LENGTH. Has this been fixed
> at all and I'm just not finding it?
>
As far as I'm aware, there's no easy fix for this. If you cannot
upgrade your clients, then you can recompile the nsca binary with
MAX_PLUGINOUTPUT_LENGTH set back to 512. That should let you use the
checkresult directory feature, without breaking compatibility with older
clients.

I'll take another look at the source and see if any options jump out at
me, but I don't know how much effort I should put into it - I think
Andreas is actively working on a Better Solution.

--
Mike Lindsey


--------------070904030809080305030704
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit






On 1/11/12 11:16 AM, Andrew Widdersheim wrote:



I wanted to use Mike Lindsey's new features in nsca-2.9 but
found that clients on 2.7.2 were not able to communicate after
updating the server. I found this on the Nagios bug tracker:

http://tracker.nagios.org/view.php?id=78

From what I'm reading it's not possible to have a client and
server compiled with different MAX_PLUGINOUTPUT_LENGTH. Has this
been fixed at all and I'm just not finding it? 


As far as I'm aware, there's no easy fix for this.  If you cannot
upgrade your clients, then you can recompile the nsca binary with
MAX_PLUGINOUTPUT_LENGTH set back to 512.  That should let you use
the checkresult directory feature, without breaking compatibility
with older clients.

I'll take another look at the source and see if any options jump out
at me, but I don't know how much effort I should put into it - I
think Andreas is actively working on a Better Solution.
--
Mike Lindsey



--------------070904030809080305030704--





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