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