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