]> git.pld-linux.org Git - packages/nagios.git/blame - config.patch
- typo
[packages/nagios.git] / config.patch
CommitLineData
744a134f
ER
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
4af19791
ER
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
8b8bd2f2 51--- nagios-3.1.2/sample-config/nagios.cfg.in 2009-08-03 18:45:46.405840760 +0300
07166078 52+++ nagios-3.1.2/sample-config/nagios.cfg.in 2009-08-03 20:28:57.068540313 +0300
4af19791
ER
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
8b8bd2f2
ER
77@@ -27,13 +25,13 @@
78 # if you wish (as shown below), or keep them all in a single config file.
79
80 # You can specify individual object config files as shown below:
81-cfg_file=@sysconfdir@/objects/commands.cfg
82-cfg_file=@sysconfdir@/objects/contacts.cfg
83-cfg_file=@sysconfdir@/objects/timeperiods.cfg
84-cfg_file=@sysconfdir@/objects/templates.cfg
85+cfg_file=@sysconfdir@/commands.cfg
86+cfg_file=@sysconfdir@/contacts.cfg
87+cfg_file=@sysconfdir@/timeperiods.cfg
88+cfg_file=@sysconfdir@/templates.cfg
89
90 # Definitions for monitoring the local (Linux) host
91-cfg_file=@sysconfdir@/objects/localhost.cfg
92+#cfg_file=@sysconfdir@/objects/localhost.cfg
93
94 # Definitions for monitoring a Windows machine
95 #cfg_file=@sysconfdir@/objects/windows.cfg
96@@ -48,13 +46,8 @@
97 # You can also tell Nagios to process all config files (with a .cfg
4af19791
ER
98 # extension) in a particular directory by using the cfg_dir
99 # directive as shown below:
8b8bd2f2
ER
100-
101-#cfg_dir=@sysconfdir@/servers
102-#cfg_dir=@sysconfdir@/printers
103-#cfg_dir=@sysconfdir@/switches
104-#cfg_dir=@sysconfdir@/routers
105-
106-
107+cfg_dir=@sysconfdir@/plugins
108+cfg_dir=@sysconfdir@/objects
109
4af19791 110
8b8bd2f2
ER
111 # OBJECT CACHE FILE
112@@ -264,7 +257,7 @@
4af19791
ER
113 # This is the directory where archived (rotated) log files should be
114 # placed (assuming you've chosen to do log rotation).
115
116-log_archive_path=@localstatedir@/archives
117+log_archive_path=/var/log/nagios/archives
118
119
120
07166078
ER
121@@ -728,7 +721,7 @@
122 # by Nagios Enterprises from the update check is processed in accordance
123 # with our privacy policy - see http://api.nagios.org for details.
124
125-check_for_updates=1
126+check_for_updates=0
127
128
129
130@@ -740,7 +733,7 @@
131 # this data to determine the number of users running specific version of
132 # Nagios. Enable this option if you do not want this information to be sent.
133
134-bare_update_check=0
135+bare_update_check=1
136
137
138
8b8bd2f2 139@@ -850,8 +843,8 @@
4af19791
ER
140 # Performance data is only written to these files if the
141 # enable_performance_data option (above) is set to 1.
142
143-#host_perfdata_file=/tmp/host-perfdata
144-#service_perfdata_file=/tmp/service-perfdata
145+#host_perfdata_file=@localstatedir@/host-perfdata
146+#service_perfdata_file=@localstatedir@/service-perfdata
147
148
149
8b8bd2f2 150@@ -1065,7 +1058,7 @@
4af19791
ER
151 # strict-iso8601 (YYYY-MM-DDTHH:MM:SS)
152 #
153
154-date_format=us
155+date_format=iso8601
156
157
158
8b8bd2f2 159@@ -1306,7 +1299,7 @@
4af19791
ER
160 # DEBUG FILE
161 # This option determines where Nagios should write debugging information.
162
163-debug_file=@localstatedir@/nagios.debug
164+debug_file=/var/log/nagios/nagios.debug
165
166
167
This page took 0.04416 seconds and 4 git commands to generate.