EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT = 512 byte limitation ?
Marc Powell
mpowell at ena.com
Wed Jun 9 17:45:02 CEST 2004
On Wed, 2004-06-09 at 09:30, Christopher M Bergeron wrote:
> I've noticed that there is a limitation of 512 bytes for
> SERVICE_CHECK_RESULTs. Where can I modify this? I didn't see any
> configuration entries for it, so I grepped the code for 512 and can't
> seem to find the limitation.
>
> Can anyone clue me in on how I can increase this? I'm trying to send
> HTML back to nagios from nsca_send, and it quickly saturates the 512
> bytes.
The external command file is implemented as a named PIPE. The amount of
data that this pipe can hold at any given time is defined by the kernel
of whatever OS you are running. Most flavors of linux implement a 512
byte pipe size I believe. If you want to adjust that you would need to
recompile your kernel after locating and changing that value. Be aware
that the change is global and would affect any program that uses a named
pipe so Your Mileage May Definitely Vary and the change may cause
unforeseen consequences. I believe there is further discussion of this
issue in the mailing list archives if you're interested (and it's always
a good idea to search there before posting).
--
Marc
-------------------------------------------------------
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list