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