packages: nagios/config.patch - disable syslog, set default perfdata filemode

glen glen at pld-linux.org
Tue Aug 4 23:50:12 CEST 2009


Author: glen                         Date: Tue Aug  4 21:50:12 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- disable syslog, set default perfdata filemode

---- Files affected:
packages/nagios:
   config.patch (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: packages/nagios/config.patch
diff -u packages/nagios/config.patch:1.4 packages/nagios/config.patch:1.5
--- packages/nagios/config.patch:1.4	Mon Aug  3 19:30:19 2009
+++ packages/nagios/config.patch	Tue Aug  4 23:50:06 2009
@@ -48,8 +48,8 @@
  #
  # 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 20:28:57.068540313 +0300
+--- nagios-3.1.2/sample-config/nagios.cfg.in	2009-08-05 00:05:06.623070929 +0300
++++ nagios-3.1.2/sample-config/nagios.cfg.in	2009-08-05 00:11:30.769380130 +0300
 @@ -1,13 +1,11 @@
  ##############################################################################
  #
@@ -118,6 +118,15 @@
  
  
  
+@@ -272,7 +265,7 @@
+ # If you want messages logged to the syslog facility, as well as the
+ # Nagios log file set this option to 1.  If not, set it to 0.
+ 
+-use_syslog=1
++use_syslog=0
+ 
+ 
+ 
 @@ -728,7 +721,7 @@
  # by Nagios Enterprises from the update check is processed in accordance
  # with our privacy policy - see http://api.nagios.org for details.
@@ -144,6 +153,17 @@
 -#service_perfdata_file=/tmp/service-perfdata
 +#host_perfdata_file=@localstatedir@/host-perfdata
 +#service_perfdata_file=@localstatedir@/service-perfdata
+ 
+ 
+ 
+@@ -875,8 +868,8 @@
+ # pipe ("p") mode which avoid blocking at startup, otherwise you will
+ # likely want the defult append ("a") mode.
+ 
+-#host_perfdata_file_mode=a
+-#service_perfdata_file_mode=a
++host_perfdata_file_mode=a
++service_perfdata_file_mode=a
  
  
  
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/nagios/config.patch?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list