]> git.pld-linux.org Git - packages/nagios.git/blame - config.patch
- up to 4.3.3
[packages/nagios.git] / config.patch
CommitLineData
e277f689
AM
1diff -ur nagios.org/html/config.inc.php.in nagios/html/config.inc.php.in
2--- nagios.org/html/config.inc.php.in 2013-09-20 21:01:20.000000000 +0200
3+++ nagios/html/config.inc.php.in 2013-10-01 21:51:45.176497587 +0200
4@@ -2,7 +2,7 @@
5 //
6
7
8-$cfg['cgi_config_file']='@sysconfdir@/cgi.cfg'; // location of the CGI config file
9+$cfg['cgi_config_file']='/etc/webapps/nagios/cgi.cfg'; // location of the CGI config file
10
11 $cfg['cgi_base_url']='@cgiurl@';
12
e277f689
AM
13--- nagios.org/Makefile.in 2013-09-20 21:01:20.000000000 +0200
14+++ nagios/Makefile.in 2013-10-01 21:51:45.176497587 +0200
fa363e1f 15@@ -234,14 +234,14 @@ install:
e277f689
AM
16 cd $(SRC_BASE) && $(MAKE) $@
17 cd $(SRC_CGI) && $(MAKE) $@
18 cd $(SRC_HTM) && $(MAKE) $@
fa363e1f
AM
19- $(MAKE) install-exfoliation
20+ $(MAKE) install-classicui
21 $(MAKE) install-basic
22
23 install-unstripped:
24 cd $(SRC_BASE) && $(MAKE) $@
25 cd $(SRC_CGI) && $(MAKE) $@
26 cd $(SRC_HTM) && $(MAKE) $@
27- $(MAKE) install-exfoliation
e277f689
AM
28+ $(MAKE) install-classicui
29 $(MAKE) install-basic
30
31 install-basic:
a83427df
ER
32--- nagios-4.2.1/sample-config/cgi.cfg.in~ 2016-09-07 19:22:34.000000000 +0300
33+++ nagios-4.2.1/sample-config/cgi.cfg.in 2016-09-07 19:22:52.152175332 +0300
e277f689 34@@ -1,6 +1,6 @@
744a134f
ER
35 #################################################################
36 #
37-# CGI.CFG - Sample CGI Configuration File for Nagios @VERSION@
e277f689
AM
38+# CGI.CFG - Sample CGI Configuration File for Nagios
39 #
744a134f
ER
40 #
41 #################################################################
e277f689 42@@ -42,7 +42,7 @@
744a134f
ER
43 # Values: 0 = disables context-sensitive help
44 # 1 = enables context-sensitive help
45
46-show_context_help=0
47+show_context_help=1
48
49
50
e277f689 51@@ -263,7 +263,7 @@
744a134f
ER
52 # OS and distribution, so you may have to tweak this to
53 # work on your system.
54
55-ping_syntax=/bin/ping -n -U -c 5 $HOSTADDRESS$
56+ping_syntax=/usr/bin/ping -n -U -c 5 $HOSTADDRESS$
57
58
59
2ba13e8d
AM
60@@ -394,3 +394,5 @@ navbar_search_for_aliases=1
61 # Set to 1 to show only HARD states. Defaults to 0 (HARD+SOFT).
744a134f 62
2ba13e8d 63 #tac_cgi_hard_only=0
e277f689 64+
d304404b 65+# vim:ts=8:sw=8:ft=cfg
e277f689
AM
66--- nagios.org/sample-config/nagios.cfg.in 2013-09-20 21:01:20.000000000 +0200
67+++ nagios/sample-config/nagios.cfg.in 2013-10-01 21:53:09.708504449 +0200
68@@ -1,6 +1,6 @@
4af19791
ER
69 ##############################################################################
70 #
71-# NAGIOS.CFG - Sample Main Config File for Nagios @VERSION@
e277f689 72+# NAGIOS.CFG - Sample Main Config File for Nagios
4af19791
ER
73 #
74 # Read the documentation for more information on this configuration
75 # file. I've provided some comments here, but things may not be so
e277f689
AM
76@@ -15,7 +15,7 @@
77 # for historical purposes. This should be the first option specified
4af19791
ER
78 # in the config file!!!
79
80-log_file=@localstatedir@/nagios.log
81+log_file=/var/log/nagios/nagios.log
82
83
84
1aeb05de 85@@ -26,13 +26,14 @@
8b8bd2f2
ER
86 # if you wish (as shown below), or keep them all in a single config file.
87
88 # You can specify individual object config files as shown below:
89-cfg_file=@sysconfdir@/objects/commands.cfg
90-cfg_file=@sysconfdir@/objects/contacts.cfg
91-cfg_file=@sysconfdir@/objects/timeperiods.cfg
92-cfg_file=@sysconfdir@/objects/templates.cfg
93+cfg_file=@sysconfdir@/commands.cfg
94+cfg_file=@sysconfdir@/contacts.cfg
1aeb05de 95+cfg_file=@sysconfdir@/contactgroups.cfg
8b8bd2f2
ER
96+cfg_file=@sysconfdir@/timeperiods.cfg
97+cfg_file=@sysconfdir@/templates.cfg
98
99 # Definitions for monitoring the local (Linux) host
100-cfg_file=@sysconfdir@/objects/localhost.cfg
101+#cfg_file=@sysconfdir@/objects/localhost.cfg
102
103 # Definitions for monitoring a Windows machine
104 #cfg_file=@sysconfdir@/objects/windows.cfg
1aeb05de 105@@ -47,13 +48,8 @@
8b8bd2f2 106 # You can also tell Nagios to process all config files (with a .cfg
4af19791
ER
107 # extension) in a particular directory by using the cfg_dir
108 # directive as shown below:
8b8bd2f2
ER
109-
110-#cfg_dir=@sysconfdir@/servers
111-#cfg_dir=@sysconfdir@/printers
112-#cfg_dir=@sysconfdir@/switches
113-#cfg_dir=@sysconfdir@/routers
114-
115-
116+cfg_dir=@sysconfdir@/plugins
117+cfg_dir=@sysconfdir@/objects
118
4af19791 119
8b8bd2f2 120 # OBJECT CACHE FILE
1aeb05de 121@@ -242,7 +238,7 @@
e277f689 122 # This is the directory where archived (rotated) log files should be
4af19791
ER
123 # placed (assuming you've chosen to do log rotation).
124
125-log_archive_path=@localstatedir@/archives
126+log_archive_path=/var/log/nagios/archives
127
128
129
1aeb05de 130@@ -250,7 +246,7 @@
1a03ba5e
ER
131 # If you want messages logged to the syslog facility, as well as the
132 # Nagios log file set this option to 1. If not, set it to 0.
133
134-use_syslog=1
135+use_syslog=0
136
137
138
1aeb05de 139@@ -707,7 +703,7 @@
e277f689 140 # by Nagios Enterprises from the update check is processed in accordance
07166078
ER
141 # with our privacy policy - see http://api.nagios.org for details.
142
143-check_for_updates=1
144+check_for_updates=0
145
146
147
1aeb05de 148@@ -719,7 +715,7 @@
e277f689 149 # this data to determine the number of users running specific version of
07166078
ER
150 # Nagios. Enable this option if you do not want this information to be sent.
151
152-bare_update_check=0
153+bare_update_check=1
154
155
156
1aeb05de 157@@ -854,8 +850,8 @@
1a03ba5e
ER
158 # pipe ("p") mode which avoid blocking at startup, otherwise you will
159 # likely want the defult append ("a") mode.
160
161-#host_perfdata_file_mode=a
162-#service_perfdata_file_mode=a
163+host_perfdata_file_mode=a
164+service_perfdata_file_mode=a
165
166
167
1aeb05de 168@@ -1091,7 +1087,7 @@
4af19791
ER
169 # strict-iso8601 (YYYY-MM-DDTHH:MM:SS)
170 #
171
172-date_format=us
173+date_format=iso8601
174
175
176
1aeb05de 177@@ -1285,7 +1281,7 @@
4af19791
ER
178 # DEBUG FILE
179 # This option determines where Nagios should write debugging information.
180
181-debug_file=@localstatedir@/nagios.debug
182+debug_file=/var/log/nagios/nagios.debug
183
184
185
e277f689
AM
186--- nagios.org/sample-config/resource.cfg.in 2013-09-20 21:01:20.000000000 +0200
187+++ nagios/sample-config/resource.cfg.in 2013-10-01 21:52:53.371451113 +0200
188@@ -1,6 +1,6 @@
189 ###########################################################################
190 #
191-# RESOURCE.CFG - Sample Resource File for Nagios @VERSION@
192+# RESOURCE.CFG - Sample Resource File for Nagios
193 #
194 #
195 # You can define $USERx$ macros in this file, which can in turn be used
This page took 0.215345 seconds and 4 git commands to generate.