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