[SOLVED] NSCA Message size

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
User avatar
sebastiaopburnay
Posts: 105
Joined: Sun Oct 31, 2010 1:40 pm
Location: Lisbon, Portugal

[SOLVED] NSCA Message size

Post by sebastiaopburnay »

Hi!

I was investigating a way to accommodate large service outputs and to send them via NSCA.

The only info I've found suggested to:
i) tamper with an include/objects.h file
ii) Alter MAX_PLUGINOUTPUT_LENGTH to a suitable value
iii)recompile and reinstall Nagios'

Is this the way to do it?

Because in my objects.h file (Nagios Core 3.5.1) there's not even a commented reference to this MAX_PLUGINOUTPUT_LENGTH

Thank you
SebastiaoPBurnay

P.S. this was my source: http://support.nagios.com/forum/viewtop ... 34&t=16674
Last edited by sebastiaopburnay on Thu Aug 14, 2014 5:47 am, edited 1 time in total.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: NSCA Message size

Post by abrist »

Currently it may be the only way, and your mileage may vary depending on the platform.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
User avatar
sebastiaopburnay
Posts: 105
Joined: Sun Oct 31, 2010 1:40 pm
Location: Lisbon, Portugal

Re: [SOLVED] NSCA Message size

Post by sebastiaopburnay »

OK,

I'll not tamper with this as I'm not comfortable with possible unintended outcome.

Thank you
Locked