1 | Name: munin |
---|
2 | Version: 2.0.8 |
---|
3 | Release: 1%{?_dist_release} |
---|
4 | Summary: Network-wide graphing framework (grapher/gatherer) |
---|
5 | License: GPLv2 and Bitstream Vera |
---|
6 | Group: System Environment/Daemons |
---|
7 | URL: http://munin.projects.linpro.no/ |
---|
8 | |
---|
9 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
---|
10 | |
---|
11 | Source0: http://downloads.sourceforge.net/sourceforge/munin/%{name}-%{version}.tar.gz |
---|
12 | Source10: http://downloads.sourceforge.net/sourceforge/munin/%{name}-%{version}.tar.gz.sha256sum |
---|
13 | |
---|
14 | Source1: munin-1.2.4-sendmail-config |
---|
15 | Source2: munin-1.2.5-hddtemp_smartctl-config |
---|
16 | Source3: munin-node.logrotate |
---|
17 | Source4: munin.logrotate |
---|
18 | Source6: munin-1.2.6-postfix-config |
---|
19 | Source7: munin-1.4.5-df-config |
---|
20 | Source9: munin.conf |
---|
21 | Source12: cpuspeed.in.rev1243 |
---|
22 | Source13: linux-init.d_munin-asyncd.in |
---|
23 | Source17: munin.cron.d |
---|
24 | Source18: munin-node.rc |
---|
25 | Source19: httpd_munin-cgi.conf |
---|
26 | |
---|
27 | Patch4: munin-2.0.4-Utils-cluck.patch |
---|
28 | Patch5: acpi-2.0.5.patch |
---|
29 | Patch7: munin-2.0-defect-1213.patch |
---|
30 | Patch9: munin-2.0.8-cgitmp.patch |
---|
31 | |
---|
32 | BuildArchitectures: noarch |
---|
33 | |
---|
34 | BuildRequires: net-tools |
---|
35 | BuildRequires: perl >= 5.8 |
---|
36 | BuildRequires: perl(Module::Build) |
---|
37 | BuildRequires: perl(Net::Server) |
---|
38 | BuildRequires: perl(Net::SSLeay) |
---|
39 | BuildRequires: perl(Net::SNMP) |
---|
40 | BuildRequires: perl(Test::Exception) |
---|
41 | BuildRequires: perl(Test::MockModule) |
---|
42 | BuildRequires: perl(Test::MockObject) |
---|
43 | #BuildRequires: perl(Test::Perl::Critic) >= 1.096 ## Not packaged |
---|
44 | BuildRequires: perl(Test::Pod::Coverage) |
---|
45 | BuildRequires: perl(Time::HiRes) |
---|
46 | BuildRequires: perl(Net::SSLeay) |
---|
47 | BuildRequires: perl(HTML::Template) |
---|
48 | BuildRequires: perl(Log::Log4perl) >= 1.18 |
---|
49 | |
---|
50 | Requires: %{name}-common = %{version} |
---|
51 | Requires: perl-Net-Server |
---|
52 | Requires: perl-Net-SNMP |
---|
53 | Requires: rrdtool |
---|
54 | Requires: logrotate |
---|
55 | Requires: /bin/mail |
---|
56 | Requires(pre): shadow-utils |
---|
57 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
58 | Requires: TrueType-bitstream-vera |
---|
59 | |
---|
60 | %description |
---|
61 | Munin is a highly flexible and powerful solution used to create graphs of |
---|
62 | virtually everything imaginable throughout your network, while still |
---|
63 | maintaining a rattling ease of installation and configuration. |
---|
64 | |
---|
65 | This package contains the grapher/gatherer. You will only need one instance of |
---|
66 | it in your network. It will periodically poll all the nodes in your network |
---|
67 | it's aware of for data, which it in turn will use to create graphs and HTML |
---|
68 | pages, suitable for viewing with your graphical web browser of choice. |
---|
69 | |
---|
70 | Munin is written in Perl, and relies heavily on Tobi Oetiker's excellent |
---|
71 | RRDtool. |
---|
72 | |
---|
73 | %package node |
---|
74 | Group: System Environment/Daemons |
---|
75 | Summary: Network-wide graphing framework (node) |
---|
76 | BuildArchitectures: noarch |
---|
77 | Requires: %{name}-common = %{version} |
---|
78 | Requires: perl-Net-Server |
---|
79 | Requires: procps >= 2.0.7 |
---|
80 | #Requires: sysstat, /usr/bin/which, hdparm |
---|
81 | Requires: /usr/bin/which, hdparm |
---|
82 | Requires(pre): shadow-utils |
---|
83 | Requires(post): /sbin/chkconfig |
---|
84 | Requires(preun): /sbin/chkconfig |
---|
85 | Requires(preun): /sbin/service |
---|
86 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
87 | |
---|
88 | %description node |
---|
89 | Munin is a highly flexible and powerful solution used to create graphs of |
---|
90 | virtually everything imaginable throughout your network, while still |
---|
91 | maintaining a rattling ease of installation and configuration. |
---|
92 | |
---|
93 | This package contains node software. You should install it on all the nodes |
---|
94 | in your network. It will know how to extract all sorts of data from the |
---|
95 | node it runs on, and will wait for the gatherer to request this data for |
---|
96 | further processing. |
---|
97 | |
---|
98 | It includes a range of plugins capable of extracting common values such as |
---|
99 | cpu usage, network usage, load average, and so on. Creating your own plugins |
---|
100 | which are capable of extracting other system-specific values is very easy, |
---|
101 | and is often done in a matter of minutes. You can also create plugins which |
---|
102 | relay information from other devices in your network that can't run Munin, |
---|
103 | such as a switch or a server running another operating system, by using |
---|
104 | SNMP or similar technology. |
---|
105 | |
---|
106 | Munin is written in Perl, and relies heavily on Tobi Oetiker's excellent |
---|
107 | RRDtool. |
---|
108 | |
---|
109 | |
---|
110 | %package async |
---|
111 | Group: System Environment/Daemons |
---|
112 | Summary: Network-wide graphing framework (asynchronous client tools) |
---|
113 | BuildArch: noarch |
---|
114 | Requires: %{name}-node = %{version} |
---|
115 | |
---|
116 | %description async |
---|
117 | Munin is a highly flexible and powerful solution used to create graphs |
---|
118 | of virtually everything imaginable throughout your network, while still |
---|
119 | maintaining a rattling ease of installation and configuration. |
---|
120 | |
---|
121 | This package contains the tools necessary for setting up an asynchronous |
---|
122 | client / spooling system |
---|
123 | |
---|
124 | |
---|
125 | %package common |
---|
126 | Group: System Environment/Daemons |
---|
127 | Summary: Network-wide graphing framework (common files) |
---|
128 | BuildArchitectures: noarch |
---|
129 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
130 | |
---|
131 | %description common |
---|
132 | Munin is a highly flexible and powerful solution used to create graphs of |
---|
133 | virtually everything imaginable throughout your network, while still |
---|
134 | maintaining a rattling ease of installation and configuration. |
---|
135 | |
---|
136 | This package contains common files that are used by both the server (munin) |
---|
137 | and node (munin-node) packages. |
---|
138 | |
---|
139 | %package cgi |
---|
140 | Group: System Environment/Daemons |
---|
141 | Summary: Network-wide graphing framework (common files) |
---|
142 | BuildArch: noarch |
---|
143 | Requires: %{name}-common = %{version} |
---|
144 | Requires: mod_fcgid |
---|
145 | Requires: spawn-fcgi |
---|
146 | |
---|
147 | %description cgi |
---|
148 | Munin package uses cron by default. This package contains the CGI |
---|
149 | files that can generate HTML and graphs dynamically. This enables |
---|
150 | munin to scale better for a master with many nodes. |
---|
151 | |
---|
152 | See documentation for setup instructions: |
---|
153 | http://munin-monitoring.org/wiki/CgiHowto2 |
---|
154 | |
---|
155 | QUICK-HOWTO: |
---|
156 | sed -i 's/\(.*\)_strategy.*/\1_strategy cgi/' /etc/munin/munin.conf |
---|
157 | cp --backup /etc/sysconfig/spawn-fcgi-munin /etc/sysconfig/spawn-fcgi |
---|
158 | for svc in apache2 munin-node spawn-fcgi; do |
---|
159 | chkconfig $svc on |
---|
160 | service $svc start |
---|
161 | done |
---|
162 | |
---|
163 | |
---|
164 | %prep |
---|
165 | %setup -q |
---|
166 | |
---|
167 | sed -i -e ' |
---|
168 | s,^CGIDIR = \(.*\),CGIDIR = $(DESTDIR)/var/www/cgi-bin,; |
---|
169 | s,^CGITMPDIR = \(.*\),CGITMPDIR = /var/tmp,; |
---|
170 | s,^CHGRP := \(.*\),CHGRP := echo Not done: chgrp,; |
---|
171 | s,^CHMOD := \(.*\),CHMOD := echo Not done: chmod,; |
---|
172 | s,^CHOWN := \(.*\),CHOWN := echo Not done: chown,; |
---|
173 | s,^CONFDIR = \(.*\),CONFDIR = $(DESTDIR)/etc/munin,; |
---|
174 | s,^DBDIR = \(.*\),DBDIR = $(DESTDIR)/var/lib/munin,; |
---|
175 | s,^DBDIRNODE = \(.*\),DBDIRNODE = $(DESTDIR)/var/opt/munin-node,; |
---|
176 | s,^DOCDIR = \(.*\),DOCDIR = $(DESTDIR)%{_datadir}/doc/munin-$(VERSION),; |
---|
177 | s,^GROUP := \(.*\),GROUP := nobody,; |
---|
178 | s,^HOSTNAME = \(.*\),HOSTNAME = localhost.localdomain,; |
---|
179 | s,^HTMLDIR = \(.*\),HTMLDIR = $(DESTDIR)/var/www/html/munin,; |
---|
180 | s,^LIBDIR = \(.*\),LIBDIR = $(DESTDIR)%{_datadir}/munin,; |
---|
181 | s,^LOGDIR = \(.*\),LOGDIR = $(DESTDIR)/var/log/munin,; |
---|
182 | s,^PERL := \(.*\),PERL := /usr/bin/perl,; |
---|
183 | s,^PERLSITELIB := \(.*\),PERLSITELIB := %{perl_vendorlib},; |
---|
184 | s,^PLUGSTATE = \(.*\),PLUGSTATE = $(DBDIR)/plugin-state,; |
---|
185 | s,^PREFIX = \(.*\),PREFIX = $(DESTDIR)/usr,; |
---|
186 | s,^PYTHON := \(.*\),PYTHON := /usr/bin/python,; |
---|
187 | s,^RUBY := \(.*\),RUBY := /usr/bin/ruby,; |
---|
188 | s,^USER := \(.*\),USER := nobody,; |
---|
189 | ' Makefile.config |
---|
190 | |
---|
191 | install -c %{SOURCE12} ./plugins/node.d.linux/cpuspeed.in |
---|
192 | |
---|
193 | %patch4 -p0 |
---|
194 | %patch5 -p0 |
---|
195 | %patch7 -p1 |
---|
196 | %patch9 -p1 |
---|
197 | |
---|
198 | install -c %{SOURCE13} ./resources/ |
---|
199 | |
---|
200 | %build |
---|
201 | make CONFIG=Makefile.config |
---|
202 | |
---|
203 | # Convert to utf-8 |
---|
204 | for file in Announce-2.0 COPYING ChangeLog Checklist HACKING.pod README RELEASE UPGRADING UPGRADING-1.4; do |
---|
205 | iconv -f ISO-8859-1 -t UTF-8 -o $file.new $file && \ |
---|
206 | touch -r $file $file.new && \ |
---|
207 | mv $file.new $file |
---|
208 | done |
---|
209 | |
---|
210 | # Fix the wrong FSF address |
---|
211 | for FILE in plugins/node.d.linux/tcp.in COPYING plugins/node.d.linux/bonding_err_.in; do |
---|
212 | sed -i 's|59 Temple Place.*Suite 330, Boston, MA *02111-1307|51 Franklin St, Fifth Floor, Boston, MA 02110-1301|g' $FILE |
---|
213 | done |
---|
214 | |
---|
215 | %install |
---|
216 | |
---|
217 | ## Node |
---|
218 | make CONFIG=Makefile.config \ |
---|
219 | PREFIX=%{buildroot}%{_prefix} \ |
---|
220 | DOCDIR=%{buildroot}%{_docdir}/%{name}-%{version} \ |
---|
221 | MANDIR=%{buildroot}%{_mandir} \ |
---|
222 | DESTDIR=%{buildroot} \ |
---|
223 | install |
---|
224 | |
---|
225 | # Remove fonts |
---|
226 | rm %{buildroot}%{_datadir}/munin/DejaVuSans*.ttf |
---|
227 | |
---|
228 | # install logrotate scripts |
---|
229 | mkdir -p %{buildroot}/etc/logrotate.d |
---|
230 | install -m 0644 %{SOURCE3} %{buildroot}/etc/logrotate.d/munin-node |
---|
231 | install -m 0644 %{SOURCE4} %{buildroot}/etc/logrotate.d/munin |
---|
232 | |
---|
233 | # BZ#821912 - Move .htaccess to apache config to allow easier user-access changes. |
---|
234 | mkdir -p %{buildroot}%{_sysconfdir}/apache2/conf.d |
---|
235 | sed -e 's/# </</g' %{buildroot}/var/www/html/munin/.htaccess > %{buildroot}%{_sysconfdir}/apache2/conf.d/munin.conf |
---|
236 | rm %{buildroot}/var/www/html/munin/.htaccess |
---|
237 | |
---|
238 | # install cron script |
---|
239 | mkdir -p %{buildroot}/etc/cron.d |
---|
240 | install -m 0644 %{SOURCE17} %{buildroot}/etc/cron.d/munin |
---|
241 | |
---|
242 | # |
---|
243 | # don't enable munin-node by default. |
---|
244 | # |
---|
245 | mkdir -p %{buildroot}/etc/rc.d/init.d |
---|
246 | cat %{SOURCE18} | sed -e 's/2345/\-/' > %{buildroot}/etc/rc.d/init.d/munin-node |
---|
247 | chmod 755 %{buildroot}/etc/rc.d/init.d/munin-node |
---|
248 | install -m 0755 %{SOURCE13} %{buildroot}/etc/rc.d/init.d/munin-asyncd |
---|
249 | |
---|
250 | mkdir -p %{buildroot}%{_sysconfdir}/tmpfiles.d |
---|
251 | install -m 0644 %{SOURCE9} %{buildroot}%{_sysconfdir}/tmpfiles.d/%{name}.conf |
---|
252 | |
---|
253 | # Fix default config file |
---|
254 | sed -i ' |
---|
255 | s,/etc/munin/munin-conf.d,/etc/munin/conf.d,; |
---|
256 | s,#html_strategy.*,html_strategy cron,; |
---|
257 | s,#graph_strategy.*,graph_strategy cron,; |
---|
258 | ' %{buildroot}/etc/munin/munin.conf |
---|
259 | mkdir -p %{buildroot}/etc/munin/conf.d |
---|
260 | mkdir -p %{buildroot}/etc/munin/plugin-conf.d |
---|
261 | mkdir -p %{buildroot}/etc/munin/node.d |
---|
262 | mkdir -p %{buildroot}/etc/munin/plugin-node.d |
---|
263 | |
---|
264 | # install config for sendmail under fedora |
---|
265 | install -m 0644 %{SOURCE1} %{buildroot}/etc/munin/plugin-conf.d/sendmail |
---|
266 | |
---|
267 | # install config for hddtemp_smartctl |
---|
268 | install -m 0644 %{SOURCE2} %{buildroot}/etc/munin/plugin-conf.d/hddtemp_smartctl |
---|
269 | |
---|
270 | # install logrotate scripts |
---|
271 | install -m 0644 %{SOURCE3} %{buildroot}/etc/logrotate.d/munin-node |
---|
272 | install -m 0644 %{SOURCE4} %{buildroot}/etc/logrotate.d/munin |
---|
273 | sed -i 's/su munin/#su munin/' %{buildroot}/etc/logrotate.d/munin-node |
---|
274 | sed -i 's/su munin/#su munin/' %{buildroot}/etc/logrotate.d/munin |
---|
275 | |
---|
276 | # install config for postfix |
---|
277 | install -m 0644 %{SOURCE6} %{buildroot}/etc/munin/plugin-conf.d/postfix |
---|
278 | |
---|
279 | # install df config to exclude fses we shouldn't try and monitor |
---|
280 | install -m 0644 %{SOURCE7} %{buildroot}/etc/munin/plugin-conf.d/df |
---|
281 | |
---|
282 | # Append for BZ# 746083 |
---|
283 | cat - >> %{buildroot}/etc/munin/plugin-conf.d/munin-node <<EOT.node |
---|
284 | [diskstats] |
---|
285 | user munin |
---|
286 | |
---|
287 | [iostat_ios] |
---|
288 | user munin |
---|
289 | EOT.node |
---|
290 | |
---|
291 | # Preload static html files |
---|
292 | mkdir -p %{buildroot}/var/www/html/munin/ |
---|
293 | cp -r %{buildroot}/etc/munin/static %{buildroot}/var/www/html/munin/ |
---|
294 | |
---|
295 | # Remove plugins that are missing deps |
---|
296 | rm %{buildroot}/usr/share/munin/plugins/sybase_space |
---|
297 | |
---|
298 | # Create DBDIRNODE |
---|
299 | mkdir -p %{buildroot}/var/lib/munin-node/plugin-state |
---|
300 | |
---|
301 | # Fix config file so that it no longer references the build host |
---|
302 | sed -i 's/^\[.*/\[localhost\]/' %{buildroot}/etc/munin/munin.conf |
---|
303 | |
---|
304 | # Create sample fcgi config files |
---|
305 | mkdir -p %{buildroot}/etc/sysconfig %{buildroot}/etc/apache2/conf.d |
---|
306 | cp %{SOURCE19} %{buildroot}/etc/apache2/conf.d/munin-cgi.conf |
---|
307 | cat > %{buildroot}/etc/sysconfig/spawn-fcgi-munin <<EOT |
---|
308 | # SAMPLE: Rename this file to /etc/sysconfig/spawn-fcgi and edit to fit |
---|
309 | # (Without something like this, munin-cgi will not work properly via init script) |
---|
310 | SOCKET=/var/run/munin/fcgi-graph.sock |
---|
311 | OPTIONS="-U www-data -u www-data -g www-data -s $SOCKET -S -M 0600 -C 32 -F 1 -P /var/run/spawn-fcgi.pid -- /var/www/cgi-bin/munin-cgi-graph" |
---|
312 | |
---|
313 | EOT |
---|
314 | |
---|
315 | # create symlinks to munin-asyncd in %%{_sbindir} |
---|
316 | for i in munin-async munin-asyncd |
---|
317 | do |
---|
318 | ln -sf %{_datadir}/munin/$i %{buildroot}%{_sbindir}/$i |
---|
319 | done |
---|
320 | |
---|
321 | %clean |
---|
322 | rm -rf $RPM_BUILD_ROOT |
---|
323 | |
---|
324 | # |
---|
325 | # node package scripts |
---|
326 | # |
---|
327 | %pre node |
---|
328 | getent group munin >/dev/null || groupadd -r munin |
---|
329 | getent passwd munin >/dev/null || \ |
---|
330 | useradd -r -g munin -d /var/lib/munin -s /sbin/nologin \ |
---|
331 | -c "Munin user" munin |
---|
332 | exit 0 |
---|
333 | |
---|
334 | %post node |
---|
335 | /sbin/chkconfig --add munin-node |
---|
336 | # Only run configure on a new install, not an upgrade. |
---|
337 | if [ "$1" = "1" ]; then |
---|
338 | /usr/sbin/munin-node-configure --shell 2> /dev/null | sh >& /dev/null || : |
---|
339 | fi |
---|
340 | |
---|
341 | %preun node |
---|
342 | if [ "$1" = 0 ]; then |
---|
343 | for svc in node asyncd fcgi-html fcgi-graph; do |
---|
344 | service munin-${svc} stop &>/dev/null || : |
---|
345 | /sbin/chkconfig --del munin-${svc} |
---|
346 | done |
---|
347 | fi |
---|
348 | |
---|
349 | %postun node |
---|
350 | if [ "$1" = "0" ]; then |
---|
351 | [ -d %{_sysconfdir}/munin/plugins ] && \ |
---|
352 | find %{_sysconfdir}/munin/plugins/ -maxdepth 1 -type l -print0 | \ |
---|
353 | xargs -0 rm || : |
---|
354 | fi |
---|
355 | |
---|
356 | %triggerun node -- munin-node < 1.4.7 |
---|
357 | cp -a %{_sysconfdir}/munin/plugins %{_sysconfdir}/munin/plugins.bak || : |
---|
358 | |
---|
359 | %triggerpostun node -- munin-node < 1.4.7 |
---|
360 | mv -f %{_sysconfdir}/munin/plugins.bak/* %{_sysconfdir}/munin/plugins/ || : |
---|
361 | |
---|
362 | |
---|
363 | %preun cgi |
---|
364 | if [ "$1" = 0 ]; then |
---|
365 | for svc in fcgi-html fcgi-graph; do |
---|
366 | service munin-${svc} stop &>/dev/null || : |
---|
367 | /sbin/chkconfig --del munin-${svc} |
---|
368 | done |
---|
369 | fi |
---|
370 | |
---|
371 | # |
---|
372 | # main package scripts |
---|
373 | # |
---|
374 | %pre |
---|
375 | getent group munin >/dev/null || groupadd -r munin |
---|
376 | getent passwd munin >/dev/null || \ |
---|
377 | useradd -r -g munin -d /var/lib/munin -s /sbin/nologin \ |
---|
378 | -c "Munin user" munin |
---|
379 | exit 0 |
---|
380 | |
---|
381 | %files |
---|
382 | %defattr(-, root, root) |
---|
383 | %{_bindir}/munin-cron |
---|
384 | %{_bindir}/munindoc |
---|
385 | %{_bindir}/munin-check |
---|
386 | %{_sbindir}/munin-sched |
---|
387 | %dir %{_datadir}/munin |
---|
388 | %{_datadir}/munin/munin-graph |
---|
389 | %{_datadir}/munin/munin-html |
---|
390 | %{_datadir}/munin/munin-limits |
---|
391 | %{_datadir}/munin/munin-update |
---|
392 | %{_datadir}/munin/munin-datafile2storable |
---|
393 | %{_datadir}/munin/munin-storable2datafile |
---|
394 | %{perl_vendorlib}/Munin/Master |
---|
395 | %dir /etc/munin/templates |
---|
396 | %dir /etc/munin |
---|
397 | %dir /etc/munin/conf.d |
---|
398 | %config(noreplace) /etc/munin/templates/* |
---|
399 | %config(noreplace) /etc/munin/static/* |
---|
400 | %config(noreplace) /etc/cron.d/munin |
---|
401 | %config(noreplace) /etc/munin/munin.conf |
---|
402 | %config(noreplace) /etc/logrotate.d/munin |
---|
403 | %config(noreplace) /etc/apache2/conf.d/munin.conf |
---|
404 | %attr(-, munin, munin) %dir /var/lib/munin |
---|
405 | %attr(-, munin, munin) %dir /var/lib/munin/plugin-state |
---|
406 | %attr(-, munin, munin) %dir /var/run/munin |
---|
407 | %attr(-, munin, munin) %dir /var/log/munin |
---|
408 | %attr(-, munin, munin) /var/www/html/munin |
---|
409 | %doc %{_mandir}/man1/munindoc* |
---|
410 | %doc %{_mandir}/man1/munin-sched* |
---|
411 | %doc %{_mandir}/man3/Munin::Master* |
---|
412 | %doc %{_mandir}/man5/munin.conf* |
---|
413 | %doc %{_mandir}/man8/munin* |
---|
414 | |
---|
415 | %files node |
---|
416 | %defattr(-, root, root) |
---|
417 | %config(noreplace) /etc/munin/munin-node.conf |
---|
418 | %dir /etc/munin/plugin-conf.d |
---|
419 | %dir /etc/munin/node.d |
---|
420 | %config(noreplace) /etc/munin/plugin-conf.d/munin-node |
---|
421 | %config(noreplace) /etc/munin/plugin-conf.d/sendmail |
---|
422 | %config(noreplace) /etc/munin/plugin-conf.d/hddtemp_smartctl |
---|
423 | %config(noreplace) /etc/munin/plugin-conf.d/postfix |
---|
424 | %config(noreplace) /etc/munin/plugin-conf.d/df |
---|
425 | %config(noreplace) /etc/logrotate.d/munin-node |
---|
426 | /etc/rc.d/init.d/munin-node |
---|
427 | %{_sbindir}/munin-run |
---|
428 | %{_sbindir}/munin-node |
---|
429 | %{_sbindir}/munin-node-configure |
---|
430 | %attr(-, munin, munin) %dir /var/log/munin |
---|
431 | %dir %{_datadir}/munin |
---|
432 | %dir /etc/munin/plugins |
---|
433 | %dir /etc/munin |
---|
434 | %attr(-, munin, munin) %dir /var/lib/munin |
---|
435 | %dir %attr(-, munin, munin) /var/lib/munin/plugin-state |
---|
436 | %{_datadir}/munin/plugins/ |
---|
437 | %doc %{_mandir}/man5/munin-node* |
---|
438 | %doc %{_mandir}/man3/Munin::Common* |
---|
439 | %doc %{_mandir}/man3/Munin::Node* |
---|
440 | %doc %{_mandir}/man3/Munin::Plugin* |
---|
441 | %doc %{_mandir}/man1/munin-node* |
---|
442 | %doc %{_mandir}/man1/munin-run* |
---|
443 | %{perl_vendorlib}/Munin/Node |
---|
444 | %{perl_vendorlib}/Munin/Plugin* |
---|
445 | |
---|
446 | |
---|
447 | %files async |
---|
448 | %defattr(-,root,root) |
---|
449 | %{_sbindir}/munin-async* |
---|
450 | %{_datadir}/munin/munin-async* |
---|
451 | %{_sysconfdir}/rc.d/init.d/munin-asyncd |
---|
452 | |
---|
453 | |
---|
454 | %files common |
---|
455 | %defattr(-, root, root) |
---|
456 | %doc Announce-2.0 ChangeLog COPYING HACKING.pod perltidyrc README RELEASE UPGRADING |
---|
457 | %dir %{perl_vendorlib}/Munin |
---|
458 | %{perl_vendorlib}/Munin/Common |
---|
459 | %config(noreplace) %{_sysconfdir}/tmpfiles.d/%{name}.conf |
---|
460 | |
---|
461 | |
---|
462 | %files cgi |
---|
463 | %defattr(-,root,root) |
---|
464 | %attr(0755,root,munin) /var/www/cgi-bin/munin-cgi-graph |
---|
465 | %attr(0755,root,munin) /var/www/cgi-bin/munin-cgi-html |
---|
466 | %config(noreplace) %{_sysconfdir}/sysconfig/spawn-fcgi-munin |
---|
467 | %config(noreplace) %{_sysconfdir}/apache2/conf.d/munin-cgi.conf |
---|
468 | |
---|
469 | |
---|
470 | %changelog |
---|
471 | * Tue Dec 04 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.8-1 |
---|
472 | - update to munin-2.0.8 |
---|
473 | - add async/cgi sub package |
---|
474 | |
---|
475 | * Thu Mar 22 2012 Yasumichi Akahoshi <yasumichi@vinelinux.org> 1.4.6-1 |
---|
476 | - Initial build for Vine Linux. |
---|
477 | |
---|
478 | * Wed Feb 22 2012 Kevin Fenzi <kevin@scrye.com> 1.4.6-8 |
---|
479 | - Build against java-1.7.0 now. Fixes bug #796345 |
---|
480 | |
---|
481 | * Tue Jan 31 2012 D. Johnson <fenris02@fedoraproject.org> - 1.4.6-7 |
---|
482 | - Create state file for yum-plugin. Fixes BZ #786030. |
---|
483 | |
---|
484 | * Fri Jan 20 2012 Kevin Fenzi <kevin@scrye.com> - 1.4.6-6 |
---|
485 | - Add PrivateTmp=true to systemd unit file. Fixes bug #782512 |
---|
486 | - Change logrotate to use munin user. Fixes bug #771017 |
---|
487 | |
---|
488 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.6-5.3 |
---|
489 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
490 | |
---|
491 | * Mon Oct 17 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.4.6-4.3 |
---|
492 | - Rebuild for java 1.6.0 downgrade (fesco ticket 663) |
---|
493 | |
---|
494 | * Sat Aug 27 2011 Kevin Fenzi <kevin@scrye.com> - 1.4.6-4.1 |
---|
495 | - Add patch to run restorecon in the sysvinit script. |
---|
496 | - This doesn't matter on f16+ |
---|
497 | |
---|
498 | * Sat Aug 20 2011 D. Johnson <fenris02@fedoraproject.org> - 1.4.6-4 |
---|
499 | - fix tmpfiles.d file for f15 (BZ# 731181) |
---|
500 | |
---|
501 | * Thu Jul 21 2011 Petr Sabata <contyk@redhat.com> - 1.4.6-3 |
---|
502 | - Perl mass rebuild |
---|
503 | |
---|
504 | * Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 1.4.6-2 |
---|
505 | - Perl mass rebuild |
---|
506 | |
---|
507 | * Wed Jul 8 2011 D. Johnson <fenris02@fedoraproject.org> - 1.4.6-1 |
---|
508 | - update to 1.4.6 |
---|
509 | |
---|
510 | * Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.4.5-13 |
---|
511 | - Perl mass rebuild |
---|
512 | |
---|
513 | * Wed Jun 15 2011 D. Johnson <fenris02@fedoraproject.org> - 1.4.5-12 |
---|
514 | - Use tmpfiles.d instead of ExecStartPre |
---|
515 | - Add patch for noSuchObject errors (BZ# 712245) |
---|
516 | |
---|
517 | * Fri Jun 10 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.4.5-11 |
---|
518 | - Perl 5.14 mass rebuild |
---|
519 | |
---|
520 | * Wed Jun 1 2011 D. Johnson <fenris02@fedoraproject.org> - 1.4.5-10 |
---|
521 | - Fixes http://munin-monitoring.org/ticket/887 |
---|
522 | |
---|
523 | * Mon May 30 2011 D. Johnson <fenris02@fedoraproject.org> - 1.4.5-9 |
---|
524 | - Native systemd service file for munin-node (BZ# 699275) |
---|
525 | |
---|
526 | * Tue Feb 08 2011 Kevin Fenzi <kevin@tummy.com> - 1.4.5-8 |
---|
527 | - Fix issue with uppercase node names returning no data. Fixes #673263 |
---|
528 | |
---|
529 | * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.5-7 |
---|
530 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
531 | |
---|
532 | * Sun Dec 05 2010 Kevin Fenzi <kevin@tummy.com> - 1.4.5-6 |
---|
533 | - Adjust the df fix to include all the right fses |
---|
534 | |
---|
535 | * Thu Nov 25 2010 Kevin Fenzi <kevin@tummy.com> - 1.4.5-5 |
---|
536 | - Exclude some fses from df plugin. fixes #601410 |
---|
537 | |
---|
538 | * Wed Aug 11 2010 Todd Zullinger <tmz@pobox.com> - 1.4.5-4.1 |
---|
539 | - Move jmx_ plugin to java-plugins package |
---|
540 | |
---|
541 | * Wed Jul 07 2010 Kevin Fenzi <kevin@tummy.com> - 1.4.5-4 |
---|
542 | - Move docs to common subpackage to make sure COPYING is installed. |
---|
543 | |
---|
544 | * Sat Jul 03 2010 Kevin Fenzi <kevin@tummy.com> - 1.4.5-3 |
---|
545 | - Add /etc/munin/node.d dir |
---|
546 | |
---|
547 | * Sat Jun 12 2010 Kevin Fenzi <kevin@tummy.com> - 1.4.5-2 |
---|
548 | - Add /etc/munin/conf.d/ dir |
---|
549 | |
---|
550 | * Sat Jun 05 2010 Kevin Fenzi <kevin@tummy.com> - 1.4.5-1 |
---|
551 | - Update to 1.4.5 |
---|
552 | |
---|
553 | * Tue Jun 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.4.4-2 |
---|
554 | - Mass rebuild with perl-5.12.0 |
---|
555 | |
---|
556 | * Mon Mar 01 2010 Kevin Fenzi <kevin@tummy.com> - 1.4.4-1 |
---|
557 | - Update to 1.4.4 |
---|
558 | - Add more doc files. Fixes bug #563824 |
---|
559 | - fw_forwarded_local fixed upstream in 1.4.4. Fixes bug #568500 |
---|
560 | |
---|
561 | * Sun Jan 17 2010 Kevin Fenzi <kevin@tummy.com> - 1.4.3-2 |
---|
562 | - Fix owner on state files. |
---|
563 | - Add some BuildRequires. |
---|
564 | - Make munin-node-configure only run on install, not upgrade. bug 540687 |
---|
565 | |
---|
566 | * Thu Dec 31 2009 Kevin Fenzi <kevin@tummy.com> - 1.4.3-1 |
---|
567 | - Update to 1.4.3 |
---|
568 | |
---|
569 | * Thu Dec 17 2009 Ingvar Hagelund <ingvar@linpro.no> - 1.4.2-1 |
---|
570 | - New upstream release |
---|
571 | - Removed upstream packaged fonts |
---|
572 | - Added a patch that makes rrdtool use the system bitstream vera fonts on |
---|
573 | rhel < 6 and fedora < 11 |
---|
574 | |
---|
575 | * Fri Dec 11 2009 Ingvar Hagelund <ingvar@linpro.no> - 1.4.1-3 |
---|
576 | - More correct fedora and el versions for previous font path fix |
---|
577 | - Added a patch that fixes a quoting bug in GraphOld.pm, fixing fonts on el4 |
---|
578 | |
---|
579 | * Wed Dec 09 2009 Ingvar Hagelund <ingvar@linpro.no> - 1.4.1-2 |
---|
580 | - Remove jmx plugins when not supported (like on el4 and older fedora) |
---|
581 | - Correct font path on older distros like el5, el4 and fedora<11 |
---|
582 | |
---|
583 | * Fri Dec 04 2009 Kevin Fenzi <kevin@tummy.com> - 1.4.1-1 |
---|
584 | - Update to 1.4.1 |
---|
585 | |
---|
586 | * Sat Nov 28 2009 Kevin Fenzi <kevin@tummy.com> - 1.4.0-1 |
---|
587 | - Update to final 1.4.0 version |
---|
588 | |
---|
589 | * Sat Nov 21 2009 Kevin Fenzi <kevin@tummy.com> - 1.4.0-0.1.beta |
---|
590 | - Update to beta 1.4.0 version. |
---|
591 | - Add common subpackage for common files. |
---|
592 | |
---|
593 | * Sun Nov 08 2009 Kevin Fenzi <kevin@tummy.com> - 1.4.0-0.1.alpha |
---|
594 | - Initial alpha version of 1.4.0 |
---|
595 | |
---|
596 | * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.6-10 |
---|
597 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
598 | |
---|
599 | * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.6-9 |
---|
600 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
601 | |
---|
602 | * Sat Jan 24 2009 Andreas Thienemann <andreas@bawue.net> - 1.2.6-8 |
---|
603 | - Updated dependencies to better reflect plugin requirements |
---|
604 | - Added hddtemp_smartctl patch to only scan for standby state on /dev/[sh]d? devices. |
---|
605 | |
---|
606 | * Sat Jan 17 2009 Kevin Fenzi <kevin@tummy.com> - 1.2.6-7 |
---|
607 | - Adjust font requires for new dejavu-sans-mono-fonts name (fixes #480463) |
---|
608 | |
---|
609 | * Mon Jan 12 2009 Kevin Fenzi <kevin@tummy.com> - 1.2.6-6 |
---|
610 | - Fix to require the correct font |
---|
611 | |
---|
612 | * Sun Jan 11 2009 Kevin Fenzi <kevin@tummy.com> - 1.2.6-5 |
---|
613 | - Switch to using dejavu-fonts instead of bitstream-vera |
---|
614 | |
---|
615 | * Sun Jan 04 2009 Kevin Fenzi <kevin@tummy.com> - 1.2.6-4 |
---|
616 | - Require bitstream-vera-fonts-sans-mono for Font (fixes #477428) |
---|
617 | |
---|
618 | * Mon Aug 11 2008 Kevin Fenzi <kevin@tummy.com> - 1.2.6-3 |
---|
619 | - Move Munin/Plugin.pm to the node subpackage (fixes #457403) |
---|
620 | |
---|
621 | * Sat Jul 12 2008 Kevin Fenzi <kevin@tummy.com> - 1.2.6-2 |
---|
622 | - Apply postfix patch (fixes #454159) |
---|
623 | - Add perl version dep and remove unneeded perl-HTML-Template (fixes #453923) |
---|
624 | |
---|
625 | * Fri Jun 20 2008 Kevin Fenzi <kevin@tummy.com> - 1.2.6-1 |
---|
626 | - Upgrade to 1.2.6 |
---|
627 | |
---|
628 | * Tue May 20 2008 Kevin Fenzi <kevin@tummy.com> - 1.2.5-5 |
---|
629 | - Rebuild for new perl |
---|
630 | |
---|
631 | * Wed Dec 26 2007 Kevin Fenzi <kevin@tummy.com> - 1.2.5-4 |
---|
632 | - Add patch to fix ampersand and degrees in plugins (fixes #376441) |
---|
633 | |
---|
634 | * Fri Nov 30 2007 Kevin Fenzi <kevin@tummy.com> - 1.2.5-3 |
---|
635 | - Removed unnneeded plugins.conf file (fixes #288541) |
---|
636 | - Fix license tag. |
---|
637 | - Fix ip_conntrack monitoring (fixes #253192) |
---|
638 | - Switch to new useradd guidelines. |
---|
639 | |
---|
640 | * Tue Mar 27 2007 Kevin Fenzi <kevin@tummy.com> - 1.2.5-2 |
---|
641 | - Fix directory ownership (fixes #233886) |
---|
642 | |
---|
643 | * Tue Oct 17 2006 Kevin Fenzi <kevin@tummy.com> - 1.2.5-1 |
---|
644 | - Update to 1.2.5 |
---|
645 | - Fix HD stats (fixes #205042) |
---|
646 | - Add in logrotate scripts that seem to have been dropped upstream |
---|
647 | |
---|
648 | * Sun Aug 27 2006 Kevin Fenzi <kevin@tummy.com> - 1.2.4-10 |
---|
649 | - Rebuild for fc6 |
---|
650 | |
---|
651 | * Tue Jun 27 2006 Kevin Fenzi <kevin@tummy.com> - 1.2.4-9 |
---|
652 | - Re-enable snmp plugins now that perl-Net-SNMP is available (fixes 196588) |
---|
653 | - Thanks to Herbert Straub <herbert@linuxhacker.at> for patch. |
---|
654 | - Fix sendmail plugins to look in the right place for the queue |
---|
655 | |
---|
656 | * Sat Apr 22 2006 Kevin Fenzi <kevin@tummy.com> - 1.2.4-8 |
---|
657 | - add patch to remove unneeded munin-nagios in cron. |
---|
658 | - add patch to remove buildhostname in munin.conf (fixes #188928) |
---|
659 | - clean up prep section of spec. |
---|
660 | |
---|
661 | * Fri Feb 24 2006 Kevin Fenzi <kevin@scrye.com> - 1.2.4-7 |
---|
662 | - Remove bogus Provides for perl RRDs (fixes #182702) |
---|
663 | |
---|
664 | * Thu Feb 16 2006 Kevin Fenzi <kevin@tummy.com> - 1.2.4-6 |
---|
665 | - Readded old changelog entries per request |
---|
666 | - Rebuilt for fc5 |
---|
667 | |
---|
668 | * Sat Dec 24 2005 Kevin Fenzi <kevin@tummy.com> - 1.2.4-5 |
---|
669 | - Fixed ownership for /var/log/munin in node subpackage (fixes 176529) |
---|
670 | |
---|
671 | * Wed Dec 14 2005 Kevin Fenzi <kevin@tummy.com> - 1.2.4-4 |
---|
672 | - Fixed ownership for /var/lib/munin in node subpackage |
---|
673 | |
---|
674 | * Wed Dec 14 2005 Kevin Fenzi <kevin@tummy.com> - 1.2.4-3 |
---|
675 | - Fixed libdir messup to allow builds on x86_64 |
---|
676 | |
---|
677 | * Mon Dec 12 2005 Kevin Fenzi <kevin@tummy.com> - 1.2.4-2 |
---|
678 | - Removed plugins that require Net-SNMP and Sybase |
---|
679 | |
---|
680 | * Tue Dec 6 2005 Kevin Fenzi <kevin@tummy.com> - 1.2.4-1 |
---|
681 | - Inital cleanup for fedora-extras |
---|
682 | |
---|
683 | * Thu Apr 21 2005 Ingvar Hagelund <ingvar@linpro.no> - 1.2.3-4 |
---|
684 | - Fixed a bug in the iostat plugin |
---|
685 | |
---|
686 | * Wed Apr 20 2005 Ingvar Hagelund <ingvar@linpro.no> - 1.2.3-3 |
---|
687 | - Added the missing /var/run/munin |
---|
688 | |
---|
689 | * Tue Apr 19 2005 Ingvar Hagelund <ingvar@linpro.no> - 1.2.3-2 |
---|
690 | - Removed a lot of unecessary perl dependencies |
---|
691 | |
---|
692 | * Mon Apr 18 2005 Ingvar Hagelund <ingvar@linpro.no> - 1.2.3-1 |
---|
693 | - Sync with svn |
---|
694 | |
---|
695 | * Tue Mar 22 2005 Ingvar Hagelund <ingvar@linpro.no> - 1.2.2-5 |
---|
696 | - Sync with release of 1.2.2 |
---|
697 | - Add some nice text from the suse specfile |
---|
698 | - Minimal changes in the header |
---|
699 | - Som ecosmetic changes |
---|
700 | - Added logrotate scripts (stolen from debian package) |
---|
701 | |
---|
702 | * Sun Feb 01 2004 Ingvar Hagelund <ingvar@linpro.no> |
---|
703 | - Sync with CVS. Version 1.0.0pre2 |
---|
704 | |
---|
705 | * Sun Jan 18 2004 Ingvar Hagelund <ingvar@linpro.no> |
---|
706 | - Sync with CVS. Change names to munin. |
---|
707 | |
---|
708 | * Fri Oct 31 2003 Ingvar Hagelund <ingvar@linpro.no> |
---|
709 | - Lot of small fixes. Now builds on more RPM distros |
---|
710 | |
---|
711 | * Wed May 21 2003 Ingvar Hagelund <ingvar@linpro.no> |
---|
712 | - Sync with CVS |
---|
713 | - 0.9.5-1 |
---|
714 | |
---|
715 | * Tue Apr 1 2003 Ingvar Hagelund <ingvar@linpro.no> |
---|
716 | - Sync with CVS |
---|
717 | - Makefile-based install of core files |
---|
718 | - Build doc (only pod2man) |
---|
719 | |
---|
720 | * Thu Jan 9 2003 Ingvar Hagelund <ingvar@linpro.no> |
---|
721 | - Sync with CVS, auto rpmbuild |
---|
722 | |
---|
723 | * Thu Jan 2 2003 Ingvar Hagelund <ingvar@linpro.no> |
---|
724 | - Fix spec file for RedHat 8.0 and new version of lrrd |
---|
725 | |
---|
726 | * Wed Sep 4 2002 Ingvar Hagelund <ingvar@linpro.no> |
---|
727 | - Small bugfixes in the rpm package |
---|
728 | |
---|
729 | * Tue Jun 18 2002 Kjetil Torgrim Homme <kjetilho@linpro.no> |
---|
730 | - new package |
---|