[Pkg-nagios-changes] [SCM] UNNAMED PROJECT branch, master, updated. debian/0.3-1-8-g0bd00da

Alexander Wirt alexander.wirt at credativ.de
Tue Feb 26 08:53:09 UTC 2013


The following commit has been merged in the master branch:
commit 0bd00dab94779ba8b3475a5eebdd9617a62a9f9b
Author: Alexander Wirt <alexander.wirt at credativ.de>
Date:   Tue Feb 26 09:52:49 2013 +0100

    Add default authorization line

diff --git a/etc/nsca-ng.cfg b/etc/nsca-ng.cfg
index 6cab584..f6b42c8 100644
--- a/etc/nsca-ng.cfg
+++ b/etc/nsca-ng.cfg
@@ -8,8 +8,30 @@
 #
 # Most probably, you'll have to specify the path to the Nagios command file.
 #
-command_file = "/usr/local/nagios/var/rw/nagios.cmd"
 
+# command_file for nagios3
+command_file = "/var/lib/nagios3/rw/nagios.cmd"
+
+# command_file for icinga
+#command_file=/var/lib/icinga/rw/icinga.cmd
+
+# Debian specific settings
+listen = "localhost:5668" # only listen on localhost
+user = "nagios" # run as user nagios
+pid_file = "/var/run/nsca-ng/nsca-ng.pid" # pid file for nsca-ng
+
+# This authorization line only allows pinging of the server, but you probably
+# want to change the password if you go into production
+authorization "*" {
+	password = 'change-me'
+}
+
+#
+# local configuration:
+#   if you'd prefer, you can instead place directives here
+include(/etc/nsca-ng/nsca-ng.local.cfg)
+
+#
 #
 # These configuration settings are optional.
 #

-- 
UNNAMED PROJECT



More information about the Pkg-nagios-changes mailing list