Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15
nagios
nagios-output-length.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File nagios-output-length.patch of Package nagios
Index: nagios-4.3.1/cgi/extinfo.c =================================================================== --- nagios-4.3.1.orig/cgi/extinfo.c +++ nagios-4.3.1/cgi/extinfo.c @@ -57,7 +57,7 @@ extern hoststatus *hoststatus_list; extern servicestatus *servicestatus_list; -#define MAX_MESSAGE_BUFFER 4096 +#define MAX_MESSAGE_BUFFER 262144 #define HEALTH_WARNING_PERCENTAGE 85 #define HEALTH_CRITICAL_PERCENTAGE 75 Index: nagios-4.3.1/cgi/status.c =================================================================== --- nagios-4.3.1.orig/cgi/status.c +++ nagios-4.3.1/cgi/status.c @@ -64,7 +64,7 @@ extern servicestatus *servicestatus_list static nagios_macros *mac; -#define MAX_MESSAGE_BUFFER 4096 +#define MAX_MESSAGE_BUFFER 262144 #define DISPLAY_HOSTS 0 #define DISPLAY_HOSTGROUPS 1 Index: nagios-4.3.1/include/common.h =================================================================== --- nagios-4.3.1.orig/include/common.h +++ nagios-4.3.1/include/common.h @@ -507,7 +507,7 @@ extern const char *cmd_error_strerror(in #define MAX_FILENAME_LENGTH 256 /* max length of path/filename that Nagios will process */ #define MAX_INPUT_BUFFER 1024 /* size in bytes of max. input buffer (for reading files, misc stuff) */ #define MAX_COMMAND_BUFFER 8192 /* max length of raw or processed command line */ -#define MAX_EXTERNAL_COMMAND_LENGTH 8192 /* max length of an external command */ +#define MAX_EXTERNAL_COMMAND_LENGTH 262144 /* max length of an external command */ #define MAX_DATETIME_LENGTH 48 Index: nagios-4.3.1/include/nagios.h =================================================================== --- nagios-4.3.1.orig/include/nagios.h +++ nagios-4.3.1/include/nagios.h @@ -270,7 +270,7 @@ extern struct load_control loadctl; of MAX_EXTERNAL_COMMAND_LENGTH in common.h to allow for passive checks results received through the external command file. EG 10/19/07 */ -#define MAX_PLUGIN_OUTPUT_LENGTH 8192 /* max length of plugin output (including perf data) */ +#define MAX_PLUGIN_OUTPUT_LENGTH 262144 /* max length of plugin output (including perf data) */ /******************* STATE LOGGING TYPES **************/
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor