From 550d098f8e9b4ac28800c8bb5db0611eb5f3fa34 Mon Sep 17 00:00:00 2001 From: Gabriel Filion Date: Mon, 9 Apr 2012 02:36:25 -0400 Subject: Import fresh nsca.cfg file The default nsca.cfg is currently using the "non-normal" port for nsca. Let's import a freshly installed nsca.cfg file with default values. Signed-off-by: Gabriel Filion --- files/nsca/nsca.cfg | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'files/nsca/nsca.cfg') diff --git a/files/nsca/nsca.cfg b/files/nsca/nsca.cfg index 238869f..0b019ea 100644 --- a/files/nsca/nsca.cfg +++ b/files/nsca/nsca.cfg @@ -21,7 +21,7 @@ pid_file=/var/run/nsca.pid # Port number we should wait for connections on. # This must be a non-priveledged port (i.e. > 1024). -server_port=5677 +server_port=5667 @@ -79,10 +79,15 @@ debug=0 # COMMAND FILE # This is the location of the Nagios command file that the daemon # should write all service check results that it receives. - +# Note to debian users: nagios 1.x and nagios 2.x have +# different default locations for this file. this is the +# default location for nagios 1.x: +#command_file=/var/run/nagios/nagios.cmd +# and this is the default location for nagios2: +#command_file=/var/lib/nagios2/rw/nagios.cmd +# and this is the default location for nagios3: command_file=/var/lib/nagios3/rw/nagios.cmd - # ALTERNATE DUMP FILE # This is used to specify an alternate file the daemon should # write service check results to in the event the command file @@ -96,7 +101,6 @@ command_file=/var/lib/nagios3/rw/nagios.cmd alternate_dump_file=/var/run/nagios/nsca.dump - # AGGREGATED WRITES OPTION # This option determines whether or not the nsca daemon will # aggregate writes to the external command file for client -- cgit v1.2.3