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