]> git.pld-linux.org Git - packages/nagios.git/blobdiff - config.patch
- recover dependencies.cfg
[packages/nagios.git] / config.patch
index b2bb52d98594e9d3ea2e5166418cfb5abd5c2bfb..a9808800b47537dc75f787bf3b0daff8a3cfa265 100644 (file)
  
 -
 +# vim:ts=8:sw=8:syn=cfg
+--- nagios-3.1.2/sample-config/resource.cfg.in 2009-08-03 18:41:56.770015075 +0300
++++ svn/nagios-config/trunk/resource.cfg       2009-08-03 18:42:15.413396493 +0300
+@@ -1,8 +1,6 @@
+ ###########################################################################
+ #
+-# RESOURCE.CFG - Sample Resource File for Nagios @VERSION@
+-#
+-# Last Modified: 09-10-2003
++# 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
+--- nagios-3.1.2/sample-config/nagios.cfg.in   2009-08-03 18:45:46.405840760 +0300
++++ nagios-3.1.2/sample-config/nagios.cfg.in   2009-08-03 18:45:46.405840760 +0300
+@@ -1,13 +1,11 @@
+ ##############################################################################
+ #
+-# NAGIOS.CFG - Sample Main Config File for Nagios @VERSION@
++# NAGIOS.CFG - Main Config File for Nagios
+ #
+ # Read the documentation for more information on this configuration
+ # file.  I've provided some comments here, but things may not be so
+ # clear without further explanation.
+ #
+-# Last Modified: 12-14-2008
+-#
+ ##############################################################################
+@@ -16,7 +14,7 @@
+ # for historical purposes.  This should be the first option specified
+ # in the config file!!!
+-log_file=@localstatedir@/nagios.log
++log_file=/var/log/nagios/nagios.log
+@@ -27,13 +25,13 @@
+ # if you wish (as shown below), or keep them all in a single config file.
+ # You can specify individual object config files as shown below:
+-cfg_file=@sysconfdir@/objects/commands.cfg
+-cfg_file=@sysconfdir@/objects/contacts.cfg
+-cfg_file=@sysconfdir@/objects/timeperiods.cfg
+-cfg_file=@sysconfdir@/objects/templates.cfg
++cfg_file=@sysconfdir@/commands.cfg
++cfg_file=@sysconfdir@/contacts.cfg
++cfg_file=@sysconfdir@/timeperiods.cfg
++cfg_file=@sysconfdir@/templates.cfg
+ # Definitions for monitoring the local (Linux) host
+-cfg_file=@sysconfdir@/objects/localhost.cfg
++#cfg_file=@sysconfdir@/objects/localhost.cfg
+ # Definitions for monitoring a Windows machine
+ #cfg_file=@sysconfdir@/objects/windows.cfg
+@@ -48,13 +46,8 @@
+ # You can also tell Nagios to process all config files (with a .cfg
+ # extension) in a particular directory by using the cfg_dir
+ # directive as shown below:
+-
+-#cfg_dir=@sysconfdir@/servers
+-#cfg_dir=@sysconfdir@/printers
+-#cfg_dir=@sysconfdir@/switches
+-#cfg_dir=@sysconfdir@/routers
+-
+-
++cfg_dir=@sysconfdir@/plugins
++cfg_dir=@sysconfdir@/objects
+ # OBJECT CACHE FILE
+@@ -264,7 +257,7 @@
+ # This is the directory where archived (rotated) log files should be
+ # placed (assuming you've chosen to do log rotation).
+-log_archive_path=@localstatedir@/archives
++log_archive_path=/var/log/nagios/archives
+@@ -850,8 +843,8 @@
+ # Performance data is only written to these files if the
+ # enable_performance_data option (above) is set to 1.
+-#host_perfdata_file=/tmp/host-perfdata
+-#service_perfdata_file=/tmp/service-perfdata
++#host_perfdata_file=@localstatedir@/host-perfdata
++#service_perfdata_file=@localstatedir@/service-perfdata
+@@ -1065,7 +1058,7 @@
+ #     strict-iso8601  (YYYY-MM-DDTHH:MM:SS)
+ #
+-date_format=us
++date_format=iso8601
+@@ -1306,7 +1299,7 @@
+ # DEBUG FILE
+ # This option determines where Nagios should write debugging information.
+-debug_file=@localstatedir@/nagios.debug
++debug_file=/var/log/nagios/nagios.debug
This page took 0.089757 seconds and 4 git commands to generate.