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

Alexander Wirt alexander.wirt at credativ.de
Tue Feb 26 09:24:33 UTC 2013


The following commit has been merged in the master branch:
commit 6a87cf65da5fc1cb05db85e9d9155eb4045d02ed
Author: Alexander Wirt <alexander.wirt at credativ.de>
Date:   Tue Feb 26 09:53:38 2013 +0100

    Add default authorization line

diff --git a/debian/patches/nsca-ng.cfg_debian_config b/debian/patches/nsca-ng.cfg_debian_config
index 39705ad..fd70568 100644
--- a/debian/patches/nsca-ng.cfg_debian_config
+++ b/debian/patches/nsca-ng.cfg_debian_config
@@ -1,9 +1,11 @@
 Description: Debian specific settings
 Author: Alexander Wirt <formorer at debian.org>
 
---- nsca-ng-0.3.orig/etc/nsca-ng.cfg
-+++ nsca-ng-0.3/etc/nsca-ng.cfg
-@@ -8,8 +8,24 @@
+Index: pkg-nsca-ng/etc/nsca-ng.cfg
+===================================================================
+--- pkg-nsca-ng.orig/etc/nsca-ng.cfg	2013-02-26 09:50:22.734377162 +0100
++++ pkg-nsca-ng/etc/nsca-ng.cfg	2013-02-26 09:52:40.542382528 +0100
+@@ -8,8 +8,30 @@
  #
  # Most probably, you'll have to specify the path to the Nagios command file.
  #
@@ -20,6 +22,12 @@ Author: Alexander Wirt <formorer at debian.org>
 +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

-- 
UNNAMED PROJECT



More information about the Pkg-nagios-changes mailing list