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