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