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