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