Skip to content

Commit

Permalink
cleanup some unused macros
Browse files Browse the repository at this point in the history
Signed-off-by: Sven Nierlein <[email protected]>
  • Loading branch information
sni committed Nov 10, 2022
1 parent 981143b commit 9f6e87a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
1 change: 0 additions & 1 deletion src/naemon/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,6 @@ NAGIOS_END_DECL
#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_DATETIME_LENGTH 48

Expand Down
10 changes: 0 additions & 10 deletions src/naemon/naemon.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,16 +65,6 @@
* header before use.
*/

/************* MISC LENGTH/SIZE DEFINITIONS ***********/

/*
NOTE: Plugin length is artificially capped at 8k to prevent runaway plugins from returning MBs/GBs of data
back to Nagios. If you increase the 8k cap by modifying this value, make sure you also increase the value
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) */

/*********** ROUTE CHECK PROPAGATION TYPES ************/

#define PROPAGATE_TO_PARENT_HOSTS 1
Expand Down

0 comments on commit 9f6e87a

Please sign in to comment.