[Nagiosplug-devel] Perf Data

Karl DeBisschop karl at debisschop.net
Wed Feb 19 22:16:03 CET 2003


On Thu, 2003-02-20 at 00:37, Ethan Galstad wrote:

> You must have missed the first few lines in objects.h :-)
> 
> 
> #define MAX_HOSTNAME_LENGTH            		64	/* max. host name length */
> #define MAX_SERVICEDESC_LENGTH			64	/* max. service description length */
> #define MAX_PLUGINOUTPUT_LENGTH			352	/* max. length of plugin output */

I only did a grep of a few things. I didn't know the varable names, and
I was more focused on getting the last plugin beta out. I'm glad to be
proven wrong.

Given those limits, it seems reasonable to just build the
MAX_PLUGINOUTPUT_LENGTH constant into the plugins in the future.

--
Karl







More information about the Devel mailing list