]> git.pld-linux.org Git - packages/nagios.git/blob - config.patch
7cc6b54b66eab27d4431a516546343f2715b8210
[packages/nagios.git] / config.patch
1 --- nagios-3.1.2/sample-config/cgi.cfg.in       2009-08-03 18:30:03.896753761 +0300
2 +++ svn/nagios-config/trunk/cgi.cfg     2009-08-03 18:25:38.142614386 +0300
3 @@ -1,8 +1,6 @@
4  #################################################################
5  #
6 -# CGI.CFG - Sample CGI Configuration File for Nagios @VERSION@
7 -#
8 -# Last Modified: 06-17-2009
9 +# CGI.CFG - CGI Configuration File for Nagios
10  #
11  #################################################################
12  
13 @@ -46,9 +45,9 @@
14  # This option determines whether or not a context-sensitive
15  # help icon will be displayed for most of the CGIs.
16  # Values: 0 = disables context-sensitive help
17  #         1 = enables context-sensitive help
18  
19 -show_context_help=0
20 +show_context_help=1
21  
22  
23  
24 @@ -269,7 +233,7 @@
25  # OS and distribution, so you may have to tweak this to
26  # work on your system.
27  
28 -ping_syntax=/bin/ping -n -U -c 5 $HOSTADDRESS$
29 +ping_syntax=/usr/bin/ping -n -U -c 5 $HOSTADDRESS$
30  
31  
32  
33 @@ -359,4 +323,4 @@
34  #splunk_url=http://127.0.0.1:8000/
35  
36  
37 -
38 +# vim:ts=8:sw=8:syn=cfg
39 --- nagios-3.1.2/sample-config/resource.cfg.in  2009-08-03 18:41:56.770015075 +0300
40 +++ svn/nagios-config/trunk/resource.cfg        2009-08-03 18:42:15.413396493 +0300
41 @@ -1,8 +1,6 @@
42  ###########################################################################
43  #
44 -# RESOURCE.CFG - Sample Resource File for Nagios @VERSION@
45 -#
46 -# Last Modified: 09-10-2003
47 +# RESOURCE.CFG - Resource File for Nagios
48  #
49  # You can define $USERx$ macros in this file, which can in turn be used
50  # in command definitions in your host config file(s).  $USERx$ macros are
51 --- nagios-3.1.2/sample-config/nagios.cfg.in~   2009-08-03 18:45:46.405840760 +0300
52 +++ nagios-3.1.2/sample-config/nagios.cfg.in    2009-08-03 18:45:46.405840760 +0300
53 @@ -1,13 +1,11 @@
54  ##############################################################################
55  #
56 -# NAGIOS.CFG - Sample Main Config File for Nagios @VERSION@
57 +# NAGIOS.CFG - Main Config File for Nagios
58  #
59  # Read the documentation for more information on this configuration
60  # file.  I've provided some comments here, but things may not be so
61  # clear without further explanation.
62  #
63 -# Last Modified: 12-14-2008
64 -#
65  ##############################################################################
66  
67  
68 @@ -16,7 +14,7 @@
69  # for historical purposes.  This should be the first option specified
70  # in the config file!!!
71  
72 -log_file=@localstatedir@/nagios.log
73 +log_file=/var/log/nagios/nagios.log
74  
75  
76  
77 @@ -49,6 +47,10 @@
78  # extension) in a particular directory by using the cfg_dir
79  # directive as shown below:
80  
81 +cfg_dir=/etc/nagios/plugins
82 +cfg_dir=/etc/nagios/local
83 +#cfg_dir=etc/nagios/objects
84 +
85  #cfg_dir=@sysconfdir@/servers
86  #cfg_dir=@sysconfdir@/printers
87  #cfg_dir=@sysconfdir@/switches
88 @@ -264,7 +266,7 @@
89  # This is the directory where archived (rotated) log files should be
90  # placed (assuming you've chosen to do log rotation).
91  
92 -log_archive_path=@localstatedir@/archives
93 +log_archive_path=/var/log/nagios/archives
94  
95  
96  
97 @@ -850,8 +852,8 @@
98  # Performance data is only written to these files if the
99  # enable_performance_data option (above) is set to 1.
100  
101 -#host_perfdata_file=/tmp/host-perfdata
102 -#service_perfdata_file=/tmp/service-perfdata
103 +#host_perfdata_file=@localstatedir@/host-perfdata
104 +#service_perfdata_file=@localstatedir@/service-perfdata
105  
106  
107  
108 @@ -1065,7 +1067,7 @@
109  #      strict-iso8601  (YYYY-MM-DDTHH:MM:SS)
110  #
111  
112 -date_format=us
113 +date_format=iso8601
114  
115  
116  
117 @@ -1306,7 +1308,7 @@
118  # DEBUG FILE
119  # This option determines where Nagios should write debugging information.
120  
121 -debug_file=@localstatedir@/nagios.debug
122 +debug_file=/var/log/nagios/nagios.debug
123  
124  
125  
This page took 0.496245 seconds and 2 git commands to generate.