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