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