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