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