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