nagios-nsca/nagios-nsca-2.9.1-send_nsca_config.patch

12 lines
473 B
Diff

--- nsca-2.9.1/src/send_nsca.c 2012-01-27 14:20:58.000000000 +0100
+++ nsca-2.9.1/src/send_nsca.c.config 2012-10-24 21:10:59.000000000 +0200
@@ -25,7 +25,7 @@
int server_port=DEFAULT_SERVER_PORT;
char server_name[MAX_HOST_ADDRESS_LENGTH];
char password[MAX_INPUT_BUFFER]="";
-char config_file[MAX_INPUT_BUFFER]="send_nsca.cfg";
+char config_file[MAX_INPUT_BUFFER]="/etc/nagios/send_nsca.cfg";
char delimiter[2]="\t";
char block_delimiter[2]=BLOCK_DELIMITER;