]> git.pld-linux.org Git - packages/collectd.git/blame - collectd.spec
- release 4 (by relup.sh)
[packages/collectd.git] / collectd.spec
CommitLineData
c43211a5 1# TODO:
cc9450c3 2#warning: Installed (but unpackaged) file(s) found:
ea7b9f4a
JR
3# /etc/collectd.d/aggregation.conf
4# /etc/collectd.d/ceph.conf
5# /etc/collectd.d/cgroups.conf
6# /etc/collectd.d/chrony.conf
7# /etc/collectd.d/cpusleep.conf
8# /etc/collectd.d/drbd.conf
9# /etc/collectd.d/fhcount.conf
10# /etc/collectd.d/gps.conf
11# /etc/collectd.d/hugepages.conf
12# /etc/collectd.d/ipc.conf
13# /etc/collectd.d/log_logstash.conf
14# /etc/collectd.d/lua.conf
15# /etc/collectd.d/lvm.conf
16# /etc/collectd.d/mcelog.conf
17# /etc/collectd.d/notify_nagios.conf
18# /etc/collectd.d/openldap.conf
19# /etc/collectd.d/ovs_events.conf
20# /etc/collectd.d/ovs_stats.conf
21# /etc/collectd.d/pinba.conf
22# /etc/collectd.d/smart.conf
23# /etc/collectd.d/snmp_agent.conf
24# /etc/collectd.d/statsd.conf
25# /etc/collectd.d/tail_csv.conf
26# /etc/collectd.d/target_v5upgrade.conf
27# /etc/collectd.d/turbostat.conf
28# /etc/collectd.d/write_log.conf
29# /etc/collectd.d/write_prometheus.conf
30# /etc/collectd.d/write_sensu.conf
31# /etc/collectd.d/write_tsdb.conf
32# /etc/collectd.d/xencpu.conf
33# /etc/collectd.d/zfs_arc.conf
34# /etc/collectd.d/zookeeper.conf
35# /usr/lib64/collectd/aggregation.so
36# /usr/lib64/collectd/ceph.so
37# /usr/lib64/collectd/cgroups.so
38# /usr/lib64/collectd/chrony.so
39# /usr/lib64/collectd/cpusleep.so
40# /usr/lib64/collectd/drbd.so
41# /usr/lib64/collectd/fhcount.so
42# /usr/lib64/collectd/gps.so
43# /usr/lib64/collectd/hugepages.so
44# /usr/lib64/collectd/ipc.so
45# /usr/lib64/collectd/log_logstash.so
46# /usr/lib64/collectd/lua.so
47# /usr/lib64/collectd/lvm.so
48# /usr/lib64/collectd/mcelog.so
49# /usr/lib64/collectd/notify_nagios.so
50# /usr/lib64/collectd/openldap.so
51# /usr/lib64/collectd/ovs_events.so
52# /usr/lib64/collectd/ovs_stats.so
53# /usr/lib64/collectd/pinba.so
54# /usr/lib64/collectd/smart.so
55# /usr/lib64/collectd/snmp_agent.so
56# /usr/lib64/collectd/statsd.so
57# /usr/lib64/collectd/synproxy.so
58# /usr/lib64/collectd/tail_csv.so
59# /usr/lib64/collectd/turbostat.so
60# /usr/lib64/collectd/write_log.so
61# /usr/lib64/collectd/write_prometheus.so
62# /usr/lib64/collectd/write_sensu.so
63# /usr/lib64/collectd/write_tsdb.so
64# /usr/lib64/collectd/xencpu.so
65# /usr/lib64/collectd/zfs_arc.so
66# /usr/lib64/collectd/zookeeper.so
67# /usr/share/collectd/collection3/README
68# /usr/share/collectd/collection3/bin/.htaccess
cc9450c3 69#
c43211a5
PG
70# - package contrib scripts as %doc
71# - perl modules with Collectd classes package to separate package
a9b34e68
PG
72# - Bundled libraries - check if its not changed ones and if it can be
73# mainstream library:
74# liboconfig . . . . . yes (shipped version)
75# - Libraries not found by configure:
7a3b7a2c
AF
76# libcredis . . . . . . no (credis.h not found) (http://code.google.com/p/credis/)
77# libganglia . . . . . no (gm_protocol.h not found) (http://ganglia.info/)
78# libiokit . . . . . . no (Darwin only)
a9b34e68
PG
79# libjvm . . . . . . . no (javac not found)
80# libkstat . . . . . . no (Solaris only)
7a3b7a2c 81# libkvm . . . . . . . no (BSD only)
7a3b7a2c
AF
82# libnetapp . . . . . . no (netapp_api.h not found) (properitary)
83# libperfstat . . . . . no (AIX only)
84# librabbitmq . . . . . no (amqp.h not found) (http://hg.rabbitmq.com/rabbitmq-c/)
85# librouteros . . . . . no ('routeros_api.h' not found) (http://verplant.org/librouteros/)
86# libtokyotyrant . . . no (tcrdb.h not found) (http://1978th.net/tokyotyrant/)
a9b34e68 87# libyajl . . . . . . . no (yajl/yajl_parse.h not found)
e19086ca 88# protobuf-c . . . . . no
a9b34e68 89# oracle . . . . . . . no (ORACLE_HOME is not set)
d8a93b37 90# - Disabled modules (build most of them an package):
7a3b7a2c
AF
91# amqp . . . . . . . no
92# apple_sensors . . . . no (Darwin only)
a9b34e68 93# gmond . . . . . . . . no
7a3b7a2c 94# ipvs . . . . . . . . no (ip_vs.h not found - llh to be fixed)
a9b34e68 95# java . . . . . . . . no
7a3b7a2c 96# lpar... . . . . . . . no
7a3b7a2c 97# multimeter . . . . . no ?
a9b34e68 98# netapp . . . . . . . no
7a3b7a2c 99# onewire . . . . . . . no (needs libowfs)
a9b34e68 100# oracle . . . . . . . no
7a3b7a2c
AF
101# pinba . . . . . . . . no
102# redis . . . . . . . . no
a9b34e68 103# routeros . . . . . . no
7a3b7a2c 104# tape . . . . . . . . no ?
a9b34e68 105# tokyotyrant . . . . . no
7a3b7a2c 106# write_redis . . . . . no
a9b34e68 107# zfs_arc . . . . . . . no
c43211a5
PG
108# - logrotate file for logfile plugin
109# - %desc -l pl for plugins
110# - package SpamAssassin plugin from contrib
111
34fc103e 112# Conditional build:
1018cae1 113%bcond_without curl # apache, ascent, bind, curl and nginx plugins
7e70ab62
TP
114%bcond_without dns # DNS plugin
115%bcond_without ipmi # IPMI plugin
34fc103e 116%bcond_without iptables # iptables plugin
84060114 117%bcond_with java
1018cae1 118%bcond_without libesmtp # notify_email plugin
7a3b7a2c 119%bcond_without libvirt # libvirt plugin
b46e10b6 120%bcond_without modbus # modbus plugin
34fc103e 121%bcond_with multimeter # multimeter plugin
1018cae1 122%bcond_without mysql # MySQL plugin
34fc103e 123%bcond_without netlink # netlink plugin
1018cae1
TP
124%bcond_without notify # notify_desktop plugin
125%bcond_without ping # ping plugin
b5cac6d2 126%bcond_without pgsql # PostgreSQL plugin
1018cae1
TP
127%bcond_without rrd # rrdtool and rrdcached plugins
128%bcond_without sensors # sensors plugin
129%bcond_without snmp # SNMP plugin
130%bcond_without ups # nut plugin
854e23ef 131%bcond_without varnish # varnish plugin
1018cae1
TP
132%bcond_without xml # ascent, bind and libvirt plugins
133%bcond_without xmms # XMMS plugin
daff3c99 134
7df111b4 135Summary: Collects system information in RRD files
322f1351 136Summary(pl.UTF-8): Zbieranie informacji o systemie w plikach RRD
373d486f 137Name: collectd
ea7b9f4a 138Version: 5.8.0
ce6f99c0 139Release: 4
373d486f 140License: GPL v2
81857fc6 141Group: Daemons
d94da88b 142Source0: http://collectd.org/files/%{name}-%{version}.tar.bz2
ea7b9f4a 143# Source0-md5: a841159323624f18bf03198e9f5aa364
f6984413 144Source1: %{name}.conf
ec8f9a12 145Source2: %{name}.init
96376a8d 146Source3: %{name}-http.conf
cdf53ab5 147Source4: %{name}-lighttpd.conf
197c4197 148Source5: %{name}-apache.conf
4929f1a7
PG
149Source10: %{name}-df.conf
150Source11: %{name}-rrdtool.conf
cdf53ab5 151Patch0: %{name}-collection.patch
1bc16d55 152Patch2: noquote.patch
f6984413 153URL: http://collectd.org/
aedbf1de 154%{?with_ipmi:BuildRequires: OpenIPMI-devel >= 2.0.14-3}
373d486f
AF
155BuildRequires: autoconf
156BuildRequires: automake
1018cae1 157%{?with_curl:BuildRequires: curl-devel}
13d220ef 158%{?with_iptables:BuildRequires: iptables-devel >= 1.4.1.1-4}
1f546c2e 159BuildRequires: libdbi-devel
1018cae1 160%{?with_libesmtp:BuildRequires: libesmtp-devel}
1f546c2e 161BuildRequires: libltdl-devel
b5cac6d2 162BuildRequires: libmemcached-devel
e19086ca 163%{?with_modbus:BuildRequires: libmodbus-devel}
cc9450c3 164%{?with_netlink:BuildRequires: libmnl-devel}
2a0d0cb2 165%{?with_libvirt:BuildRequires: libnl1-devel}
d8b90517 166%{?with_notify:BuildRequires: libnotify-devel}
1018cae1 167%{?with_ping:BuildRequires: liboping-devel}
7e70ab62 168%{?with_dns:BuildRequires: libpcap-devel}
8bf13ddb 169BuildRequires: libstatgrab-devel >= 0.12
daff3c99 170BuildRequires: libstdc++-devel
373d486f 171BuildRequires: libtool
e19086ca 172%{?with_libvirt:BuildRequires: libvirt-devel}
1018cae1
TP
173%{?with_xml:BuildRequires: libxml2-devel}
174%{?with_sensors:BuildRequires: lm_sensors-devel}
175%{?with_mysql:BuildRequires: mysql-devel}
b5cac6d2 176BuildRequires: ncurses-devel
daff3c99 177%{?with_snmp:BuildRequires: net-snmp-devel}
1102acf3 178%{?with_libvirt:BuildRequires: numactl-devel}
1018cae1 179%{?with_ups:BuildRequires: nut-devel}
18e77dbc 180BuildRequires: perl-devel
b5cac6d2 181BuildRequires: pkgconfig
182%{?with_pgsql:BuildRequires: postgresql-devel}
183BuildRequires: python-devel
184BuildRequires: python-modules
c7024cdb 185BuildRequires: rpmbuild(macros) >= 1.268
1018cae1 186%{?with_rrd:BuildRequires: rrdtool-devel}
854e23ef 187%{?with_varnish:BuildRequires: varnish-devel}
b5cac6d2 188BuildRequires: which
189#BuildRequires: xfsprogs-devel
1018cae1 190%{?with_xmms:BuildRequires: xmms-devel}
7a3b7a2c 191BuildRequires: yajl-devel
7df111b4 192Requires(post,preun): /sbin/chkconfig
cad751d7 193Requires: %{name}-libs = %{version}-%{release}
c7024cdb 194Requires: rc-scripts
373d486f
AF
195BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
196
30751942
TP
197%define _pkglibdir %{_sharedstatedir}/%{name}
198%define _webapps /etc/webapps
199%define _webapp %{name}
200%define _webappdir %{_webapps}/%{_webapp}
201%define _appdir %{_datadir}/%{_webapp}
9259a6ab 202
373d486f 203%description
7df111b4
JB
204collectd is a small daemon which collects system information every 10
205seconds and writes the results in an RRD-file.
206
207In contrast to most similar software, collectd is not a script but
208written in plain C for performance and portability. As a daemon it
209stays in memory, so there is no need to start up a heavy interpreter
210every time new values should be logged. This allows collectd to have a
21110 second resolution while being nice to the system.
212
19cbcad3 213%description -l pl.UTF-8
e19086ca
ER
214collectd to mały demon zbierający co 10 sekund informacje o systemie i
215zapisujący wyniki do pliku RRD.
373d486f 216
19cbcad3 217W odróżnieniu od innych podobnych programów collectd nie jest
e19086ca
ER
218skryptem, lecz jest napisany w czystym C z myślą o wydajności i
219przenośności. Jako demon pozostaje w pamięci, więc nie ma potrzeby
854e23ef
AF
220urychamiania ciężkiego interpretera za każdym razem, kiedy powinny być
221zapisane nowe wartości. Dzięki temu collect może mieć rozdzielczość 10
222sekund i nie obciążać zbytnio systemu.
373d486f 223
b8e7f76a 224%package libs
7e70ab62
TP
225Summary: %{name} libraries
226Summary(pl.UTF-8): Biblioteki %{name}
227Group: Libraries
b8e7f76a
PG
228
229%description libs
230%{name} libraries.
231
232%description libs -l pl.UTF-8
233Biblioteki %{name}.
234
235%package devel
7e70ab62
TP
236Summary: Header files for %{name} libraries
237Summary(pl.UTF-8): Pliki nagłówkowe bibliotek %{name}
238Group: Development/Libraries
239Requires: %{name}-libs = %{version}-%{release}
ea7b9f4a 240Obsoletes: collectd-static
b8e7f76a
PG
241
242%description devel
243Header files for %{name} libraries.
244
245%description devel -l pl.UTF-8
246Pliki nagłówkowe bibliotek %{name}.
247
18e77dbc 248%package apache
273ffc81 249Summary: apache-plugin for collectd
e3cf1862 250Summary(pl.UTF-8): Wtyczka apache dla collectd
18e77dbc 251Group: Daemons
273ffc81 252Requires: %{name} = %{version}-%{release}
18e77dbc 253
254%description apache
daff3c99 255This plugin collect data provided by Apache's `mod_status'.
18e77dbc 256
257%description apache -l pl.UTF-8
273ffc81
JB
258Wtyczka collectd zbierająca informacje udostępniane przez moduł
259'mod_status' Apacha.
18e77dbc 260
5e965dc7
PG
261%package apcups
262Summary: APC UPS plugin for collectd
e3cf1862 263Summary(pl.UTF-8): Wtyczka APC UPS dla collectd
5e965dc7
PG
264Group: Daemons
265Requires: %{name} = %{version}-%{release}
266
267%description apcups
a9b34e68 268The APC UPS plugin connects to an instance of Apcupsd to read various
854e23ef
AF
269statistics about a connected uninterruptible power supply (UPS), such
270as voltage, load, etc.
5e965dc7
PG
271
272%package ascent
273Summary: ascent-plugin for collectd
e3cf1862 274Summary(pl.UTF-8): Wtyczka ascent dla collectd
5e965dc7
PG
275Group: Daemons
276Requires: %{name} = %{version}-%{release}
277
278%description ascent
854e23ef
AF
279The Ascent plugin reads and parses the statistics page of Ascent, a
280free and open-source server software for the game World of Warcraft by
281Blizzard Entertainment.
5e965dc7
PG
282
283%package battery
284Summary: battery plugin for collectd
e3cf1862 285Summary(pl.UTF-8): Wtyczka battery dla collectd
5e965dc7
PG
286Group: Daemons
287Requires: %{name} = %{version}-%{release}
288
289%description battery
290This plugin collects the battery's charge, the drawn current and the
291battery's voltage.
292
b8e7f76a
PG
293%package bind
294Summary: bind plugin for collectd
e3cf1862 295Summary(pl.UTF-8): Wtyczka bind dla collectd
b8e7f76a
PG
296Group: Daemons
297Requires: %{name} = %{version}-%{release}
298
299%description bind
daff3c99
ER
300Starting with BIND 9.5.0, the most widely used DNS server software
301provides extensive statistics about queries, responses and lots of
302other information. The bind plugin retrieves this information that's
303encoded in XML and provided via HTTP and submits the values to
304collectd.
b8e7f76a 305
133ab397 306%package collection
30751942 307Summary: Web script for collectd
e3cf1862 308Summary(pl.UTF-8): Web script for collectd
5fafedfc 309Group: Applications/WWW
310Requires: %{name} = %{version}-%{release}
cdf53ab5
PG
311Requires: perl(CGI)
312Requires: perl(Data::Dumper)
313Requires: perl(HTML::Entities)
314Requires: perl(RRDs)
315Requires: perl(URI::Escape)
316Requires: webserver(cgi)
16598688 317Suggests: fonts-TTF-DejaVu
197c4197 318Conflicts: apache-base < 2.4.0-1
5fafedfc 319
133ab397 320%description collection
30751942 321Web script for collectd.
5fafedfc 322
f26b05df 323%package collection3
324Summary: Web script for collectd
e3cf1862 325Summary(pl.UTF-8): Web script for collectd
f26b05df 326Group: Applications/WWW
327Requires: %{name} = %{version}-%{release}
328Requires: perl(Config::General)
329Requires: perl(HTML::Entities)
330Requires: perl(RRDs)
e19086ca
ER
331Requires: perl(Regexp::Common)
332Requires: perl-Collectd = %{version}-%{release}
f26b05df 333Requires: webserver(cgi)
334Suggests: fonts-TTF-DejaVu
197c4197 335Conflicts: apache-base < 2.4.0-1
f26b05df 336
337%description collection3
338Web script for collectd.
339
a9b34e68
PG
340%package contextswitch
341Summary: contextswitch-plugin for collectd
e3cf1862 342Summary(pl.UTF-8): Wtyczka contextswitch dla collectd
a9b34e68
PG
343Group: Daemons
344Requires: %{name} = %{version}-%{release}
345
346%description contextswitch
854e23ef
AF
347The ContextSwitch plugin collects the number of context switches done
348by the operating system.
a9b34e68 349
d94da88b 350%package conntrack
351Summary: conntrack-plugin for collectd
e3cf1862 352Summary(pl.UTF-8): Wtyczka conntrack dla collectd
d94da88b 353Group: Daemons
354Requires: %{name} = %{version}-%{release}
355
356%description conntrack
357The conntrack-plugin collects the connection tracking table size.
358
5e965dc7
PG
359%package cpu
360Summary: cpu-plugin for collectd
e3cf1862 361Summary(pl.UTF-8): Wtyczka cpu dla collectd
5e965dc7
PG
362Group: Daemons
363Requires: %{name} = %{version}-%{release}
364
365%description cpu
daff3c99
ER
366The cpu-plugin collects the amount of time spent by the CPU in various
367states, most notably executing user code, executing system code,
368waiting for IO operations and being idle.
5e965dc7
PG
369
370%package cpufreq
371Summary: cpufreq-plugin for collectd
e3cf1862 372Summary(pl.UTF-8): Wtyczka cpufreq dla collectd
5e965dc7
PG
373Group: Daemons
374Requires: %{name} = %{version}-%{release}
375
376%description cpufreq
377Collects the current CPU's frequency, mostly for mobile computers.
378
379%package csv
380Summary: CSV output plugin for collectd
e3cf1862 381Summary(pl.UTF-8): Wtyczka wyjściowa CSV dla collectd
5e965dc7
PG
382Group: Daemons
383Requires: %{name} = %{version}-%{release}
384
385%description csv
386CSV output plugin for collectd.
387
b8e7f76a
PG
388%package curl
389Summary: cURL output plugin for collectd
e3cf1862 390Summary(pl.UTF-8): Wtyczka wyjściowa cURL dla collectd
b8e7f76a
PG
391Group: Daemons
392Requires: %{name} = %{version}-%{release}
393
394%description curl
395The curl plugin uses the libcurl to read web pages and the match
396infrastructure (the same code used by the tail plugin) to use regular
397expressions with the received data.
398
854e23ef
AF
399%package curl_json
400Summary: cURL JSON plugin for collectd
401Summary(pl.UTF-8): Wtyczka cURL JSON dla collectd
402Group: Daemons
403Requires: %{name} = %{version}-%{release}
404
405%description curl_json
406The cURL-JSON plugin queries JavaScript Object Notation (JSON) data
407using the cURL library and parses it according to the user's
408configuration using Yet Another JSON Library (YAJL). This can be used
409to query statistics information from a CouchDB instance, for example.
410
b8e7f76a
PG
411%package dbi
412Summary: dbi plugin for collectd
e3cf1862 413Summary(pl.UTF-8): Wtyczka dbi dla collectd
b8e7f76a
PG
414Group: Daemons
415Requires: %{name} = %{version}-%{release}
416
417%description dbi
daff3c99
ER
418This plugin uses the dbi library to connect to various databases,
419execute SQL statements and read back the results. dbi is an acronym
420for "database interface" in case you were wondering about the name.
421You can configure how each column is to be interpreted and the plugin
422will generate one or more data sets from each row returned according
423to these rules.
b8e7f76a 424
5e965dc7
PG
425%package df
426Summary: df-plugin for collectd
e3cf1862 427Summary(pl.UTF-8): Wtyczka df dla collectd
5e965dc7
PG
428Group: Daemons
429Requires: %{name} = %{version}-%{release}
430
431%description df
daff3c99
ER
432The df-plugin collects file system usage information, i. e. basically
433how much space on a mounted partition is used and how much is
434available. It's named after and very similar to the df(1) UNIX command
435that's been around forever.
5e965dc7
PG
436
437%package disk
438Summary: disk-plugin for collectd
e3cf1862 439Summary(pl.UTF-8): Wtyczka disk dla collectd
5e965dc7
PG
440Group: Daemons
441Requires: %{name} = %{version}-%{release}
442
443%description disk
444This plugin collects performance statistics of harddisks and, where
445supported, partitions.
446
8bf13ddb
PG
447%package dns
448Summary: dns-plugin for collectd
e3cf1862 449Summary(pl.UTF-8): Wtyczka dns dla collectd
8bf13ddb
PG
450Group: Daemons
451Requires: %{name} = %{version}-%{release}
3a1b5393 452Requires: perl-rrdtool
ef79d9ea 453
8bf13ddb 454%description dns
daff3c99
ER
455This plugin has a similar functionality to dnstop: It uses libpcap to
456get a copy of all traffic from/to port UDP/53 (that's the DNS port),
457interprets the packets and collects statistics of your DNS traffic.
5e965dc7
PG
458
459%package email
460Summary: email-plugin for collectd
e3cf1862 461Summary(pl.UTF-8): Wtyczka email dla collectd
5e965dc7
PG
462Group: Daemons
463Requires: %{name} = %{version}-%{release}
464
465%description email
466The email plugin opens an UNIX-socket over which one can submit email
daff3c99
ER
467statistics, such as the number of ``ham'', ``spam'', ``virus'', etc.
468mails received/handled, spam scores and matched spam checks.
5e965dc7
PG
469
470This plugin is intended to be used with the the
daff3c99
ER
471Mail::SpamAssassin::Plugin::Collectd manpage SpamAssassin-plugin which
472is included in contrib/, but is of course not limited to that use.
5e965dc7
PG
473
474%package entropy
475Summary: entropy-plugin for collectd
e3cf1862 476Summary(pl.UTF-8): Wtyczka entropy dla collectd
5e965dc7
PG
477Group: Daemons
478Requires: %{name} = %{version}-%{release}
479
480%description entropy
854e23ef
AF
481The Entropy plugin collects the available entropy on a system. Entropy
482is important to generate random numbers, which are used for
483encryption, authorization and similar tasks.
5e965dc7 484
cc6085e4 485%package ethstat
486Summary: ethstat-plugin for collectd
487Summary(pl.UTF-8): Wyczka ethstat dla collectd
488Group: Daemons
489Requires: %{name} = %{version}-%{release}
490
491%description ethstat
492The ethstat plugin reads performance statistics directly from ethernet
493cards
494
5e965dc7
PG
495%package exec
496Summary: exec-plugin for collectd
e3cf1862 497Summary(pl.UTF-8): Wtyczka exec dla collectd
5e965dc7
PG
498Group: Daemons
499Requires: %{name} = %{version}-%{release}
500
501%description exec
502The exec plugin forks of an executable either to receive values or to
503dispatch notifications to the outside world.
504
505%package filecount
506Summary: filecount-plugin for collectd
e3cf1862 507Summary(pl.UTF-8): Wtyczka filecount dla collectd
5e965dc7
PG
508Group: Daemons
509Requires: %{name} = %{version}-%{release}
510
511%description filecount
daff3c99
ER
512The filecount-plugin does something very simple: Count the number of
513files in a directory and all its subdirectories. This can be used for
514a variety of statistics, for example the queue length of an MTA, the
515number of PHP sessions of a web server or simply the number of files
516in your home directory.
8bf13ddb 517
d94da88b 518%package fscache
519Summary: fscache-plugin for collectd
e3cf1862 520Summary(pl.UTF-8): Wtyczka fscache dla collectd
d94da88b 521Group: Daemons
522Requires: %{name} = %{version}-%{release}
523
524%description fscache
daff3c99
ER
525The fscache-plugin collects statistics about Linux file-system based
526caching framework.
d94da88b 527
8bf13ddb
PG
528%package hddtemp
529Summary: hddtemp-plugin for collectd
e3cf1862 530Summary(pl.UTF-8): Wtyczka hddtemp dla collectd
8bf13ddb
PG
531Group: Daemons
532Requires: %{name} = %{version}-%{release}
b73c1be9 533Suggests: hddtemp-hddtempd
8bf13ddb
PG
534
535%description hddtemp
daff3c99
ER
536Temperature of harddisks. The temperatures are provided via S.M.A.R.T.
537and queried by the external hddtemp-daemon.
5e965dc7
PG
538
539%package interface
540Summary: interface-plugin for collectd
e3cf1862 541Summary(pl.UTF-8): Wtyczka interface dla collectd
5e965dc7
PG
542Group: Daemons
543Requires: %{name} = %{version}-%{release}
544
545%description interface
daff3c99
ER
546The interface-plugin collects information about the traffic (octets),
547packets and errors of interfaces.
5e965dc7
PG
548
549%package iptables
550Summary: iptables-plugin for collectd
e3cf1862 551Summary(pl.UTF-8): Wtyczka iptables dla collectd
5e965dc7
PG
552Group: Daemons
553Requires: %{name} = %{version}-%{release}
554
555%description iptables
556With this plugin you can gather statistics from your ip_tables based
daff3c99
ER
557packetfilter (aka. firewall). It can collect the byte- and
558packet-counters of selected rules and submit them to collectd. You can
559select rules that should be collected wither by its position (e.g.
560"the fourth rule in the INPUT queue in the filter table") or by its
561comment (using the COMMENT match). This means that depending on your
562firewall layout you can collect certain services (such as the amount
563of web-traffic), source or destination hosts or networks, dropped
564packets and much more.
8bf13ddb 565
87ba198e 566%package ipmi
567Summary: ipmi-plugin for collectd
e3cf1862 568Summary(pl.UTF-8): Wtyczka ipmi dla collectd
87ba198e 569Group: Daemons
570Requires: %{name} = %{version}-%{release}
571
572%description ipmi
854e23ef
AF
573The IPMI plugin uses the OpenIPMI library to read hardware sensors
574from servers using the Intelligent Platform Management Interface
575(IPMI). IPMI is very common with server hardware but usually not
576available in consumer hardware.
34fc103e 577
5e965dc7
PG
578%package irq
579Summary: IRQs-plugin for collectd
e3cf1862 580Summary(pl.UTF-8): Wtyczka IRQs dla collectd
5e965dc7
PG
581Group: Daemons
582Requires: %{name} = %{version}-%{release}
583
584%description irq
854e23ef
AF
585The IRQ plugin collects the number of times each interrupt has been
586handled by the operating system.
5e965dc7 587
7a3b7a2c
AF
588%package libvirt
589Summary: libvirt-plugin for collectd
590Summary(pl.UTF-8): Wtyczka libvirt dla collectd
591Group: Daemons
592Requires: %{name} = %{version}-%{release}
593
594%description libvirt
595The libvirt plugin uses the virtualization API libvirt, created by
596RedHat's Emerging Technology group, to gather statistics about
597virtualized guests on a system. This way, you can collect CPU, network
598interface and block device usage for each guest without installing
599collectd on the guest systems. Because the statistics are received
600from the hypervisor directly, this works not only with
601para-virtualized hosts, but with hardware virtualized machines, too.
602
5e965dc7
PG
603%package load
604Summary: load-plugin for collectd
e3cf1862 605Summary(pl.UTF-8): Wtyczka load dla collectd
5e965dc7
PG
606Group: Daemons
607Requires: %{name} = %{version}-%{release}
608
609%description load
610Collects the system load. These numbers give a rough overview over the
611utilization of a machine, though their meaning is mostly overrated.
612
613%package logfile
614Summary: logfile-plugin for collectd
e3cf1862 615Summary(pl.UTF-8): Wtyczka logfile dla collectd
5e965dc7
PG
616Group: Daemons
617Requires: %{name} = %{version}-%{release}
618
619%description logfile
854e23ef
AF
620The LogFile plugin receives log messages from the daemon and writes
621them to a text file.
a9b34e68
PG
622
623%package madwifi
624Summary: madwifi plugin for collectd
e3cf1862 625Summary(pl.UTF-8): Wtyczka madwifi dla collectd
a9b34e68
PG
626Group: Daemons
627Requires: %{name} = %{version}-%{release}
628
629%description madwifi
854e23ef
AF
630The MadWifi plugin collects information about Atheros wireless LAN
631chipsets from the MadWifi driver. It uses the /sys filesystem to
632identify cards handled by this driver automatically but can be
633configured manually, too. Because very many statistics are available,
634an advanced selection mechanism is provided.
a9b34e68
PG
635
636%package match_empty_counter
637Summary: match_empty_counter plugin for collectd
e3cf1862 638Summary(pl.UTF-8): Wtyczka match_empty_counter dla collectd
a9b34e68
PG
639Group: Daemons
640Requires: %{name} = %{version}-%{release}
641
642%description match_empty_counter
854e23ef
AF
643Empty Counter match matches value lists, where at least one data
644source is of type COUNTER and the counter value of all counter data
645sources is zero.
a9b34e68
PG
646
647%package match_hashed
648Summary: match_hashed plugin for collectd
e3cf1862 649Summary(pl.UTF-8): Wtyczka match_hashed dla collectd
a9b34e68
PG
650Group: Daemons
651Requires: %{name} = %{version}-%{release}
652
653%description match_hashed
654match_hashed plugin for collectd - match for simple load balancing and
655redundant storage.
5e965dc7 656
b8e7f76a
PG
657%package match_regex
658Summary: match_regex plugin for collectd
e3cf1862 659Summary(pl.UTF-8): Wtyczka match_regex dla collectd
b8e7f76a
PG
660Group: Daemons
661Requires: %{name} = %{version}-%{release}
662
663%description match_regex
664match_regex plugin for collectd.
665
666%package match_timediff
667Summary: match_timediff plugin for collectd
e3cf1862 668Summary(pl.UTF-8): Wtyczka match_timediff dla collectd
b8e7f76a
PG
669Group: Daemons
670Requires: %{name} = %{version}-%{release}
671
672%description match_timediff
673match_timediff plugin for collectd.
674
675%package match_value
676Summary: match_value plugin for collectd
e3cf1862 677Summary(pl.UTF-8): Wtyczka match_value dla collectd
b8e7f76a
PG
678Group: Daemons
679Requires: %{name} = %{version}-%{release}
680
681%description match_value
682match_value plugin for collectd.
683
5e965dc7 684%package mbmon
b8e7f76a 685Summary: mbmon plugin for collectd
e3cf1862 686Summary(pl.UTF-8): Wtyczka mbmon dla collectd
5e965dc7
PG
687Group: Daemons
688Requires: %{name} = %{version}-%{release}
689
690%description mbmon
691The mbmon plugin uses mbmon to retrieve temperature, voltage, etc.
692
cc6085e4 693%package md
694Summary: md plugin for collectd
695Summary(pl.UTF-8): Wtyczka md dla collectd
696Group: Daemons
697Requires: %{name} = %{version}-%{release}
698
699%description md
700The md plugin reports the number of disks in various states in Linux
701software RAID devices.
702
9987a2c5
PG
703%package memcachec
704Summary: memcachec-plugin for collectd
e3cf1862 705Summary(pl.UTF-8): Wtyczka memcachec dla collectd
9987a2c5
PG
706Group: Daemons
707Requires: %{name} = %{version}-%{release}
708
709%description memcachec
854e23ef
AF
710The memcachec plugin connects to a memcached server, queries one or
711more given pages and parses the returned data according to user
712specification. The matches used are similar to the matches used in the
713cURL and Tail plugins.
9987a2c5 714
5e965dc7
PG
715%package memcached
716Summary: memcached-plugin for collectd
e3cf1862 717Summary(pl.UTF-8): Wtyczka memcached dla collectd
5e965dc7
PG
718Group: Daemons
719Requires: %{name} = %{version}-%{release}
720
721%description memcached
daff3c99
ER
722The memcached plugin connects to a memcached daemon and collects the
723number of connections and requests handled by the daemon, the CPU
724resources consumed, number of items cached, number of threads, and
725bytes sent and received.
5e965dc7
PG
726
727%package memory
728Summary: memory-plugin for collectd
e3cf1862 729Summary(pl.UTF-8): Wtyczka memory dla collectd
5e965dc7
PG
730Group: Daemons
731Requires: %{name} = %{version}-%{release}
732
733%description memory
734Collects physical memory utilization for collectd.
735
b46e10b6 736%package modbus
737Summary: modbus-plugin for collectd
738Summary(pl.UTF-8): Wtyczka modbus dla collectd
739Group: Daemons
740Requires: %{name} = %{version}-%{release}
741
742%description modbus
743The Modbus plugin connects to a Modbus "slave" via Modbus/TCP and
e19086ca
ER
744reads register values. It supports reading single registers (unsigned
74516 bit values), large integer values (unsigned 32 bit values) and
b46e10b6 746floating point values (two registers interpreted as IEEE floats in big
e19086ca 747endian notation).
b46e10b6 748
5e965dc7
PG
749%package multimeter
750Summary: multimeter-plugin for collectd
e3cf1862 751Summary(pl.UTF-8): Wtyczka multimeter dla collectd
5e965dc7
PG
752Group: Daemons
753Requires: %{name} = %{version}-%{release}
754
755%description multimeter
854e23ef
AF
756The Multimeter plugin reads a value (usually a voltage or current)
757from a multimeter connected to a serial bus. The plugin tries
758/dev/ttyS0-9 in order to find a multimeter – no configuration is
759possible.
a9b34e68
PG
760
761The multimeter used for development was a Metex M-4650CR.
5e965dc7 762
18e77dbc 763%package mysql
273ffc81 764Summary: mysql-plugin for collectd
e3cf1862 765Summary(pl.UTF-8): Moduł mysql dla collectd.
18e77dbc 766Group: Daemons
273ffc81 767Requires: %{name} = %{version}-%{release}
e00e3af9 768Requires: mysql-client
18e77dbc 769
770%description mysql
273ffc81 771MySQL querying plugin. This plugins provides data of issued commands,
18e77dbc 772called handlers and database traffic.
773
774%description mysql -l pl.UTF-8
273ffc81
JB
775Moduł odpytujący MySQL. Wtyczka udostępnia dane o wydawanych
776poleceniach, wywoływanych procedurach obsługi i ruchu bazodanowym.
18e77dbc 777
5e965dc7
PG
778%package netlink
779Summary: netlink-plugin for collectd
e3cf1862 780Summary(pl.UTF-8): Wtyczka netlink dla collectd
5e965dc7
PG
781Group: Daemons
782Requires: %{name} = %{version}-%{release}
783
784%description netlink
daff3c99
ER
785This plugin will open a netlink socket to the Linux kernel and use it
786to get statistics for interfaces, qdiscs, classes, and, if you can
787make use of it, filters. Since in most setups many of the statistics
788this plugin can collect aren't of interest, you can select which
789information to gather using the configuration.
5e965dc7
PG
790
791%package network
792Summary: network-plugin for collectd
e3cf1862 793Summary(pl.UTF-8): Wtyczka network dla collectd
5e965dc7
PG
794Group: Daemons
795Requires: %{name} = %{version}-%{release}
796
797%description network
854e23ef
AF
798The Network plugin can send values to other instances and receive
799values from other %{name} instances.
5e965dc7
PG
800
801%package nfs
802Summary: NFS-plugin for collectd
e3cf1862 803Summary(pl.UTF-8): Wtyczka NFS dla collectd
5e965dc7
PG
804Group: Daemons
805Requires: %{name} = %{version}-%{release}
806
807%description nfs
daff3c99
ER
808The nfs plugin counts the number of procedure calls of the different
809NFS procedures.
5e965dc7 810
8bf13ddb
PG
811%package nginx
812Summary: nginx-plugin for collectd
e3cf1862 813Summary(pl.UTF-8): Wtyczka nginx dla collectd
8bf13ddb
PG
814Group: Daemons
815Requires: %{name} = %{version}-%{release}
816
817%description nginx
daff3c99
ER
818This plugin collects the number of connections and requests handled by
819the nginx daemon, a HTTP and mail server/proxy. It queries the page
820provided by the ngx_http_stub_status_module module, which isn't
821compiled by default.
8bf13ddb 822
7be39ce7 823%package notify_desktop
824Summary: notify_desktop for collectd
e3cf1862 825Summary(pl.UTF-8): Wtyczka notify_desktop dla collectd
7be39ce7 826Group: Daemons
827Requires: %{name} = %{version}-%{release}
6af07819 828Requires: dbus(org.freedesktop.Notifications)
7be39ce7 829
830%description notify_desktop
5e965dc7 831This plugin sends a desktop notification to a notification daemon, as
6af07819 832defined in the Desktop Notification Specification.
7be39ce7 833
b4b27e4a 834%package notify_email
5e965dc7 835Summary: notify_email-plugin for collectd
e3cf1862 836Summary(pl.UTF-8): Wtyczka notify_email dla collectd
b4b27e4a
PG
837Group: Daemons
838Requires: %{name} = %{version}-%{release}
839
840%description notify_email
854e23ef
AF
841The Notify Email plugin uses libESMTP to send notifications to a
842configured email address(es).
b4b27e4a 843
5e965dc7
PG
844%package ntpd
845Summary: ntpd-plugin for collectd
e3cf1862 846Summary(pl.UTF-8): Wtyczka ntpd dla collectd
5e965dc7
PG
847Group: Daemons
848Requires: %{name} = %{version}-%{release}
849
850%description ntpd
a9b34e68
PG
851The NTPd plugin queries an NTP server (usually the local one, where
852statistics access is allowed) and extracts :
853- "local" clock parameters: time offset, error and offset loop,
854e23ef
AF
854- parameters for each NTP server used to sync time: offset,
855 dispersion, delay.
5e965dc7 856
cc6085e4 857%package numa
858Summary: numa-plugin for collectd
859Summary(pl.UTF-8): Wtyczka numa dla collectd
860Group: Daemons
861Requires: %{name} = %{version}-%{release}
862
863%description numa
e19086ca
ER
864The numa plugin reports statistics of the Non-Uniform Memory Access
865(NUMA) subsystem of Linux.
cc6085e4 866
b4b27e4a
PG
867%package nut
868Summary: nut-plugin for collectd
e3cf1862 869Summary(pl.UTF-8): Wtyczka nut dla collectd
b4b27e4a
PG
870Group: Daemons
871Requires: %{name} = %{version}-%{release}
872
873%description nut
5e965dc7 874UPS statistics using the Network UPS Tools. These statistics include
daff3c99
ER
875basically everything NUT will give us, including voltages, currents,
876power, frequencies, load, and temperatures.
b4b27e4a 877
a9b34e68
PG
878%package olsrd
879Summary: olsrd plugin for collectd
e3cf1862 880Summary(pl.UTF-8): Wtyczka olsrd dla collectd
a9b34e68
PG
881Group: Daemons
882Requires: %{name} = %{version}-%{release}
a9b34e68
PG
883
884%description olsrd
854e23ef
AF
885The olsrd plugin reads information about meshed networks from the
886txtinfo plugin of the Optimized Link State Routing daemon (olsrd).
a9b34e68 887
b8e7f76a
PG
888%package openvpn
889Summary: openvpn plugin for collectd
e3cf1862 890Summary(pl.UTF-8): Wtyczka openvpn dla collectd
b8e7f76a
PG
891Group: Daemons
892Requires: %{name} = %{version}-%{release}
893Requires: openvpn
894
895%description openvpn
daff3c99
ER
896The OpenVPN plugin reads a status file maintained by OpenVPN and
897gathers traffic statistics about connected clients.
b8e7f76a 898
854e23ef
AF
899%package perl
900Summary: perl plugin for collectd
901Summary(pl.UTF-8): Wtyczka perl dla collectd
902Group: Daemons
903Requires: %{name} = %{version}-%{release}
904Requires: perl-Collectd = %{version}-%{release}
905
906%description perl
907The Perl plugin embeds a Perl interpreter into collectd and exposes
908the application programming interface (API) to Perl-scripts. This
909allows to write own plugins in the popular scripting language, which
910are then loaded and executed by the daemon without the need to start a
911new process and interpreter every few seconds. Perl-modules written
912for the Perl plugin are therefore more powerful and efficient than
913scripts executed by the Exec plugin.
914
907cfb56
PG
915%package ping
916Summary: ping-plugin for collectd
e3cf1862 917Summary(pl.UTF-8): Wtyczka ping dla collectd
907cfb56
PG
918Group: Daemons
919Requires: %{name} = %{version}-%{release}
daff3c99 920Requires: liboping >= 1.1.2
907cfb56
PG
921
922%description ping
daff3c99
ER
923The network latency is measured as a roundtrip time. An
924ICMP-echo-request (aka. "ping")is sent to a host and the time needed
925for his echo-reply (aka. "pong") to arrive is measured. If a reply is
926not received within one second the plugin will no longer expect a
927reply and return. This may happen in several circumstances, e. g. the
928packet is lost, the host is down, a router has dismissed the packet,
929etc.
907cfb56 930
b4b27e4a
PG
931%package postgresql
932Summary: mysql-plugin for collectd
e3cf1862 933Summary(pl.UTF-8): Moduł postgresql dla collectd.
b4b27e4a
PG
934Group: Daemons
935Requires: %{name} = %{version}-%{release}
936
937%description postgresql
daff3c99
ER
938The postgresql plugin queries statistics from PostgreSQL databases. It
939keeps a persistent connection to all configured databases and tries to
940reconnect if the connection has been interrupted.
b4b27e4a 941
4b6e34c7 942%package powerdns
943Summary: powerdns-plugin for collectd
e3cf1862 944Summary(pl.UTF-8): Wtyczka powerdns dla collectd
4b6e34c7 945Group: Daemons
946Requires: %{name} = %{version}-%{release}
947
948%description powerdns
5e965dc7 949The powerdns plugin queries statistics from an authoritative PowerDNS
daff3c99
ER
950nameserver and/or a PowerDNS recursor. Since both offer a wide variety
951of values, many of which are probably meaningless to most users, but
952may be useful for some.
5e965dc7
PG
953
954%package processes
955Summary: processes-plugin for collectd
e3cf1862 956Summary(pl.UTF-8): Wtyczka processes dla collectd
5e965dc7
PG
957Group: Daemons
958Requires: %{name} = %{version}-%{release}
959
960%description processes
daff3c99
ER
961This plugin collects the number of processes, grouped by their state
962(e.g. running, sleeping, zombies, etc.). In addition to that, it can
963select detailed statistics about selected processes, grouped by name.
4b6e34c7 964
d94da88b 965%package protocols
966Summary: protocols-plugin for collectd
e3cf1862 967Summary(pl.UTF-8): Wtyczka protocols dla collectd
d94da88b 968Group: Daemons
969Requires: %{name} = %{version}-%{release}
970
971%description protocols
daff3c99
ER
972The protocols-plugin provides information about network protocols,
973such as IP, TCP and UDP.
d94da88b 974
a9b34e68
PG
975%package python
976Summary: python-plugin for collectd
e3cf1862 977Summary(pl.UTF-8): Wtyczka python dla collectd
a9b34e68
PG
978Group: Daemons
979Requires: %{name} = %{version}-%{release}
980
981%description python
854e23ef
AF
982The Python plugin embeds a Python interpreter into collectd and
983exposes the application programming interface (API) to Python-scripts.
984This allows to write own plugins in the popular scripting language,
985which are then loaded and executed by the daemon without the need to
986start a new process and interpreter every few seconds. Python-modules
987written for the Python plugin are therefore more powerful and
988efficient than scripts executed by the Exec plugin.
989
990%package rrdcached
991Summary: rrdcached-plugin for collectd
992Summary(pl.UTF-8): Wtyczka rrdcached dla collectd
993Group: Daemons
994Requires: %{name} = %{version}-%{release}
995
996%description rrdcached
997The rrdcached plugin uses the RRDtool accelerator daemon, rrdcached,
998to store values to RRD files in an efficient manner. The combination
999of the rrdcached plugin and the rrdcached daemon is very similar to
1000the way the rrdtool plugin works.
a9b34e68 1001
8bf13ddb
PG
1002%package rrdtool
1003Summary: rrdtool-plugin for collectd
e3cf1862 1004Summary(pl.UTF-8): Wtyczka rrdtool dla collectd
8bf13ddb
PG
1005Group: Daemons
1006Requires: %{name} = %{version}-%{release}
1007Requires: rrdtool
1008
1009%description rrdtool
a9b34e68 1010The RRDtool plugin writes values to RRD-files using librrd.
8bf13ddb
PG
1011
1012%package sensors
1013Summary: sensors-plugin for collectd
e3cf1862 1014Summary(pl.UTF-8): Wtyczka sensors dla collectd
8bf13ddb
PG
1015Group: Daemons
1016Requires: %{name} = %{version}-%{release}
1017
1018%description sensors
5e965dc7 1019This plugin uses lm-sensors to read hardware sensors. You will need to
daff3c99
ER
1020configure lm-sensors before this plugin will collect any usefull and
1021correct data.
5e965dc7 1022
5e965dc7
PG
1023%package serial
1024Summary: serial-plugin for collectd
e3cf1862 1025Summary(pl.UTF-8): Wtyczka serial dla collectd
5e965dc7
PG
1026Group: Daemons
1027Requires: %{name} = %{version}-%{release}
1028
1029%description serial
a9b34e68 1030The Serial plugin collects the traffic on serial interfaces.
8bf13ddb
PG
1031
1032%package snmp
1033Summary: snmp-plugin for collectd
e3cf1862 1034Summary(pl.UTF-8): Wtyczka snmp dla collectd
8bf13ddb
PG
1035Group: Daemons
1036Requires: %{name} = %{version}-%{release}
1037
1038%description snmp
5e965dc7 1039The snmp plugin queries other hosts using SNMP, the Simple Network
daff3c99
ER
1040Management Protocol, and translates the value it receives to
1041collectd's internal format and dispatches them. Depending on the write
1042plugins you have loaded they may be written to disk or submitted to
1043another instance or whatever you configured.
5e965dc7
PG
1044
1045%package swap
1046Summary: swap-plugin for collectd
e3cf1862 1047Summary(pl.UTF-8): Wtyczka swap dla collectd
5e965dc7
PG
1048Group: Daemons
1049Requires: %{name} = %{version}-%{release}
1050
1051%description swap
854e23ef
AF
1052The Swap plugin collects the amount of memory currently written onto
1053hard disk or whatever the system calls “swap”.
5e965dc7
PG
1054
1055%package syslog
1056Summary: syslog-plugin for collectd
e3cf1862 1057Summary(pl.UTF-8): Wtyczka syslog dla collectd
5e965dc7
PG
1058Group: Daemons
1059Requires: %{name} = %{version}-%{release}
1060
1061%description syslog
a9b34e68
PG
1062The SysLog plugin receives log messages from the daemon and dispatches
1063them to syslog(3).
5e965dc7 1064
d94da88b 1065%package table
1066Summary: table-plugin for collectd
e3cf1862 1067Summary(pl.UTF-8): Wtyczka table dla collectd
d94da88b 1068Group: Daemons
1069Requires: %{name} = %{version}-%{release}
1070
1071%description table
1072The table-plugin provides parsing for table-like structured files,
1073such as many files beneath /proc.
1074
b8e7f76a
PG
1075%package target_notification
1076Summary: target_notification-plugin for collectd
e3cf1862 1077Summary(pl.UTF-8): Wtyczka target_notification dla collectd
b8e7f76a
PG
1078Group: Daemons
1079Requires: %{name} = %{version}-%{release}
1080
1081%description target_notification
1082target_notification plugin for collectd.
1083
1084%package target_replace
1085Summary: target_replace-plugin for collectd
e3cf1862 1086Summary(pl.UTF-8): Wtyczka target_replace dla collectd
b8e7f76a
PG
1087Group: Daemons
1088Requires: %{name} = %{version}-%{release}
1089
1090%description target_replace
1091target_replace plugin for collectd.
1092
a9b34e68
PG
1093%package target_scale
1094Summary: target_scale-plugin for collectd
e3cf1862 1095Summary(pl.UTF-8): Wtyczka target_scale dla collectd
a9b34e68
PG
1096Group: Daemons
1097Requires: %{name} = %{version}-%{release}
1098
1099%description target_scale
1100Target to scale (multiply) values by an arbitrary value.
1101
b8e7f76a
PG
1102%package target_set
1103Summary: target_set-plugin for collectd
e3cf1862 1104Summary(pl.UTF-8): Wtyczka target_set dla collectd
b8e7f76a
PG
1105Group: Daemons
1106Requires: %{name} = %{version}-%{release}
1107
1108%description target_set
1109target_set plugin for collectd.
1110
854e23ef
AF
1111%package target_v5upgrade
1112Summary: target_v5upgrade-plugin for collectd
1113Summary(pl.UTF-8): Wtyczka target_v5upgrade dla collectd
1114Group: Daemons
1115Requires: %{name} = %{version}-%{release}
1116
1117%description target_v5upgrade
1118The v5 upgrade target can be used to upgrade version 4 data to a
1119changed version 5 layout.
1120
5e965dc7
PG
1121%package tail
1122Summary: tail-plugin for collectd
e3cf1862 1123Summary(pl.UTF-8): Wtyczka tail dla collectd
5e965dc7
PG
1124Group: Daemons
1125Requires: %{name} = %{version}-%{release}
1126
1127%description tail
daff3c99
ER
1128The tail-plugin can be used to "tail" logfiles, i.e. follow them as
1129tail -F does. Each line is given to one or more "matches" which test
1130if the line is relevant for any statistics using a regular expression.
5e965dc7
PG
1131
1132%package tcpconns
1133Summary: tcpconns-plugin for collectd
e3cf1862 1134Summary(pl.UTF-8): Wtyczka tcpconns dla collectd
5e965dc7
PG
1135Group: Daemons
1136Requires: %{name} = %{version}-%{release}
1137
1138%description tcpconns
1139The tcpconns-plugin counts the number of TCP connections to or from a
daff3c99
ER
1140specified port. Typically the connectioins where you specify the local
1141port are incoming connections while the connections where you specify
1142the remote port are outgoing connections.
5e965dc7
PG
1143
1144%package teamspeak2
1145Summary: teamspeak2-plugin for collectd
e3cf1862 1146Summary(pl.UTF-8): Wtyczka teamspeak2 dla collectd
5e965dc7
PG
1147Group: Daemons
1148Requires: %{name} = %{version}-%{release}
1149
1150%description teamspeak2
daff3c99
ER
1151The teamspeak2 plugin connects to the query port of a teamspeak2
1152server and polls interesting global and virtual server data. The
1153plugin can query only one physical server but unlimited virtual
1154servers.
5e965dc7 1155
d94da88b 1156%package ted
1157Summary: ted-plugin for collectd
e3cf1862 1158Summary(pl.UTF-8): Wtyczka ted dla collectd
d94da88b 1159Group: Daemons
1160Requires: %{name} = %{version}-%{release}
1161
1162%description ted
daff3c99
ER
1163The TED-plugin reads power consumption measurements from “The Energy
1164Detective” (TED).
d94da88b 1165
5e965dc7
PG
1166%package thermal
1167Summary: thermal-plugin for collectd
e3cf1862 1168Summary(pl.UTF-8): Wtyczka thermal dla collectd
5e965dc7
PG
1169Group: Daemons
1170Requires: %{name} = %{version}-%{release}
1171
1172%description thermal
854e23ef
AF
1173The thermal plugin reads ACPI thermal zone information from the sysfs
1174or procfs file system, i. e. mostly system temperature information.
1175
1176%package threshold
1177Summary: threshold-plugin for collectd
1178Summary(pl.UTF-8): Wtyczka threshold dla collectd
1179Group: Daemons
1180Requires: %{name} = %{version}-%{release}
1181
1182%description threshold
1183threshold-plugin for collectd.
5e965dc7
PG
1184
1185%package unixsock
1186Summary: unixsock-plugin for collectd
e3cf1862 1187Summary(pl.UTF-8): Wtyczka unixsock dla collectd
5e965dc7
PG
1188Group: Daemons
1189Requires: %{name} = %{version}-%{release}
1190
1191%description unixsock
daff3c99
ER
1192The unixsock plugin opens an UNIX-socket over which one can interact
1193with the daemon. This can be used to use the values collected by
1194collectd in other applications, such as monitoring, or submit
1195externally collected values to collectd.
5e965dc7 1196
d94da88b 1197%package uptime
1198Summary: uptime-plugin for collectd
e3cf1862 1199Summary(pl.UTF-8): Wtyczka uptime dla collectd
d94da88b 1200Group: Daemons
1201Requires: %{name} = %{version}-%{release}
1202
1203%description uptime
1204The uptime-plugin can collect the server's uptime.
1205
5e965dc7
PG
1206%package users
1207Summary: users-plugin for collectd
e3cf1862 1208Summary(pl.UTF-8): Wtyczka users dla collectd
5e965dc7
PG
1209Group: Daemons
1210Requires: %{name} = %{version}-%{release}
1211
1212%description users
1213Number of users currently logged in.
8bf13ddb
PG
1214
1215%package uuid
1216Summary: uuid-plugin for collectd
e3cf1862 1217Summary(pl.UTF-8): Wtyczka uuid dla collectd
8bf13ddb
PG
1218Group: Daemons
1219Requires: %{name} = %{version}-%{release}
1220
1221%description uuid
daff3c99
ER
1222This plugin, if loaded, causes the Hostname to be taken from the
1223machine's UUID. The UUID is a universally unique designation for the
1224machine, usually taken from the machine's BIOS. This is most useful if
1225the machine is running in a virtual environment such as Xen, in which
1226case the UUID is preserved across shutdowns and migration.
5e965dc7 1227
854e23ef
AF
1228%package varnish
1229Summary: varnish-plugin for collectd
1230Summary(pl.UTF-8): Wtyczka varnish dla collectd
1231Group: Daemons
1232Requires: %{name} = %{version}-%{release}
1233
1234%description varnish
1235The Varnish plugin collects information about Varnish, an HTTP
1236accelerator.
1237
5e965dc7
PG
1238%package vmem
1239Summary: vmem-plugin for collectd
e3cf1862 1240Summary(pl.UTF-8): Wtyczka vmem dla collectd
5e965dc7
PG
1241Group: Daemons
1242Requires: %{name} = %{version}-%{release}
1243
1244%description vmem
daff3c99
ER
1245The vmem plugin collects information about the usage of virtual
1246memory. Since the statistics provided by the Linux kernel are very
1247detailed, they are collected very detailed.
5e965dc7
PG
1248
1249%package vserver
1250Summary: vserver-plugin for collectd
e3cf1862 1251Summary(pl.UTF-8): Wtyczka vserver dla collectd
5e965dc7
PG
1252Group: Daemons
1253Requires: %{name} = %{version}-%{release}
1254
1255%description vserver
daff3c99
ER
1256Collects information about the virtual servers running on a system,
1257using Linux-Vserver.
5e965dc7 1258
cc6085e4 1259%package write_graphite
1260Summary: write_graphite-plugin for collectd
1261Summary(pl.UTF-8): wtyczka write_graphite dla collectd
1262Group: Daemons
1263Requires: %{name} = %{version}-%{release}
1264
1265%description write_graphite
1266The Write Graphite plugin stores values in Carbon, the storage layer
e19086ca
ER
1267of Graphite. The plugin aims to be very efficient. It keeps the TCP
1268connection to Carbon open in order to minimize the connection
1269handshake overhead. It buffers the data in a buffer to send many lines
1270at once, rather than generating lots of small network packets. The
1271size of this buffer (1428 bytes) is dimensioned so that the buffer as
1272well as the TCP and IP header fit into one Ethernet frame and can
1273(hopefully) be delivered without fragmentation.
cc6085e4 1274
a9b34e68
PG
1275%package write_http
1276Summary: write_http-plugin for collectd
e3cf1862 1277Summary(pl.UTF-8): Wtyczka write_http dla collectd
a9b34e68
PG
1278Group: Daemons
1279Requires: %{name} = %{version}-%{release}
1280
1281%description write_http
1282The Write HTTP plugin sends the values collected by collectd to a
1283web-server using HTTP POST requests. The data is formatted as PUTVAL
1284commands.
1285
5e965dc7
PG
1286%package wireless
1287Summary: wireless-plugin for collectd
e3cf1862 1288Summary(pl.UTF-8): Wtyczka wireless dla collectd
5e965dc7
PG
1289Group: Daemons
1290Requires: %{name} = %{version}-%{release}
1291
1292%description wireless
a9b34e68
PG
1293The Wireless plugin collects signal quality, signal power and
1294signal-to-noise ratio for wireless LAN cards.
8bf13ddb
PG
1295
1296%package xmms
1297Summary: xmms-plugin for collectd
e3cf1862 1298Summary(pl.UTF-8): Wtyczka xmms dla collectd
8bf13ddb
PG
1299Group: Daemons
1300Requires: %{name} = %{version}-%{release}
8bf13ddb
PG
1301
1302%description xmms
a9b34e68
PG
1303The XMMS plugin is a plugin for the XMMS music player. It graphs the
1304bit-rate and sampling rate as you play songs. Not really useful, just
1305something that got written because we can.
8bf13ddb 1306
f26b05df 1307%package -n perl-Collectd
1308Summary: Perl files from Collectd package
1309Group: Daemons
1310
1311%description -n perl-Collectd
1312Perl files from Collectd package
1313
373d486f
AF
1314%prep
1315%setup -q
cdf53ab5 1316%patch0 -p1
537d5e17 1317%patch2 -p1
633e4a51 1318
373d486f 1319%build
633e4a51 1320%{__libtoolize} --ltdl
373d486f
AF
1321%{__aclocal}
1322%{__autoconf}
1323%{__autoheader}
1324%{__automake}
4b6e34c7 1325
373d486f 1326%configure \
854e23ef 1327 CPPFLAGS="-Wno-unused-but-set-variable" \
537d5e17 1328 c_cv_have_libperl=yes \
1bc16d55 1329 --with-libiptc=/usr \
373d486f
AF
1330 --with-libstatgrab=/usr \
1331 --with-lm-sensors=/usr \
4b6e34c7 1332 --with-libmysql=/usr \
537d5e17
AF
1333 --enable-perl \
1334 %{__enable_disable dns} \
1335 %{__enable_disable ipmi} \
1336 %{__enable_disable iptables} \
6e075de8 1337 %{__with_without java} \
537d5e17
AF
1338 %{__enable_disable multimeter} \
1339 %{__enable_disable mysql} \
1340 %{__enable_disable netlink} \
1341 %{__enable_disable notify notify_desktop} \
1342 %{__enable_disable libesmtp notify_email} \
b46e10b6 1343 %{__enable_disable modbus } \
7a3b7a2c 1344 %{__enable_disable libvirt} \
537d5e17
AF
1345 %{__enable_disable ups nut} \
1346 %{__enable_disable ping} \
1347 %{__enable_disable pgsql postgresql} \
1348 %{__enable_disable rrd rrdtool} \
1349 %{__enable_disable sensors} \
1350 %{__enable_disable snmp} \
1351 %{__enable_disable xmms} \
854e23ef 1352 %{__enable_disable varnish} \
537d5e17
AF
1353 %{__enable_disable curl} \
1354 %{__enable_disable curl apache} \
1355 %{__enable_disable curl ngix} \
1356 %{__enable_disable curl ascent} \
1357 %{__disable curl ascent} \
1358 %{__disable curl bind} \
1359 %{__disable xml ascent} \
1360 %{__disable xml bind} \
537d5e17 1361 --disable-ipvs
4b6e34c7 1362
1363
633e4a51 1364%{__make} -j1 LDFLAGS="%{rpmldflags} -lstatgrab" \
87ba198e 1365 BUILD_WITH_OPENIPMI_CFLAGS="-I/usr/include" \
f26b05df 1366 BUILD_WITH_OPENIPMI_LIBS="-L%{_libdir} -lOpenIPMIutils -lOpenIPMIpthread"
373d486f
AF
1367
1368%install
1369rm -rf $RPM_BUILD_ROOT
711f12a6 1370install -d $RPM_BUILD_ROOT{%{_var}/{log/,lib/%{name}},/etc/{rc.d/init.d/,collectd.d}} \
f6678d00 1371 $RPM_BUILD_ROOT{%{_appdir}/cgi-bin,%{_webappdir},%{_pkglibdir},%{perl_vendorlib}/,%{_mandir}/man3}
373d486f
AF
1372
1373%{__make} install \
1374 DESTDIR=$RPM_BUILD_ROOT
81857fc6 1375
e105712e 1376touch $RPM_BUILD_ROOT%{_var}/log/collectd.log
ff0d0ea0 1377install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
373d486f 1378
96376a8d
PG
1379# Web frontend:
1380install contrib/collection.conf $RPM_BUILD_ROOT%{_webappdir}
1381install contrib/collection.cgi $RPM_BUILD_ROOT%{_appdir}/cgi-bin
197c4197 1382install %{SOURCE5} $RPM_BUILD_ROOT%{_webappdir}/apache.conf
96376a8d 1383install %{SOURCE3} $RPM_BUILD_ROOT%{_webappdir}/httpd.conf
cdf53ab5 1384install %{SOURCE4} $RPM_BUILD_ROOT%{_webappdir}/lighttpd.conf
96376a8d 1385
f26b05df 1386cp -R contrib/collection3 $RPM_BUILD_ROOT%{_appdir}
f6678d00
PG
1387mv $RPM_BUILD_ROOT%{_appdir}/collection3/etc/collection.conf $RPM_BUILD_ROOT%{_webappdir}/collection3.conf
1388ln -sf %{_webappdir}/collection3.conf $RPM_BUILD_ROOT%{_appdir}/collection3/etc/collection.conf
1389sed -i -e 's@#DataDir "/var/lib/collectd/rrd"@DataDir "%{_var}/lib/%{name}"@' $RPM_BUILD_ROOT%{_webappdir}/collection3.conf
f26b05df 1390
711f12a6 1391### Configs instalation ###
b8e7f76a
PG
1392for i in `egrep "^(#|)LoadPlugin" src/collectd.conf |awk '{print $NF}' ` ; do
1393 egrep "LoadPlugin $i$" src/collectd.conf | %{__sed} -e "s/^#//" > $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/$i.conf
4929f1a7 1394 grep -v LoadPlugin src/collectd.conf |%{__sed} -e '/./{H;$!d;}' -e "x;/ $i>/!d;" >> $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/$i.conf
cbe0cde9 1395done
1396
711f12a6
PG
1397# Example config in sources: src/collectd.conf
1398install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.conf
4929f1a7
PG
1399
1400# Overwrite only files which we want to change:
1401install %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/df.conf
1402install %{SOURCE11} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.d/rrdtool.conf
711f12a6 1403
f26b05df 1404mv $RPM_BUILD_ROOT%{_datadir}/perl5/Collectd* $RPM_BUILD_ROOT%{perl_vendorlib}/
f6678d00 1405mv $RPM_BUILD_ROOT/usr/man/man3/Collectd::Unixsock.3pm $RPM_BUILD_ROOT%{_mandir}/man3/
f26b05df 1406
96376a8d
PG
1407# Cleanups:
1408rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
1409
373d486f
AF
1410%clean
1411rm -rf $RPM_BUILD_ROOT
1412
81857fc6 1413%post
373d486f
AF
1414/sbin/chkconfig --add %{name}
1415%service %{name} restart
1416
81857fc6 1417%preun
373d486f
AF
1418if [ "$1" = "0" ]; then
1419 %service -q %{name} stop
1420 /sbin/chkconfig --del %{name}
1421fi
1422
b8e7f76a
PG
1423%post libs -p /sbin/ldconfig
1424%postun libs -p /sbin/ldconfig
1425
bed4848f
PG
1426%define module_scripts() \
1427%post %1 \
1428%service %{name} restart \
1429\
1430%postun %1 \
1431%service %{name} restart
1432
0e2c8900 1433%module_scripts apache
5e965dc7 1434%module_scripts apcups
0e2c8900 1435%module_scripts ascent
5e965dc7 1436%module_scripts battery
0e2c8900 1437%module_scripts bind
a9b34e68 1438%module_scripts contextswitch
d94da88b 1439%module_scripts conntrack
5e965dc7 1440%module_scripts cpu
d94da88b 1441%module_scripts cpufreq
5e965dc7 1442%module_scripts csv
0e2c8900 1443%module_scripts curl
854e23ef 1444%module_scripts curl_json
b8e7f76a 1445%module_scripts dbi
5e965dc7
PG
1446%module_scripts df
1447%module_scripts disk
0e2c8900 1448%module_scripts dns
5e965dc7
PG
1449%module_scripts email
1450%module_scripts entropy
cc6085e4 1451%module_scripts ethstat
5e965dc7
PG
1452%module_scripts exec
1453%module_scripts filecount
d94da88b 1454%module_scripts fscache
bed4848f 1455%module_scripts hddtemp
5e965dc7 1456%module_scripts interface
0e2c8900
TP
1457%module_scripts ipmi
1458%module_scripts iptables
5e965dc7 1459%module_scripts irq
7a3b7a2c 1460%module_scripts libvirt
5e965dc7
PG
1461%module_scripts load
1462%module_scripts logfile
a9b34e68
PG
1463%module_scripts madwifi
1464%module_scripts match_empty_counter
1465%module_scripts match_hashed
b8e7f76a
PG
1466%module_scripts match_regex
1467%module_scripts match_timediff
1468%module_scripts match_value
5e965dc7 1469%module_scripts mbmon
cc6085e4 1470%module_scripts md
9987a2c5 1471%module_scripts memcachec
5e965dc7
PG
1472%module_scripts memcached
1473%module_scripts memory
0e2c8900
TP
1474%module_scripts multimeter
1475%module_scripts mysql
1476%module_scripts netlink
5e965dc7
PG
1477%module_scripts network
1478%module_scripts nfs
0e2c8900
TP
1479%module_scripts nginx
1480%module_scripts notify_desktop
1481%module_scripts notify_email
5e965dc7 1482%module_scripts ntpd
cc6085e4 1483%module_scripts numa
0e2c8900 1484%module_scripts nut
a9b34e68 1485%module_scripts olsrd
b8e7f76a 1486%module_scripts openvpn
854e23ef 1487%module_scripts perl
0e2c8900
TP
1488%module_scripts ping
1489%module_scripts postgresql
bed4848f 1490%module_scripts powerdns
5e965dc7 1491%module_scripts processes
d94da88b 1492%module_scripts protocols
a9b34e68 1493%module_scripts python
854e23ef 1494%module_scripts rrdcached
0e2c8900
TP
1495%module_scripts rrdtool
1496%module_scripts sensors
5e965dc7 1497%module_scripts serial
0e2c8900 1498%module_scripts snmp
5e965dc7
PG
1499%module_scripts swap
1500%module_scripts syslog
d94da88b 1501%module_scripts table
5e965dc7 1502%module_scripts tail
b8e7f76a
PG
1503%module_scripts target_notification
1504%module_scripts target_replace
a9b34e68 1505%module_scripts target_scale
b8e7f76a 1506%module_scripts target_set
854e23ef 1507%module_scripts target_v5upgrade
5e965dc7
PG
1508%module_scripts tcpconns
1509%module_scripts teamspeak2
d94da88b 1510%module_scripts ted
5e965dc7 1511%module_scripts thermal
854e23ef 1512%module_scripts threshold
5e965dc7 1513%module_scripts unixsock
d94da88b 1514%module_scripts uptime
5e965dc7 1515%module_scripts users
bed4848f 1516%module_scripts uuid
854e23ef 1517%module_scripts varnish
5e965dc7
PG
1518%module_scripts vmem
1519%module_scripts vserver
cc6085e4 1520%module_scripts write_graphite
a9b34e68 1521%module_scripts write_http
5e965dc7 1522%module_scripts wireless
0e2c8900 1523%module_scripts xmms
bed4848f 1524
96376a8d
PG
1525%triggerin collection -- apache1 < 1.3.37-3, apache1-base
1526%webapp_register apache %{_webapp}
1527
1528%triggerun collection -- apache1 < 1.3.37-3, apache1-base
1529%webapp_unregister apache %{_webapp}
1530
197c4197 1531%triggerin collection -- apache-base
96376a8d
PG
1532%webapp_register httpd %{_webapp}
1533
197c4197 1534%triggerun collection -- apache-base
96376a8d
PG
1535%webapp_unregister httpd %{_webapp}
1536
73f73519 1537%triggerin collection -- lighttpd
cdf53ab5
PG
1538%webapp_register lighttpd %{_webapp}
1539
73f73519 1540%triggerun collection -- lighttpd
cdf53ab5
PG
1541%webapp_unregister lighttpd %{_webapp}
1542
373d486f
AF
1543%files
1544%defattr(644,root,root,755)
ea7b9f4a 1545%doc AUTHORS ChangeLog README contrib
25bc0190
PG
1546%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf
1547%dir %{_sysconfdir}/%{name}.d
f6678d00 1548%dir %{_webappdir}
373d486f 1549%attr(755,root,root) %{_sbindir}/collectd
e105712e 1550%attr(755,root,root) %{_sbindir}/collectdmon
854e23ef 1551%attr(755,root,root) %{_bindir}/collectdctl
18e77dbc 1552%attr(755,root,root) %{_bindir}/collectd-nagios
ea7b9f4a 1553%attr(755,root,root) %{_bindir}/collectd-tg
854e23ef 1554%dir %{_libdir}/%{name}
b8e7f76a
PG
1555%dir %{_datadir}/%{name}
1556%{_datadir}/%{name}/types.db
ff0d0ea0 1557%attr(754,root,root) /etc/rc.d/init.d/%{name}
373d486f 1558%{_mandir}/man1/collectd.1*
18e77dbc 1559%{_mandir}/man1/collectd-nagios.1*
ea7b9f4a 1560%{_mandir}/man1/collectd-tg.1*
854e23ef 1561%{_mandir}/man1/collectdctl.1*
80d5b170 1562%{_mandir}/man1/collectdmon.1*
373d486f 1563%{_mandir}/man5/collectd.conf.5*
daff3c99 1564%{_mandir}/man5/collectd-java.5*
ea7b9f4a 1565%{_mandir}/man5/collectd-lua.5*
e105712e 1566%{_mandir}/man5/types.db.5*
e105712e 1567%dir %{_var}/lib/%{name}
1568
b8e7f76a
PG
1569%files libs
1570%defattr(644,root,root,755)
1571%attr(755,root,root) %{_libdir}/libcollectdclient.so.*.*.*
cc9450c3 1572%attr(755,root,root) %ghost %{_libdir}/libcollectdclient.so.1
b8e7f76a
PG
1573
1574%files devel
1575%defattr(644,root,root,755)
1576%attr(755,root,root) %{_libdir}/libcollectdclient.so
1577%{_libdir}/libcollectdclient.la
1578%dir %{_includedir}/%{name}
1579%{_includedir}/%{name}/*.h
1580%{_pkgconfigdir}/libcollectdclient.pc
1581
5e965dc7
PG
1582%files collection
1583%defattr(644,root,root,755)
5e965dc7
PG
1584%config(noreplace) %verify(not md5 mtime size) %{_webappdir}/collection.conf
1585%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/apache.conf
1586%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/httpd.conf
cdf53ab5 1587%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/lighttpd.conf
5e965dc7
PG
1588%dir %{_appdir}
1589%dir %{_appdir}/cgi-bin
1590%attr(755,root,root) %{_appdir}/cgi-bin/collection.cgi
1591
f26b05df 1592%files collection3
1593%defattr(644,root,root,755)
f6678d00
PG
1594%doc contrib/collection3/README
1595%config(noreplace) %verify(not md5 mtime size) %{_webappdir}/collection3.conf
abf017bf
PG
1596%dir %{_appdir}/collection3
1597%dir %{_appdir}/collection3/bin
1598%attr(755,root,root) %{_appdir}/collection3/bin/*.cgi
f6678d00 1599%{_appdir}/collection3/etc
abf017bf
PG
1600%{_appdir}/collection3/lib
1601%{_appdir}/collection3/share
f26b05df 1602
8bf13ddb 1603########## PLUGINS:
1018cae1
TP
1604%if %{with xml}
1605%if %{with curl}
61ccc70a
TP
1606%files apache
1607%defattr(640,root,root,755)
1608%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/apache.conf
1609%attr(755,root,root) %{_libdir}/%{name}/apache.so
1018cae1
TP
1610%endif
1611%endif
61ccc70a 1612
5e965dc7
PG
1613%files apcups
1614%defattr(644,root,root,755)
1615%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/apcups.conf
1616%attr(755,root,root) %{_libdir}/%{name}/apcups.so
1617
1018cae1 1618%if %{with curl}
8bf13ddb 1619%files ascent
61ccc70a 1620%defattr(640,root,root,755)
711f12a6 1621%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ascent.conf
8bf13ddb 1622%attr(755,root,root) %{_libdir}/%{name}/ascent.so
1018cae1 1623%endif
18e77dbc 1624
5e965dc7 1625%files battery
5fafedfc 1626%defattr(644,root,root,755)
5e965dc7
PG
1627%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/battery.conf
1628%attr(755,root,root) %{_libdir}/%{name}/battery.so
1629
1018cae1
TP
1630%if %{with xml}
1631%if %{with curl}
b8e7f76a
PG
1632%files bind
1633%defattr(644,root,root,755)
1634%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/bind.conf
1635%attr(755,root,root) %{_libdir}/%{name}/bind.so
1018cae1
TP
1636%endif
1637%endif
b8e7f76a 1638
a9b34e68
PG
1639%files contextswitch
1640%defattr(644,root,root,755)
1641%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/contextswitch.conf
1642%attr(755,root,root) %{_libdir}/%{name}/contextswitch.so
1643
d94da88b 1644%files conntrack
1645%defattr(644,root,root,755)
1646%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/conntrack.conf
1647%attr(755,root,root) %{_libdir}/%{name}/conntrack.so
1648
5e965dc7
PG
1649%files cpu
1650%defattr(644,root,root,755)
1651%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/cpu.conf
1652%attr(755,root,root) %{_libdir}/%{name}/cpu.so
1653
1654%files cpufreq
1655%defattr(644,root,root,755)
1656%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/cpufreq.conf
1657%attr(755,root,root) %{_libdir}/%{name}/cpufreq.so
1658
1659%files csv
1660%defattr(644,root,root,755)
1661%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/csv.conf
1662%attr(755,root,root) %{_libdir}/%{name}/csv.so
1663
1018cae1 1664%if %{with curl}
b8e7f76a 1665%files curl
61ccc70a 1666%defattr(640,root,root,755)
b8e7f76a
PG
1667%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/curl.conf
1668%attr(755,root,root) %{_libdir}/%{name}/curl.so
fa204bb4
CM
1669%if %{with xml}
1670%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/curl_xml.conf
1671%attr(755,root,root) %{_libdir}/%{name}/curl_xml.so
1672%endif
854e23ef
AF
1673
1674%files curl_json
1675%defattr(640,root,root,755)
1676%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/curl_json.conf
1677%attr(755,root,root) %{_libdir}/%{name}/curl_json.so
1018cae1 1678%endif
b8e7f76a
PG
1679
1680%files dbi
61ccc70a 1681%defattr(640,root,root,755)
b8e7f76a
PG
1682%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/dbi.conf
1683%attr(755,root,root) %{_libdir}/%{name}/dbi.so
1684
5e965dc7
PG
1685%files df
1686%defattr(644,root,root,755)
1687%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/df.conf
1688%attr(755,root,root) %{_libdir}/%{name}/df.so
1689
1690%files disk
1691%defattr(644,root,root,755)
1692%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/disk.conf
1693%attr(755,root,root) %{_libdir}/%{name}/disk.so
5fafedfc 1694
7e70ab62 1695%if %{with dns}
8bf13ddb
PG
1696%files dns
1697%defattr(644,root,root,755)
711f12a6 1698%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/dns.conf
8bf13ddb 1699%attr(755,root,root) %{_libdir}/%{name}/dns.so
7e70ab62 1700%endif
8bf13ddb 1701
5e965dc7
PG
1702%files email
1703%defattr(644,root,root,755)
1704%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/email.conf
1705%attr(755,root,root) %{_libdir}/%{name}/email.so
1706%{_mandir}/man5/collectd-email.5*
1707
1708%files entropy
1709%defattr(644,root,root,755)
1710%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/entropy.conf
1711%attr(755,root,root) %{_libdir}/%{name}/entropy.so
1712
cc6085e4 1713%files ethstat
1714%defattr(644,root,root,755)
1715%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ethstat.conf
1716%attr(755,root,root) %{_libdir}/%{name}/ethstat.so
1717
5e965dc7
PG
1718%files exec
1719%defattr(644,root,root,755)
1720%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/exec.conf
1721%attr(755,root,root) %{_libdir}/%{name}/exec.so
1722%{_mandir}/man5/collectd-exec.5*
1723
1724%files filecount
1725%defattr(644,root,root,755)
1726%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/filecount.conf
1727%attr(755,root,root) %{_libdir}/%{name}/filecount.so
1728
d94da88b 1729%files fscache
1730%defattr(644,root,root,755)
1731%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/fscache.conf
1732%attr(755,root,root) %{_libdir}/%{name}/fscache.so
1733
8bf13ddb
PG
1734%files hddtemp
1735%defattr(644,root,root,755)
711f12a6 1736%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/hddtemp.conf
8bf13ddb
PG
1737%attr(755,root,root) %{_libdir}/%{name}/hddtemp.so
1738
5e965dc7
PG
1739%files interface
1740%defattr(644,root,root,755)
1741%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/interface.conf
1742%attr(755,root,root) %{_libdir}/%{name}/interface.so
1743
87ba198e 1744%if %{with ipmi}
1745%files ipmi
1746%defattr(644,root,root,755)
711f12a6 1747%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ipmi.conf
87ba198e 1748%attr(755,root,root) %{_libdir}/%{name}/ipmi.so
1749%endif
1750
5e965dc7
PG
1751%if %{with iptables}
1752%files iptables
1753%defattr(644,root,root,755)
1754%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/iptables.conf
1755%attr(755,root,root) %{_libdir}/%{name}/iptables.so
1756%endif
1757
1758%files irq
1759%defattr(644,root,root,755)
1760%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/irq.conf
1761%attr(755,root,root) %{_libdir}/%{name}/irq.so
1762
1eb8d64b 1763%if %{with libvirt}
7a3b7a2c
AF
1764%files libvirt
1765%defattr(644,root,root,755)
633e4a51
AM
1766%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/virt.conf
1767%attr(755,root,root) %{_libdir}/%{name}/virt.so
1eb8d64b 1768%endif
7a3b7a2c 1769
5e965dc7
PG
1770%files load
1771%defattr(644,root,root,755)
1772%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/load.conf
1773%attr(755,root,root) %{_libdir}/%{name}/load.so
1774
1775%files logfile
1776%defattr(644,root,root,755)
1777%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/logfile.conf
1778%attr(755,root,root) %{_libdir}/%{name}/logfile.so
4929f1a7 1779%{_var}/log/collectd.log
5e965dc7 1780
a9b34e68
PG
1781%files madwifi
1782%defattr(644,root,root,755)
1783%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/madwifi.conf
1784%attr(755,root,root) %{_libdir}/%{name}/madwifi.so
b5cac6d2 1785
a9b34e68
PG
1786%files match_empty_counter
1787%defattr(644,root,root,755)
1788%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_empty_counter.conf
1789%attr(755,root,root) %{_libdir}/%{name}/match_empty_counter.so
1790
1791%files match_hashed
1792%defattr(644,root,root,755)
1793%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_hashed.conf
1794%attr(755,root,root) %{_libdir}/%{name}/match_hashed.so
1795
b8e7f76a
PG
1796%files match_regex
1797%defattr(644,root,root,755)
1798%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_regex.conf
1799%attr(755,root,root) %{_libdir}/%{name}/match_regex.so
1800
1801%files match_timediff
1802%defattr(644,root,root,755)
1803%attr(755,root,root) %{_libdir}/%{name}/match_timediff.so
80d5b170 1804%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_timediff.conf
b8e7f76a
PG
1805
1806%files match_value
1807%defattr(644,root,root,755)
1808%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/match_value.conf
1809%attr(755,root,root) %{_libdir}/%{name}/match_value.so
1810
5e965dc7
PG
1811%files mbmon
1812%defattr(644,root,root,755)
1813%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/mbmon.conf
1814%attr(755,root,root) %{_libdir}/%{name}/mbmon.so
1815
cc6085e4 1816%files md
1817%defattr(644,root,root,755)
1818%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/md.conf
1819%attr(755,root,root) %{_libdir}/%{name}/md.so
1820
9987a2c5
PG
1821%files memcachec
1822%defattr(644,root,root,755)
1823%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/memcachec.conf
1824%attr(755,root,root) %{_libdir}/%{name}/memcachec.so
1825
5e965dc7
PG
1826%files memcached
1827%defattr(644,root,root,755)
1828%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/memcached.conf
1829%attr(755,root,root) %{_libdir}/%{name}/memcached.so
1830
1831%files memory
1832%defattr(644,root,root,755)
1833%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/memory.conf
1834%attr(755,root,root) %{_libdir}/%{name}/memory.so
1835
b46e10b6 1836%if %{with modbus}
1837%files modbus
1838%defattr(644,root,root,755)
1839%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/modbus.conf
1840%attr(755,root,root) %{_libdir}/%{name}/modbus.so
1841%endif
1842
5e965dc7
PG
1843%if %{with multimeter}
1844%files multimeter
1845%defattr(644,root,root,755)
1846%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/multimeter.conf
1847%attr(755,root,root) %{_libdir}/%{name}/multimeter.so
1848%endif
1849
1018cae1 1850%if %{with mysql}
18e77dbc 1851%files mysql
61ccc70a 1852%defattr(640,root,root,755)
711f12a6 1853%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/mysql.conf
18e77dbc 1854%attr(755,root,root) %{_libdir}/%{name}/mysql.so
1018cae1 1855%endif
8bf13ddb 1856
5e965dc7
PG
1857%if %{with netlink}
1858%files netlink
1859%defattr(644,root,root,755)
1860%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/netlink.conf
1861%attr(755,root,root) %{_libdir}/%{name}/netlink.so
1862%endif
1863
1864%files network
1865%defattr(644,root,root,755)
1866%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/network.conf
1867%attr(755,root,root) %{_libdir}/%{name}/network.so
1868
1869%files nfs
1870%defattr(644,root,root,755)
1871%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/nfs.conf
1872%attr(755,root,root) %{_libdir}/%{name}/nfs.so
1873
1018cae1 1874%if %{with curl}
8bf13ddb 1875%files nginx
61ccc70a 1876%defattr(640,root,root,755)
711f12a6 1877%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/nginx.conf
8bf13ddb 1878%attr(755,root,root) %{_libdir}/%{name}/nginx.so
1018cae1 1879%endif
8bf13ddb 1880
1018cae1 1881%if %{with notify}
7be39ce7 1882%files notify_desktop
1883%defattr(644,root,root,755)
711f12a6 1884%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/notify_desktop.conf
7be39ce7 1885%attr(755,root,root) %{_libdir}/%{name}/notify_desktop.so
1018cae1 1886%endif
7be39ce7 1887
1018cae1 1888%if %{with libesmtp}
b4b27e4a 1889%files notify_email
61ccc70a 1890%defattr(640,root,root,755)
711f12a6 1891%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/notify_email.conf
b4b27e4a 1892%attr(755,root,root) %{_libdir}/%{name}/notify_email.so
1018cae1 1893%endif
b4b27e4a 1894
5e965dc7
PG
1895%files ntpd
1896%defattr(644,root,root,755)
1897%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ntpd.conf
1898%attr(755,root,root) %{_libdir}/%{name}/ntpd.so
1899
cc6085e4 1900%files numa
1901%defattr(644,root,root,755)
1902%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/numa.conf
1903%attr(755,root,root) %{_libdir}/%{name}/numa.so
1904
1018cae1 1905%if %{with ups}
b4b27e4a
PG
1906%files nut
1907%defattr(644,root,root,755)
711f12a6 1908%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/nut.conf
b4b27e4a 1909%attr(755,root,root) %{_libdir}/%{name}/nut.so
1018cae1 1910%endif
b4b27e4a 1911
a9b34e68
PG
1912%files olsrd
1913%defattr(644,root,root,755)
1914%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/olsrd.conf
1915%attr(755,root,root) %{_libdir}/%{name}/olsrd.so
1916
b8e7f76a
PG
1917%files openvpn
1918%defattr(644,root,root,755)
1919%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/openvpn.conf
1920%attr(755,root,root) %{_libdir}/%{name}/openvpn.so
1921
854e23ef
AF
1922%files perl
1923%defattr(644,root,root,755)
1924%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/perl.conf
1925%attr(755,root,root) %{_libdir}/%{name}/perl.so
1926%{_mandir}/man5/collectd-perl.5*
1927
1018cae1 1928%if %{with ping}
907cfb56
PG
1929%files ping
1930%defattr(644,root,root,755)
711f12a6 1931%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ping.conf
907cfb56 1932%attr(755,root,root) %{_libdir}/%{name}/ping.so
1018cae1 1933%endif
907cfb56 1934
b5cac6d2 1935%if %{with pgsql}
b4b27e4a 1936%files postgresql
61ccc70a 1937%defattr(640,root,root,755)
711f12a6 1938%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/postgresql.conf
b4b27e4a 1939%attr(755,root,root) %{_libdir}/%{name}/postgresql.so
8a56fd06 1940%{_datadir}/%{name}/postgresql_default.conf
1018cae1 1941%endif
b4b27e4a 1942
4b6e34c7 1943%files powerdns
1944%defattr(644,root,root,755)
711f12a6 1945%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/powerdns.conf
4b6e34c7 1946%attr(755,root,root) %{_libdir}/%{name}/powerdns.so
1947
5e965dc7
PG
1948%files processes
1949%defattr(644,root,root,755)
1950%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/processes.conf
1951%attr(755,root,root) %{_libdir}/%{name}/processes.so
1952
d94da88b 1953%files protocols
1954%defattr(644,root,root,755)
1955%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/protocols.conf
1956%attr(755,root,root) %{_libdir}/%{name}/protocols.so
1957
a9b34e68
PG
1958%files python
1959%defattr(644,root,root,755)
1960%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/python.conf
1961%attr(755,root,root) %{_libdir}/%{name}/python.so
1962%{_mandir}/man5/collectd-python.5*
1963
1018cae1 1964%if %{with rrd}
854e23ef
AF
1965%files rrdcached
1966%defattr(644,root,root,755)
1967%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/rrdcached.conf
1968%attr(755,root,root) %{_libdir}/%{name}/rrdcached.so
1969
8bf13ddb
PG
1970%files rrdtool
1971%defattr(644,root,root,755)
711f12a6 1972%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/rrdtool.conf
8bf13ddb 1973%attr(755,root,root) %{_libdir}/%{name}/rrdtool.so
1018cae1 1974%endif
8bf13ddb 1975
1018cae1 1976%if %{with sensors}
8bf13ddb
PG
1977%files sensors
1978%defattr(644,root,root,755)
711f12a6 1979%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/sensors.conf
8bf13ddb 1980%attr(755,root,root) %{_libdir}/%{name}/sensors.so
1018cae1 1981%endif
8bf13ddb 1982
5e965dc7
PG
1983%files serial
1984%defattr(644,root,root,755)
1985%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/serial.conf
1986%attr(755,root,root) %{_libdir}/%{name}/serial.so
1987
1018cae1 1988%if %{with snmp}
8bf13ddb
PG
1989%files snmp
1990%defattr(644,root,root,755)
711f12a6 1991%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/snmp.conf
8bf13ddb 1992%attr(755,root,root) %{_libdir}/%{name}/snmp.so
5e965dc7 1993%{_mandir}/man5/collectd-snmp.5*
1018cae1 1994%endif
5e965dc7
PG
1995
1996%files swap
1997%defattr(644,root,root,755)
1998%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/swap.conf
1999%attr(755,root,root) %{_libdir}/%{name}/swap.so
2000
2001%files syslog
2002%defattr(644,root,root,755)
2003%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/syslog.conf
2004%attr(755,root,root) %{_libdir}/%{name}/syslog.so
2005
d94da88b 2006%files table
2007%defattr(644,root,root,755)
2008%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/table.conf
2009%attr(755,root,root) %{_libdir}/%{name}/table.so
2010
5e965dc7
PG
2011%files tail
2012%defattr(644,root,root,755)
2013%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/tail.conf
2014%attr(755,root,root) %{_libdir}/%{name}/tail.so
2015
b8e7f76a
PG
2016%files target_notification
2017%defattr(644,root,root,755)
2018%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_notification.conf
2019%attr(755,root,root) %{_libdir}/%{name}/target_notification.so
2020
2021%files target_replace
2022%defattr(644,root,root,755)
2023%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_replace.conf
2024%attr(755,root,root) %{_libdir}/%{name}/target_replace.so
2025
a9b34e68
PG
2026%files target_scale
2027%defattr(644,root,root,755)
2028%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_scale.conf
2029%attr(755,root,root) %{_libdir}/%{name}/target_scale.so
2030
b8e7f76a
PG
2031%files target_set
2032%defattr(644,root,root,755)
2033%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/target_set.conf
2034%attr(755,root,root) %{_libdir}/%{name}/target_set.so
2035
854e23ef
AF
2036%files target_v5upgrade
2037%defattr(644,root,root,755)
2038%attr(755,root,root) %{_libdir}/%{name}/target_v5upgrade.so
2039
5e965dc7
PG
2040%files tcpconns
2041%defattr(644,root,root,755)
2042%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/tcpconns.conf
2043%attr(755,root,root) %{_libdir}/%{name}/tcpconns.so
2044
2045%files teamspeak2
2046%defattr(644,root,root,755)
2047%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/teamspeak2.conf
2048%attr(755,root,root) %{_libdir}/%{name}/teamspeak2.so
2049
d94da88b 2050%files ted
2051%defattr(644,root,root,755)
2052%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/ted.conf
2053%attr(755,root,root) %{_libdir}/%{name}/ted.so
2054
5e965dc7
PG
2055%files thermal
2056%defattr(644,root,root,755)
2057%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/thermal.conf
2058%attr(755,root,root) %{_libdir}/%{name}/thermal.so
2059
854e23ef
AF
2060%files threshold
2061%defattr(644,root,root,755)
2062%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/threshold.conf
2063%attr(755,root,root) %{_libdir}/%{name}/threshold.so
2064%{_mandir}/man5/collectd-threshold.5*
2065
5e965dc7
PG
2066%files unixsock
2067%defattr(644,root,root,755)
2068%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/unixsock.conf
2069%attr(755,root,root) %{_libdir}/%{name}/unixsock.so
2070%{_mandir}/man5/collectd-unixsock.5*
2071
d94da88b 2072%files uptime
2073%defattr(644,root,root,755)
2074%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/uptime.conf
2075%attr(755,root,root) %{_libdir}/%{name}/uptime.so
2076
5e965dc7
PG
2077%files users
2078%defattr(644,root,root,755)
2079%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/users.conf
2080%attr(755,root,root) %{_libdir}/%{name}/users.so
8bf13ddb
PG
2081
2082%files uuid
2083%defattr(644,root,root,755)
711f12a6 2084%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/uuid.conf
8bf13ddb
PG
2085%attr(755,root,root) %{_libdir}/%{name}/uuid.so
2086
59c04f42 2087%if %{with varnish}
854e23ef
AF
2088%files varnish
2089%defattr(644,root,root,755)
2090%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/varnish.conf
2091%attr(755,root,root) %{_libdir}/%{name}/varnish.so
59c04f42 2092%endif
854e23ef 2093
5e965dc7
PG
2094%files vmem
2095%defattr(644,root,root,755)
2096%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/vmem.conf
2097%attr(755,root,root) %{_libdir}/%{name}/vmem.so
2098
2099%files vserver
2100%defattr(644,root,root,755)
2101%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/vserver.conf
2102%attr(755,root,root) %{_libdir}/%{name}/vserver.so
2103
2104%files wireless
2105%defattr(644,root,root,755)
2106%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/wireless.conf
2107%attr(755,root,root) %{_libdir}/%{name}/wireless.so
2108
cc6085e4 2109%files write_graphite
2110%defattr(644,root,root,755)
2111%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/write_graphite.conf
2112%attr(755,root,root) %{_libdir}/%{name}/write_graphite.so
2113
a9b34e68
PG
2114%files write_http
2115%defattr(644,root,root,755)
2116%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/write_http.conf
2117%attr(755,root,root) %{_libdir}/%{name}/write_http.so
2118
1018cae1 2119%if %{with xmms}
8bf13ddb
PG
2120%files xmms
2121%defattr(644,root,root,755)
711f12a6 2122%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/xmms.conf
8bf13ddb 2123%attr(755,root,root) %{_libdir}/%{name}/xmms.so
1018cae1 2124%endif
f26b05df 2125
2126%files -n perl-Collectd
2127%defattr(644,root,root,755)
2128%{perl_vendorlib}/Collectd.pm
2129%{perl_vendorlib}/Collectd
f6678d00 2130%{_mandir}/man3/*.3*
This page took 0.414622 seconds and 4 git commands to generate.