]> git.pld-linux.org Git - packages/collectd.git/blame_incremental - collectd.spec
- configuration moved to separate sub-configs
[packages/collectd.git] / collectd.spec
... / ...
CommitLineData
1# TODO:
2# - lm_sensors subpackage
3# - package contrib scripts as %doc
4# - put every plugin into subpackages
5# - perl modules with Collectd classes package to separate package
6# - Disabled modules:
7# apple_sensors . . . no (obvious)
8# ipvs . . . . . . . no (ip_vs.h not found - llh to be fixed)
9# libvirt . . . . . . no (requires library)
10# multimeter . . . . no ?
11# perl . . . . . . . no (needs libperl)
12# tape . . . . . . . no ?
13#
14# Conditional build:
15%bcond_without dns # ???
16%bcond_without ipmi # ipmi plugin package
17%bcond_without iptables # iptables plugin
18%bcond_with multimeter # multimeter plugin
19%bcond_without netlink # netlink plugin
20#
21#http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=358637
22%ifarch %{x8664}
23%undefine with_iptables
24%undefine with_netlink
25%endif
26Summary: Collects system information in RRD files
27Summary(pl.UTF-8): Zbieranie informacji o systemie w plikach RRD
28Name: collectd
29Version: 4.5.0
30Release: 5.3
31License: GPL v2
32Group: Daemons
33Source0: http://collectd.org/files/%{name}-%{version}.tar.gz
34# Source0-md5: f73dbadc8dca136b98c0f96567e0f78c
35Source1: %{name}.conf
36Source2: %{name}.init
37Source3: %{name}-http.conf
38Source10: %{name}-ascent.conf
39Source11: %{name}-apache.conf
40Source12: %{name}-dns.conf
41Source13: %{name}-hddtemp.conf
42Source14: %{name}-ipmi.conf
43Source15: %{name}-mysql.conf
44Source16: %{name}-nginx.conf
45Source17: %{name}-notify_desktop.conf
46Source18: %{name}-notify_email.conf
47Source19: %{name}-nut.conf
48Source20: %{name}-ping.conf
49Source21: %{name}-postgresql.conf
50Source22: %{name}-powerdns.conf
51Source23: %{name}-rrdtool.conf
52Source24: %{name}-sensors.conf
53Source25: %{name}-snmp.conf
54Source26: %{name}-uuid.conf
55Source27: %{name}-xmms.conf
56Source28: %{name}-tcpconns.conf
57Source29: %{name}-teamspeak2.conf
58Source30: %{name}-thermal.conf
59Source31: %{name}-unixsock.conf
60Source32: %{name}-users.conf
61Source33: %{name}-vmem.conf
62Source34: %{name}-vserver.conf
63Source35: %{name}-wireless.conf
64Source36: %{name}-apcups.conf
65Source37: %{name}-battery.conf
66Source38: %{name}-cpufreq.conf
67Source39: %{name}-cpu.conf
68Source40: %{name}-csv.conf
69Source41: %{name}-df.conf
70Source42: %{name}-disk.conf
71Source43: %{name}-email.conf
72Source44: %{name}-entropy.conf
73Source45: %{name}-exec.conf
74Source46: %{name}-filecount.conf
75Source47: %{name}-interface.conf
76Source48: %{name}-iptables.conf
77Source49: %{name}-irq.conf
78Source50: %{name}-irq.conf
79Source51: %{name}-load.conf
80Source52: %{name}-logfile.conf
81Source53: %{name}-mbmon.conf
82Source54: %{name}-memcached.conf
83Source55: %{name}-memory.conf
84Source56: %{name}-multimeter.conf
85Source57: %{name}-netlink.conf
86Source58: %{name}-network.conf
87Source59: %{name}-nfs.conf
88Source60: %{name}-ntpd.conf
89Source61: %{name}-processes.conf
90Source62: %{name}-serial.conf
91Source63: %{name}-swap.conf
92Source64: %{name}-syslog.conf
93Source65: %{name}-tail.conf
94URL: http://collectd.org/
95BuildRequires: OpenIPMI-devel
96BuildRequires: autoconf
97BuildRequires: automake
98BuildRequires: curl-devel
99BuildRequires: iptables-devel >= 1.4.1.1-4
100BuildRequires: libesmtp-devel
101BuildRequires: libnetlink-devel
102BuildRequires: libnotify-devel
103BuildRequires: liboping-devel
104BuildRequires: libpcap-devel
105BuildRequires: libstatgrab-devel >= 0.12
106BuildRequires: libtool
107BuildRequires: lm_sensors-devel
108BuildRequires: mysql-devel
109BuildRequires: nut-devel
110BuildRequires: perl-devel
111BuildRequires: rpmbuild(macros) >= 1.268
112BuildRequires: rrdtool-devel
113BuildRequires: net-snmp-devel
114BuildRequires: xmms-devel
115Requires(post,preun): /sbin/chkconfig
116Requires: rc-scripts
117BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
118
119%define _pkglibdir /var/lib/%{name}
120%define _webapps /etc/webapps
121%define _webapp %{name}
122%define _webappdir %{_webapps}/%{_webapp}
123%define _appdir %{_datadir}/%{_webapp}
124
125%description
126collectd is a small daemon which collects system information every 10
127seconds and writes the results in an RRD-file.
128
129In contrast to most similar software, collectd is not a script but
130written in plain C for performance and portability. As a daemon it
131stays in memory, so there is no need to start up a heavy interpreter
132every time new values should be logged. This allows collectd to have a
13310 second resolution while being nice to the system.
134
135%description -l pl.UTF-8
136collectd to mały demon zbierający co 10 sekund informacje o systemie i
137zapisujący wyniki do pliku RRD.
138
139W odróżnieniu od innych podobnych programów collectd nie jest
140skryptem, lecz jest napisany w czystym C z myślą o wydajności i
141przenośności. Jako demon pozostaje w pamięci, więc nie ma potrzeby
142urychamiania ciężkiego interpretera za każdym razem, kiedy powinny być
143zapisane nowe wartości. Dzięki temu collect może mieć rozdzielczość 10
144sekund i nie obciążać zbytnio systemu.
145
146%package ascent
147Summary: ascent-plugin for collectd
148Summary(pl_PL.UTF-8): Wtyczka ascent dla collectd
149Group: Daemons
150Requires: %{name} = %{version}-%{release}
151
152%description ascent
153ascent plugin for collectd.
154
155%package apache
156Summary: apache-plugin for collectd
157Summary(pl_PL.UTF-8): Wtyczka apache dla collectd
158Group: Daemons
159Requires: %{name} = %{version}-%{release}
160
161%description apache
162This plugin collectd data provided by Apache's `mod_status'.
163
164%description apache -l pl.UTF-8
165Wtyczka collectd zbierająca informacje udostępniane przez moduł
166'mod_status' Apacha.
167
168%package collection
169Summary: Web script for collectiond
170Summary(pl_PL.UTF-8): Web script for collectiond
171Group: Applications/WWW
172Requires: %{name} = %{version}-%{release}
173
174%description collection
175Web script for collectiond
176
177%package dns
178Summary: dns-plugin for collectd
179Summary(pl_PL.UTF-8): Wtyczka dns dla collectd
180Group: Daemons
181Requires: %{name} = %{version}-%{release}
182Requires: perl-rrdtool
183
184%description dns
185dns plugin for collectd.
186
187%package hddtemp
188Summary: hddtemp-plugin for collectd
189Summary(pl_PL.UTF-8): Wtyczka hddtemp dla collectd
190Group: Daemons
191Requires: %{name} = %{version}-%{release}
192
193%description hddtemp
194hddtemp plugin for collectd.
195
196%package ipmi
197Summary: ipmi-plugin for collectd
198Summary(pl_PL.UTF-8): Wtyczka ipmi dla collectd
199Group: Daemons
200Requires: %{name} = %{version}-%{release}
201
202%description ipmi
203ipmi plugin for collectd.
204
205%description ipmi -l pl.UTF-8
206Wtyczka ipmi dla collectd.
207
208%package mysql
209Summary: mysql-plugin for collectd
210Summary(pl_PL.UTF-8): Moduł mysql dla collectd.
211Group: Daemons
212Requires: %{name} = %{version}-%{release}
213
214%description mysql
215MySQL querying plugin. This plugins provides data of issued commands,
216called handlers and database traffic.
217
218%description mysql -l pl.UTF-8
219Moduł odpytujący MySQL. Wtyczka udostępnia dane o wydawanych
220poleceniach, wywoływanych procedurach obsługi i ruchu bazodanowym.
221
222%package nginx
223Summary: nginx-plugin for collectd
224Summary(pl_PL.UTF-8): Wtyczka nginx dla collectd
225Group: Daemons
226Requires: %{name} = %{version}-%{release}
227
228%description nginx
229nginx plugin for collectd.
230
231%package notify_desktop
232Summary: notify_desktop for collectd
233Summary(pl_PL.UTF-8): Wtyczka notify_desktop dla collectd
234Group: Daemons
235Requires: %{name} = %{version}-%{release}
236
237%description notify_desktop
238notify_desktop plugin for collectd.
239
240%package notify_email
241Summary: notify_email for collectd
242Summary(pl_PL.UTF-8): Wtyczka notify_email dla collectd
243Group: Daemons
244Requires: %{name} = %{version}-%{release}
245
246%description notify_email
247notify_email plugin for collectd.
248
249%package nut
250Summary: nut-plugin for collectd
251Summary(pl_PL.UTF-8): Wtyczka nut dla collectd
252Group: Daemons
253Requires: %{name} = %{version}-%{release}
254
255%description nut
256nut plugin for collectd.
257
258%package ping
259Summary: ping-plugin for collectd
260Summary(pl_PL.UTF-8): Wtyczka ping dla collectd
261Group: Daemons
262Requires: %{name} = %{version}-%{release}
263
264%description ping
265ping plugin for collectd.
266
267%package postgresql
268Summary: mysql-plugin for collectd
269Summary(pl_PL.UTF-8): Moduł postgresql dla collectd.
270Group: Daemons
271Requires: %{name} = %{version}-%{release}
272
273%description postgresql
274PostgreSQL querying plugin. This plugins provides data of issued commands,
275called handlers and database traffic.
276
277%description postgresql -l pl.UTF-8
278Moduł odpytujący PostgreSQL. Wtyczka udostępnia dane o wydawanych
279poleceniach, wywoływanych procedurach obsługi i ruchu bazodanowym.
280
281%package powerdns
282Summary: powerdns-plugin for collectd
283Summary(pl_PL.UTF-8): Wtyczka powerdns dla collectd
284Group: Daemons
285Requires: %{name} = %{version}-%{release}
286
287%description powerdns
288powerdns plugin for collectd.
289
290%package rrdtool
291Summary: rrdtool-plugin for collectd
292Summary(pl_PL.UTF-8): Wtyczka rrdtool dla collectd
293Group: Daemons
294Requires: %{name} = %{version}-%{release}
295Requires: rrdtool
296
297%description rrdtool
298RRDTOOL plugin for collectd.
299
300%package sensors
301Summary: sensors-plugin for collectd
302Summary(pl_PL.UTF-8): Wtyczka sensors dla collectd
303Group: Daemons
304Requires: %{name} = %{version}-%{release}
305
306%description sensors
307This plugin collectd data provided by hardware sensors.
308
309%package snmp
310Summary: snmp-plugin for collectd
311Summary(pl_PL.UTF-8): Wtyczka snmp dla collectd
312Group: Daemons
313Requires: %{name} = %{version}-%{release}
314
315%description snmp
316snmp plugin for collectd.
317
318%package uuid
319Summary: uuid-plugin for collectd
320Summary(pl_PL.UTF-8): Wtyczka uuid dla collectd
321Group: Daemons
322Requires: %{name} = %{version}-%{release}
323
324%description uuid
325This plugin collectd UUID data.
326
327%package xmms
328Summary: xmms-plugin for collectd
329Summary(pl_PL.UTF-8): Wtyczka xmms dla collectd
330Group: Daemons
331Requires: %{name} = %{version}-%{release}
332Requires: xmms-libs
333
334%description xmms
335This plugin collectd data provided by XMMS.
336
337%prep
338%setup -q
339
340cat >> collection.conf <<'EOF'
341datadir: "/var/lib/collectd/"
342libdir: "/usr/lib/collectd/"
343EOF
344
345%build
346%{__libtoolize}
347%{__aclocal}
348%{__autoconf}
349%{__autoheader}
350%{__automake}
351
352%configure \
353 --with-libstatgrab=/usr \
354 --with-lm-sensors=/usr \
355 --with-libmysql=/usr \
356 --%{?with_ipmi:en}%{!?with_ipmi:dis}able-ipmi \
357 --%{?with_multimeter:en}%{!?with_multimeter:dis}able-multimeter \
358 --%{?with_dns:en}%{!?with_dns:dis}able-dns \
359 --%{?with_iptables:en}%{!?with_iptables:dis}able-iptables \
360 --%{?with_netlink:en}%{!?with_netlink:dis}able-netlink \
361 --disable-ipvs
362
363
364%{__make} LDFLAGS="%{rpmldflags} -lstatgrab" \
365 BUILD_WITH_OPENIPMI_CFLAGS="-I/usr/include" \
366 BUILD_WITH_OPENIPMI_LIBS="-L/usr/lib64 -lOpenIPMIutils -lOpenIPMIpthread"
367
368%install
369rm -rf $RPM_BUILD_ROOT
370install -d $RPM_BUILD_ROOT{%{_var}/{log/,lib/%{name}},/etc/{rc.d/init.d/,collectd.d}} \
371 $RPM_BUILD_ROOT{%{_appdir}/cgi-bin,%{_webappdir},%{_pkglibdir}}
372
373%{__make} install \
374 DESTDIR=$RPM_BUILD_ROOT
375
376touch $RPM_BUILD_ROOT%{_var}/log/collectd.log
377install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
378
379# Web frontend:
380install contrib/collection.conf $RPM_BUILD_ROOT%{_webappdir}
381install contrib/collection.cgi $RPM_BUILD_ROOT%{_appdir}/cgi-bin
382install %{SOURCE3} $RPM_BUILD_ROOT%{_webappdir}/apache.conf
383install %{SOURCE3} $RPM_BUILD_ROOT%{_webappdir}/httpd.conf
384
385### Configs instalation ###
386# Example config in sources: src/collectd.conf
387install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.conf
388install %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/ascent.conf
389install %{SOURCE11} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/apache.conf
390install %{SOURCE12} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/dns.conf
391install %{SOURCE13} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/hddtemp.conf
392install %{SOURCE14} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/ipmi.conf
393install %{SOURCE15} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/mysql.conf
394install %{SOURCE16} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/nginx.conf
395install %{SOURCE17} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/notify_desktop.conf
396install %{SOURCE18} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/notify_email.conf
397install %{SOURCE19} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/nut.conf
398install %{SOURCE20} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/ping.conf
399install %{SOURCE21} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/postgresql.conf
400install %{SOURCE22} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/powerdns.conf
401install %{SOURCE23} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/rrdtool.conf
402install %{SOURCE24} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/sensors.conf
403install %{SOURCE25} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/snmp.conf
404install %{SOURCE26} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/uuid.conf
405install %{SOURCE27} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/xmms.conf
406install %{SOURCE28} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/tcpconns.conf
407install %{SOURCE29} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/teamspeak2.conf
408install %{SOURCE30} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/thermal.conf
409install %{SOURCE31} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/unixsock.conf
410install %{SOURCE32} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/users.conf
411install %{SOURCE33} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/vmem.conf
412install %{SOURCE34} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/vserver.conf
413install %{SOURCE35} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/wireless.conf
414install %{SOURCE36} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/apcups.conf
415install %{SOURCE37} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/battery.conf
416install %{SOURCE38} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/cpufreq.conf
417install %{SOURCE39} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/cpu.conf
418install %{SOURCE40} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/csv.conf
419install %{SOURCE41} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/df.conf
420install %{SOURCE42} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/disk.conf
421install %{SOURCE43} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/email.conf
422install %{SOURCE44} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/entropy.conf
423install %{SOURCE45} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/exec.conf
424install %{SOURCE46} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/filecount.conf
425install %{SOURCE47} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/interface.conf
426install %{SOURCE48} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/iptables.conf
427install %{SOURCE49} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/irq.conf
428install %{SOURCE50} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/irq.conf
429install %{SOURCE51} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/load.conf
430install %{SOURCE52} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/logfile.conf
431install %{SOURCE53} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/mbmon.conf
432install %{SOURCE54} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/memcached.conf
433install %{SOURCE55} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/memory.conf
434install %{SOURCE56} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/multimeter.conf
435install %{SOURCE57} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/netlink.conf
436install %{SOURCE58} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/network.conf
437install %{SOURCE59} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/nfs.conf
438install %{SOURCE60} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/ntpd.conf
439install %{SOURCE61} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/processes.conf
440install %{SOURCE62} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/serial.conf
441install %{SOURCE63} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/swap.conf
442install %{SOURCE64} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/syslog.conf
443install %{SOURCE65} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/tail.conf
444
445# Cleanups:
446rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
447
448%clean
449rm -rf $RPM_BUILD_ROOT
450
451%post
452/sbin/chkconfig --add %{name}
453%service %{name} restart
454
455%preun
456if [ "$1" = "0" ]; then
457 %service -q %{name} stop
458 /sbin/chkconfig --del %{name}
459fi
460
461%define module_scripts() \
462%post %1 \
463%service %{name} restart \
464\
465%postun %1 \
466%service %{name} restart
467
468%module_scripts ascent
469%module_scripts apache
470%module_scripts collection
471%module_scripts dns
472%module_scripts hddtemp
473%module_scripts ipmi
474%module_scripts mysql
475%module_scripts nginx
476%module_scripts notify_desktop
477%module_scripts notify_email
478%module_scripts nut
479%module_scripts ping
480%module_scripts postgresql
481%module_scripts powerdns
482%module_scripts rrdtool
483%module_scripts sensors
484%module_scripts snmp
485%module_scripts uuid
486%module_scripts xmms
487
488%triggerin collection -- apache1 < 1.3.37-3, apache1-base
489%webapp_register apache %{_webapp}
490
491%triggerun collection -- apache1 < 1.3.37-3, apache1-base
492%webapp_unregister apache %{_webapp}
493
494%triggerin collection -- apache < 2.2.0, apache-base
495%webapp_register httpd %{_webapp}
496
497%triggerun collection -- apache < 2.2.0, apache-base
498%webapp_unregister httpd %{_webapp}
499
500%files
501%defattr(644,root,root,755)
502%doc AUTHORS ChangeLog README TODO contrib
503%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf
504%dir %{_sysconfdir}/%{name}.d
505%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/apcups.conf
506%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/battery.conf
507%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/cpufreq.conf
508%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/cpu.conf
509%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/csv.conf
510%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/df.conf
511%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/disk.conf
512%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/email.conf
513%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/entropy.conf
514%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/exec.conf
515%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/filecount.conf
516%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/interface.conf
517%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/iptables.conf
518%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/irq.conf
519%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/irq.conf
520%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/load.conf
521%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/logfile.conf
522%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/mbmon.conf
523%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/memcached.conf
524%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/memory.conf
525%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/multimeter.conf
526%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/netlink.conf
527%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/network.conf
528%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/nfs.conf
529%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ntpd.conf
530%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/processes.conf
531%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/serial.conf
532%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/swap.conf
533%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/syslog.conf
534%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/tail.conf
535%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/tcpconns.conf
536%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/teamspeak2.conf
537%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/thermal.conf
538%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/unixsock.conf
539%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/users.conf
540%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/vmem.conf
541%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/vserver.conf
542%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/wireless.conf
543%attr(755,root,root) %{_sbindir}/collectd
544%attr(755,root,root) %{_sbindir}/collectdmon
545%attr(755,root,root) %{_bindir}/collectd-nagios
546
547%dir %{_libdir}/%{name}
548%attr(755,root,root) %{_libdir}/%{name}/apcups.so
549#%attr(755,root,root) %{_libdir}/%{name}/apple_sensors.so
550%attr(755,root,root) %{_libdir}/%{name}/battery.so
551%attr(755,root,root) %{_libdir}/%{name}/cpu.so
552%attr(755,root,root) %{_libdir}/%{name}/cpufreq.so
553%attr(755,root,root) %{_libdir}/%{name}/csv.so
554%attr(755,root,root) %{_libdir}/%{name}/df.so
555%attr(755,root,root) %{_libdir}/%{name}/disk.so
556%attr(755,root,root) %{_libdir}/%{name}/email.so
557%attr(755,root,root) %{_libdir}/%{name}/entropy.so
558%attr(755,root,root) %{_libdir}/%{name}/exec.so
559%attr(755,root,root) %{_libdir}/%{name}/filecount.so
560%attr(755,root,root) %{_libdir}/%{name}/interface.so
561%if %{with iptables}
562%attr(755,root,root) %{_libdir}/%{name}/iptables.so
563%endif
564# Disabled - requires fixed libc-headers or whole kernel source.
565# It was marked as disabled in status message on top.
566#%attr(755,root,root) %{_libdir}/%{name}/ipvs.so
567%attr(755,root,root) %{_libdir}/%{name}/irq.so
568#%attr(755,root,root) %{_libdir}/%{name}/libvirt.so
569%attr(755,root,root) %{_libdir}/%{name}/load.so
570%attr(755,root,root) %{_libdir}/%{name}/logfile.so
571%attr(755,root,root) %{_libdir}/%{name}/mbmon.so
572%attr(755,root,root) %{_libdir}/%{name}/memcached.so
573%attr(755,root,root) %{_libdir}/%{name}/memory.so
574%if %{with multimeter}
575%attr(755,root,root) %{_libdir}/%{name}/multimeter.so
576%endif
577%if %{with netlink}
578%attr(755,root,root) %{_libdir}/%{name}/netlink.so
579%endif
580%attr(755,root,root) %{_libdir}/%{name}/network.so
581%attr(755,root,root) %{_libdir}/%{name}/nfs.so
582%attr(755,root,root) %{_libdir}/%{name}/ntpd.so
583#%attr(755,root,root) %{_libdir}/%{name}/perl.so
584%attr(755,root,root) %{_libdir}/%{name}/processes.so
585%attr(755,root,root) %{_libdir}/%{name}/serial.so
586%attr(755,root,root) %{_libdir}/%{name}/swap.so
587%attr(755,root,root) %{_libdir}/%{name}/syslog.so
588%attr(755,root,root) %{_libdir}/%{name}/tail.so
589#%attr(755,root,root) %{_libdir}/%{name}/tape.so
590%attr(755,root,root) %{_libdir}/%{name}/tcpconns.so
591%attr(755,root,root) %{_libdir}/%{name}/teamspeak2.so
592%attr(755,root,root) %{_libdir}/%{name}/thermal.so
593#%attr(755,root,root) %{_libdir}/%{name}/traffic.so
594%attr(755,root,root) %{_libdir}/%{name}/unixsock.so
595%attr(755,root,root) %{_libdir}/%{name}/users.so
596%attr(755,root,root) %{_libdir}/%{name}/vmem.so
597%attr(755,root,root) %{_libdir}/%{name}/vserver.so
598%attr(755,root,root) %{_libdir}/%{name}/wireless.so
599%{_libdir}/%{name}/types.db
600
601%attr(754,root,root) /etc/rc.d/init.d/%{name}
602
603%{_mandir}/man1/collectd.1*
604%{_mandir}/man1/collectd-nagios.1*
605%{_mandir}/man5/collectd.conf.5*
606%{_mandir}/man5/collectd-email.5*
607%{_mandir}/man5/collectd-exec.5*
608%{_mandir}/man5/collectd-perl.5*
609%{_mandir}/man5/collectd-snmp.5*
610%{_mandir}/man5/collectd-unixsock.5*
611%{_mandir}/man1/collectdmon.1*
612%{_mandir}/man5/types.db.5*
613%{_var}/log/collectd.log
614%dir %{_var}/lib/%{name}
615
616########## PLUGINS:
617%files ascent
618%defattr(644,root,root,755)
619%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ascent.conf
620%attr(755,root,root) %{_libdir}/%{name}/ascent.so
621
622%files apache
623%defattr(644,root,root,755)
624%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/apache.conf
625%attr(755,root,root) %{_libdir}/%{name}/apache.so
626
627%files collection
628%defattr(644,root,root,755)
629%dir %{_webappdir}
630%config(noreplace) %verify(not md5 mtime size) %{_webappdir}/collection.conf
631%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/apache.conf
632%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/httpd.conf
633%dir %{_appdir}
634%dir %{_appdir}/cgi-bin
635%attr(755,root,root) %{_appdir}/cgi-bin/collection.cgi
636
637%files dns
638%defattr(644,root,root,755)
639%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/dns.conf
640%attr(755,root,root) %{_libdir}/%{name}/dns.so
641
642%files hddtemp
643%defattr(644,root,root,755)
644%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/hddtemp.conf
645%attr(755,root,root) %{_libdir}/%{name}/hddtemp.so
646
647%if %{with ipmi}
648%files ipmi
649%defattr(644,root,root,755)
650%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ipmi.conf
651%attr(755,root,root) %{_libdir}/%{name}/ipmi.so
652%endif
653
654%files mysql
655%defattr(644,root,root,755)
656%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/mysql.conf
657%attr(755,root,root) %{_libdir}/%{name}/mysql.so
658
659%files nginx
660%defattr(644,root,root,755)
661%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/nginx.conf
662%attr(755,root,root) %{_libdir}/%{name}/nginx.so
663
664%files notify_desktop
665%defattr(644,root,root,755)
666%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/notify_desktop.conf
667%attr(755,root,root) %{_libdir}/%{name}/notify_desktop.so
668
669%files notify_email
670%defattr(644,root,root,755)
671%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/notify_email.conf
672%attr(755,root,root) %{_libdir}/%{name}/notify_email.so
673
674%files nut
675%defattr(644,root,root,755)
676%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/nut.conf
677%attr(755,root,root) %{_libdir}/%{name}/nut.so
678
679%files ping
680%defattr(644,root,root,755)
681%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ping.conf
682%attr(755,root,root) %{_libdir}/%{name}/ping.so
683
684%files postgresql
685%defattr(644,root,root,755)
686%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/postgresql.conf
687%attr(755,root,root) %{_libdir}/%{name}/postgresql.so
688
689%files powerdns
690%defattr(644,root,root,755)
691%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/powerdns.conf
692%attr(755,root,root) %{_libdir}/%{name}/powerdns.so
693
694%files rrdtool
695%defattr(644,root,root,755)
696%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/rrdtool.conf
697%attr(755,root,root) %{_libdir}/%{name}/rrdtool.so
698
699%files sensors
700%defattr(644,root,root,755)
701%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/sensors.conf
702%attr(755,root,root) %{_libdir}/%{name}/sensors.so
703
704%files snmp
705%defattr(644,root,root,755)
706%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/snmp.conf
707%attr(755,root,root) %{_libdir}/%{name}/snmp.so
708
709%files uuid
710%defattr(644,root,root,755)
711%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/uuid.conf
712%attr(755,root,root) %{_libdir}/%{name}/uuid.so
713
714%files xmms
715%defattr(644,root,root,755)
716%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/xmms.conf
717%attr(755,root,root) %{_libdir}/%{name}/xmms.so
This page took 0.030033 seconds and 4 git commands to generate.