[Pkg-nagios-changes] [pkg-nagios] r1088 - nagios2/trunk/debian

Marc Haber zugschlus at alioth.debian.org
Tue Dec 19 22:40:49 CET 2006


Author: zugschlus
Date: 2006-12-19 22:40:49 +0100 (Tue, 19 Dec 2006)
New Revision: 1088

Added:
   nagios2/trunk/debian/resource.cfg
Modified:
   nagios2/trunk/debian/changelog
   nagios2/trunk/debian/nagios2-common.install
Log:
  * Ship our own resource.cfg with nagios2-common
prepare release


Modified: nagios2/trunk/debian/changelog
===================================================================
--- nagios2/trunk/debian/changelog	2006-12-15 12:11:43 UTC (rev 1087)
+++ nagios2/trunk/debian/changelog	2006-12-19 21:40:49 UTC (rev 1088)
@@ -1,15 +1,15 @@
-nagios2 (2.6-1.0) UNRELEASED; urgency=low
+nagios2 (2.6-2) unstable; urgency=low
 
-  * NOT RELEASED YET
   * new german debconf translations from Matthias Julius (closes: #400700).
-  * remove check_dns from comands.cfg.
+  * remove check_dns from commands.cfg.
     Thanks to Dr. Tilo Levante. Closes: #402303
   * nagios2-common.postinst: Take 127.0.0.1 as default default gateway.
   * nagios2-common.postrm: Send dpkg-statoverride standard error to
     the bin to avoid a row of "No override present" error messages on
-    purge. 
+    purge.
+  * Ship our own resource.cfg with nagios2-common
 
- -- Marc Haber <mh+debian-packages at zugschlus.de>  Fri, 15 Dec 2006 13:10:21 +0100
+ -- Marc Haber <mh+debian-packages at zugschlus.de>  Sat, 16 Dec 2006 09:24:36 +0100
 
 nagios2 (2.6-1) unstable; urgency=low
 

Modified: nagios2/trunk/debian/nagios2-common.install
===================================================================
--- nagios2/trunk/debian/nagios2-common.install	2006-12-15 12:11:43 UTC (rev 1087)
+++ nagios2/trunk/debian/nagios2-common.install	2006-12-19 21:40:49 UTC (rev 1088)
@@ -1,4 +1,5 @@
 debian-configs/* /etc/nagios2
+debian/resource.cfg /etc/nagios2
 debian/conf.d/* /etc/nagios2/conf.d
 sample-config/README /usr/share/doc/nagios2-common/examples
 sample-config/*.cfg /usr/share/doc/nagios2-common/examples

Added: nagios2/trunk/debian/resource.cfg
===================================================================
--- nagios2/trunk/debian/resource.cfg	2006-12-15 12:11:43 UTC (rev 1087)
+++ nagios2/trunk/debian/resource.cfg	2006-12-19 21:40:49 UTC (rev 1088)
@@ -0,0 +1,31 @@
+###########################################################################
+#
+# RESOURCE.CFG - Resource File for Nagios 
+#
+# You can define $USERx$ macros in this file, which can in turn be used
+# in command definitions in your host config file(s).  $USERx$ macros are
+# useful for storing sensitive information such as usernames, passwords, 
+# etc.  They are also handy for specifying the path to plugins and 
+# event handlers - if you decide to move the plugins or event handlers to
+# a different directory in the future, you can just update one or two
+# $USERx$ macros, instead of modifying a lot of command definitions.
+#
+# The CGIs will not attempt to read the contents of resource files, so
+# you can set restrictive permissions (600 or 660) on them.
+#
+# Nagios supports up to 32 $USERx$ macros ($USER1$ through $USER32$)
+#
+# Resource files may also be used to store configuration directives for
+# external data sources like MySQL...
+#
+###########################################################################
+
+# Sets $USER1$ to be the path to the plugins
+$USER1$=/usr/lib/nagios/plugins
+
+# Sets $USER2$ to be the path to event handlers
+#$USER2$=/usr/lib/nagios/plugins/eventhandlers
+
+# Store some usernames and passwords (hidden from the CGIs)
+#$USER3$=someuser
+#$USER4$=somepassword




More information about the Pkg-nagios-changes mailing list