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