[Pkg-nagios-changes] [SCM] UNNAMED PROJECT branch, master, updated. debian/0.3-1-10-g1c777ee
Alexander Wirt
formorer at debian.org
Sun Apr 14 12:04:34 UTC 2013
The following commit has been merged in the master branch:
commit 126f404e6f161369f1060d3060d607d05e9ccb31
Author: Alexander Wirt <formorer at debian.org>
Date: Sun Apr 14 07:59:00 2013 +0200
Update nsca-ng.cfg_debian_config
diff --git a/debian/patches/nsca-ng.cfg_debian_config b/debian/patches/nsca-ng.cfg_debian_config
index 2c14c37..64534e7 100644
--- a/debian/patches/nsca-ng.cfg_debian_config
+++ b/debian/patches/nsca-ng.cfg_debian_config
@@ -3,12 +3,12 @@ Author: Alexander Wirt <formorer at debian.org>
--- a/etc/nsca-ng.cfg
+++ b/etc/nsca-ng.cfg
-@@ -8,8 +8,30 @@
+@@ -8,9 +8,25 @@
#
# 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"
+
@@ -19,19 +19,24 @@ Author: Alexander Wirt <formorer at debian.org>
+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
-+authorize "*" {
-+ 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.
#
+ # listen = "monitoring.example.com:5668" # Default: "*".
+@@ -105,6 +121,9 @@
+ # commands), at least one "commands" and/or "services" expression must be
+ # specified.
+ #
++# This authorization line only allows pinging of the server, but you probably
++# want to change the password if you go into production
++
+ authorize "*" {
+ password = "change-me"
+ #
--
UNNAMED PROJECT
More information about the Pkg-nagios-changes
mailing list