collectd.spec: add new mcelog plugin
[collectd.git] / contrib / redhat / collectd.spec
1 #
2 # q: What is this ?
3 # a: A specfile for building RPM packages of current collectd releases, for
4 #    RHEL/CentOS versions 5, 6 and 7. By default all the plugins which are
5 #    buildable based on the libraries available in the distribution + the
6 #    EPEL repository, will be built. Plugins depending on external libs will
7 #    be packaged in separate RPMs.
8 #
9 # q: And how can I do that ?
10 # a: By following these instructions, using mock:
11 #
12 # - install and configure mock (https://fedoraproject.org/wiki/Projects/Mock)
13 #
14 # - enable the EPEL repository (http://dl.fedoraproject.org/pub/epel/) in the
15 #   configuration files for your target systems (/etc/mock/*.cfg).
16 #
17 # - fetch the desired collectd release file from https://collectd.org/files/
18 #   and save it in your ~/rpmbuild/SOURCES/ directory (or build your own out of
19 #   the git repository: ./build.sh && ./configure && make-dist-bz2)
20 #
21 # - copy this file in your ~/rpmbuild/SPECS/ directory. Make sure the
22 #   "Version:" tag matches the version from the tarball.
23 #
24 # - build the SRPM first:
25 #   mock -r centos-6-x86_64 --buildsrpm --spec ~/rpmbuild/SPECS/collectd.spec \
26 #     --sources ~/rpmbuild/SOURCES/
27 #
28 # - then build the RPMs:
29 #   mock -r centos-6-x86_64 --no-clean --rebuild \
30 #     /var/lib/mock/centos-6-x86_64/result/collectd-X.Y.Z-NN.src.rpm
31 #
32 # - you can also optionally enable/disable plugins which are disabled/enabled
33 #   by default:
34 #   mock -r centos-6-x86_64 --no-clean --without=java --with=oracle --rebuild \
35 #     /var/lib/mock/centos-6-x86_64/result/collectd-X.Y.Z-NN.src.rpm
36 #
37
38 %global _hardened_build 1
39 %{?perl_default_filter}
40
41 # plugins enabled by default
42 %define with_aggregation 0%{!?_without_aggregation:1}
43 %define with_amqp 0%{!?_without_amqp:1}
44 %define with_apache 0%{!?_without_apache:1}
45 %define with_apcups 0%{!?_without_apcups:1}
46 %define with_ascent 0%{!?_without_ascent:1}
47 %define with_battery 0%{!?_without_battery:1}
48 %define with_bind 0%{!?_without_bind:1}
49 %define with_ceph 0%{!?_without_ceph:1}
50 %define with_cgroups 0%{!?_without_cgroups:1}
51 %define with_chrony 0%{!?_without_chrony:1}
52 %define with_conntrack 0%{!?_without_conntrack:1}
53 %define with_contextswitch 0%{!?_without_contextswitch:1}
54 %define with_cpu 0%{!?_without_cpu:1}
55 %define with_cpufreq 0%{!?_without_cpufreq:1}
56 %define with_cpusleep 0%{!?_without_cpusleep:1}
57 %define with_csv 0%{!?_without_csv:1}
58 %define with_curl 0%{!?_without_curl:1}
59 %define with_curl_json 0%{!?_without_curl_json:1}
60 %define with_curl_xml 0%{!?_without_curl_xml:1}
61 %define with_dbi 0%{!?_without_dbi:1}
62 %define with_df 0%{!?_without_df:1}
63 %define with_disk 0%{!?_without_disk:1}
64 %define with_dns 0%{!?_without_dns:1}
65 %define with_drbd 0%{!?_without_drbd:1}
66 %define with_email 0%{!?_without_email:1}
67 %define with_entropy 0%{!?_without_entropy:1}
68 %define with_ethstat 0%{!?_without_ethstat:1}
69 %define with_exec 0%{!?_without_exec:1}
70 %define with_fhcount 0%{!?_without_fhcount:1}
71 %define with_filecount 0%{!?_without_filecount:1}
72 %define with_fscache 0%{!?_without_fscache:1}
73 %define with_gmond 0%{!?_without_gmond:1}
74 %define with_gps 0%{!?_without_gps:1}
75 %define with_hddtemp 0%{!?_without_hddtemp:1}
76 %define with_hugepages 0%{!?_without_hugepages:1}
77 %define with_interface 0%{!?_without_interface:1}
78 %define with_ipc 0%{!?_without_ipc:1}
79 %define with_ipmi 0%{!?_without_ipmi:1}
80 %define with_iptables 0%{!?_without_iptables:1}
81 %define with_ipvs 0%{!?_without_ipvs:1}
82 %define with_irq 0%{!?_without_irq:1}
83 %define with_java 0%{!?_without_java:1}
84 %define with_load 0%{!?_without_load:1}
85 %define with_log_logstash 0%{!?_without_log_logstash:1}
86 %define with_logfile 0%{!?_without_logfile:1}
87 %define with_lua 0%{!?_without_lua:1}
88 %define with_lvm 0%{!?_without_lvm:1}
89 %define with_madwifi 0%{!?_without_madwifi:1}
90 %define with_mbmon 0%{!?_without_mbmon:1}
91 %define with_mcelog 0%{!?_without_mcelog:1}
92 %define with_md 0%{!?_without_md:1}
93 %define with_memcachec 0%{!?_without_memcachec:1}
94 %define with_memcached 0%{!?_without_memcached:1}
95 %define with_memory 0%{!?_without_memory:1}
96 %define with_modbus 0%{!?_without_modbus:1}
97 %define with_mqtt 0%{!?_without_mqtt:1}
98 %define with_multimeter 0%{!?_without_multimeter:1}
99 %define with_mysql 0%{!?_without_mysql:1}
100 %define with_netlink 0%{!?_without_netlink:1}
101 %define with_network 0%{!?_without_network:1}
102 %define with_nfs 0%{!?_without_nfs:1}
103 %define with_nginx 0%{!?_without_nginx:1}
104 %define with_notify_desktop 0%{!?_without_notify_desktop:1}
105 %define with_notify_email 0%{!?_without_notify_email:1}
106 %define with_notify_nagios 0%{!?_without_notify_nagios:1}
107 %define with_ntpd 0%{!?_without_ntpd:1}
108 %define with_numa 0%{!?_without_numa:1}
109 %define with_nut 0%{!?_without_nut:1}
110 %define with_olsrd 0%{!?_without_olsrd:1}
111 %define with_openldap 0%{!?_without_openldap:1}
112 %define with_openvpn 0%{!?_without_openvpn:1}
113 %define with_perl 0%{!?_without_perl:1}
114 %define with_pinba 0%{!?_without_pinba:1}
115 %define with_ping 0%{!?_without_ping:1}
116 %define with_postgresql 0%{!?_without_postgresql:1}
117 %define with_powerdns 0%{!?_without_powerdns:1}
118 %define with_processes 0%{!?_without_processes:1}
119 %define with_protocols 0%{!?_without_protocols:1}
120 %define with_python 0%{!?_without_python:1}
121 %define with_redis 0%{!?_without_redis:1}
122 %define with_rrdcached 0%{!?_without_rrdcached:1}
123 %define with_rrdtool 0%{!?_without_rrdtool:1}
124 %define with_sensors 0%{!?_without_sensors:1}
125 %define with_serial 0%{!?_without_serial:1}
126 %define with_smart 0%{!?_without_smart:1}
127 %define with_snmp 0%{!?_without_snmp:1}
128 %define with_statsd 0%{!?_without_statsd:1}
129 %define with_swap 0%{!?_without_swap:1}
130 %define with_syslog 0%{!?_without_syslog:1}
131 %define with_table 0%{!?_without_table:1}
132 %define with_tail 0%{!?_without_tail:1}
133 %define with_tail_csv 0%{!?_without_tail_csv:1}
134 %define with_tcpconns 0%{!?_without_tcpconns:1}
135 %define with_teamspeak2 0%{!?_without_teamspeak2:1}
136 %define with_ted 0%{!?_without_ted:1}
137 %define with_thermal 0%{!?_without_thermal:1}
138 %define with_threshold 0%{!?_without_threshold:1}
139 %define with_turbostat 0%{!?_without_turbostat:1}
140 %define with_unixsock 0%{!?_without_unixsock:1}
141 %define with_uptime 0%{!?_without_uptime:1}
142 %define with_users 0%{!?_without_users:1}
143 %define with_uuid 0%{!?_without_uuid:1}
144 %define with_varnish 0%{!?_without_varnish:1}
145 %define with_virt 0%{!?_without_virt:1}
146 %define with_vmem 0%{!?_without_vmem:1}
147 %define with_vserver 0%{!?_without_vserver:1}
148 %define with_wireless 0%{!?_without_wireless:1}
149 %define with_write_graphite 0%{!?_without_write_graphite:1}
150 %define with_write_http 0%{!?_without_write_http:1}
151 %define with_write_log 0%{!?_without_write_log:1}
152 %define with_write_prometheus 0%{!?_without_write_prometheus:1}
153 %define with_write_redis 0%{!?_without_write_redis:1}
154 %define with_write_sensu 0%{!?_without_write_sensu:1}
155 %define with_write_tsdb 0%{!?_without_write_tsdb:1}
156 %define with_xmms 0%{!?_without_xmms:0%{?_has_xmms}}
157 %define with_zfs_arc 0%{!?_without_zfs_arc:1}
158 %define with_zookeeper 0%{!?_without_zookeeper:1}
159
160 # Plugins not built by default because of dependencies on libraries not
161 # available in RHEL or EPEL:
162
163 # plugin apple_sensors disabled, requires a Mac
164 %define with_apple_sensors 0%{!?_without_apple_sensors:0}
165 # plugin aquaero disabled, requires a libaquaero5
166 %define with_aquaero 0%{!?_without_aquaero:0}
167 # plugin barometer disabled, requires a libi2c
168 %define with_barometer 0%{!?_without_barometer:0}
169 # plugin grpc disabled, requires protobuf-compiler >= 3.0
170 %define with_grpc 0%{!?_without_grpc:0}
171 # plugin dpdkstat disabled, requires libdpdk
172 %define with_dpdkstat 0%{!?_without_dpdkstat:0}
173 # plugin lpar disabled, requires AIX
174 %define with_lpar 0%{!?_without_lpar:0}
175 # plugin intel_rdt disabled, requires intel-cmt-cat
176 %define with_intel_rdt 0%{!?_without_intel_rdt:0}
177 # plugin mic disabled, requires Mic
178 %define with_mic 0%{!?_without_mic:0}
179 # plugin netapp disabled, requires libnetapp
180 %define with_netapp 0%{!?_without_netapp:0}
181 # plugin onewire disabled, requires libowfs
182 %define with_onewire 0%{!?_without_onewire:0}
183 # plugin oracle disabled, requires Oracle
184 %define with_oracle 0%{!?_without_oracle:0}
185 # plugin oracle disabled, requires BSD
186 %define with_pf 0%{!?_without_pf:0}
187 # plugin routeros disabled, requires librouteros
188 %define with_routeros 0%{!?_without_routeros:0}
189 # plugin sigrok disabled, requires libsigrok
190 %define with_sigrok 0%{!?_without_sigrok:0}
191 # plugin tape disabled, requires libkstat
192 %define with_tape 0%{!?_without_tape:0}
193 # plugin tokyotyrant disabled, requires tcrdb.h
194 %define with_tokyotyrant 0%{!?_without_tokyotyrant:0}
195 # plugin write_kafka disabled, requires librdkafka
196 %define with_write_kafka 0%{!?_without_write_kafka:0}
197 # plugin write_mongodb disabled, requires libmongoc
198 %define with_write_mongodb 0%{!?_without_write_mongodb:0}
199 # plugin write_riemann disabled, requires a new enough riemann_c_client
200 %define with_write_riemann 0%{!?_without_write_riemann:0}
201 # plugin xencpu disabled, requires xen-devel from non-default repo
202 %define with_xencpu 0%{!?_without_xencpu:0}
203 # plugin zone disabled, requires Solaris
204 %define with_zone 0%{!?_without_zone:0}
205
206 # Plugins not buildable on RHEL < 6
207 %if 0%{?rhel} && 0%{?rhel} < 6
208 %define with_ceph 0
209 %define with_curl_json 0
210 %define with_log_logstash 0
211 %define with_dns 0
212 %define with_ethstat 0
213 %define with_gmond 0
214 %define with_iptables 0
215 %define with_ipvs 0
216 %define with_lvm 0
217 %define with_modbus 0
218 %define with_netlink 0
219 %define with_redis 0
220 %define with_smart 0
221 %define with_turbostat 0
222 %define with_write_prometheus 0
223 %define with_write_redis 0
224 %endif
225
226 # Plugins not buildable on RHEL < 7
227 %if 0%{?rhel} && 0%{?rhel} < 7
228 %define with_cpusleep 0
229 %define with_gps 0
230 %define with_mqtt 0
231 %define with_redis 0
232 %define with_rrdcached 0
233 %define with_write_redis 0
234 %define with_xmms 0
235 %endif
236
237 Summary:        Statistics collection and monitoring daemon
238 Name:           collectd
239 Version:        5.7.0
240 Release:        3%{?dist}
241 URL:            https://collectd.org
242 Source:         https://collectd.org/files/%{name}-%{version}.tar.bz2
243 License:        GPLv2
244 Group:          System Environment/Daemons
245 BuildRoot:      %{_tmppath}/%{name}-%{version}-root
246 BuildRequires:  libgcrypt-devel, kernel-headers, libcap-devel, which
247 Vendor:         collectd development team <collectd@verplant.org>
248
249 %if 0%{?fedora} || 0%{?rhel} >= 7
250 %{?systemd_requires}
251 BuildRequires:          systemd
252 %else
253 Requires(post):         chkconfig
254 Requires(preun):        chkconfig, initscripts
255 Requires(postun):       initscripts
256 %endif
257
258 %description
259 collectd is a small daemon which collects system information periodically and
260 provides mechanisms to monitor and store the values in a variety of ways. It
261 is written in C for performance. Since the daemon doesn't need to start up
262 every time it wants to update the values it's very fast and easy on the
263 system. Also, the statistics are very fine grained since the files are updated
264 every 10 seconds by default.
265
266 %if %{with_amqp}
267 %package amqp
268 Summary:        AMQP plugin for collectd
269 Group:          System Environment/Daemons
270 Requires:       %{name}%{?_isa} = %{version}-%{release}
271 BuildRequires:  librabbitmq-devel
272 %description amqp
273 The AMQP plugin transmits or receives values collected by collectd via the
274 Advanced Message Queuing Protocol (AMQP).
275 %endif
276
277 %if %{with_apache}
278 %package apache
279 Summary:        Apache plugin for collectd
280 Group:          System Environment/Daemons
281 Requires:       %{name}%{?_isa} = %{version}-%{release}
282 BuildRequires:  curl-devel
283 %description apache
284 This plugin collects data provided by Apache's `mod_status'.
285 %endif
286
287 %if %{with_aquaero}
288 %package aquaero
289 Summary:        aquaero plugin for collectd
290 Group:          System Environment/Daemons
291 Requires:       %{name}%{?_isa} = %{version}-%{release}
292 %description aquaero
293 Various sensors in the Aquaero 5 watercooling board made by Aquacomputer.
294 %endif
295
296 %if %{with_ascent}
297 %package ascent
298 Summary:        Ascent plugin for collectd
299 Group:          System Environment/Daemons
300 Requires:       %{name}%{?_isa} = %{version}-%{release}
301 BuildRequires:  libxml2-devel, curl-devel
302 %description ascent
303 The Ascent plugin reads and parses the statistics page of Ascent, a free and
304 open-source server software for the game World of Warcraft by Blizzard
305 Entertainment.
306 %endif
307
308 %if %{with_barometer}
309 %package barometer
310 Summary:       barometer plugin for collectd
311 Group:         System Environment/Daemons
312 Requires:      %{name}%{?_isa} = %{version}-%{release}
313 %description barometer
314 Collects pressure and temperature from digital barometers.
315 %endif
316
317 %if %{with_bind}
318 %package bind
319 Summary:        Bind plugin for collectd
320 Group:          System Environment/Daemons
321 Requires:       %{name}%{?_isa} = %{version}-%{release}
322 BuildRequires:  libxml2-devel, curl-devel
323 %description bind
324 The BIND plugin retrieves this information that's encoded in XML and provided
325 via HTTP and submits the values to collectd.
326 %endif
327
328 %if %{with_ceph}
329 %package ceph
330 Summary:       Ceph plugin for collectd
331 Group:         System Environment/Daemons
332 Requires:      %{name}%{?_isa} = %{version}-%{release}
333 BuildRequires: yajl-devel
334 %description ceph
335 Ceph plugin for collectd
336 %endif
337
338 %if %{with_chrony}
339 %package chrony
340 Summary:       Chrony plugin for collectd
341 Group:         System Environment/Daemons
342 Requires:      %{name}%{?_isa} = %{version}-%{release}
343 %description chrony
344 Chrony plugin for collectd
345 %endif
346
347 %if %{with_curl}
348 %package curl
349 Summary:        Curl plugin for collectd
350 Group:          System Environment/Daemons
351 Requires:       %{name}%{?_isa} = %{version}-%{release}
352 BuildRequires:  curl-devel
353 %description curl
354 The cURL plugin uses libcurl to read files and then parses them according to
355 the configuration.
356 %endif
357
358 %if %{with_curl_json}
359 %package curl_json
360 Summary:        Curl_json plugin for collectd
361 Group:          System Environment/Daemons
362 Requires:       %{name}%{?_isa} = %{version}-%{release}
363 BuildRequires:  curl-devel, yajl-devel
364 %description curl_json
365 The cURL-JSON plugin queries JavaScript Object Notation (JSON) data using the
366 cURL library and parses it according to the user's configuration.
367 %endif
368
369 %if %{with_curl_xml}
370 %package curl_xml
371 Summary:        Curl_xml plugin for collectd
372 Group:          System Environment/Daemons
373 Requires:       %{name}%{?_isa} = %{version}-%{release}
374 BuildRequires:  curl-devel, libxml2-devel
375 %description curl_xml
376 The cURL-XML plugin reads files using libcurl and parses it as Extensible
377 Markup Language (XML).
378 %endif
379
380 %if %{with_dbi}
381 %package dbi
382 Summary:        DBI plugin for collectd
383 Group:          System Environment/Daemons
384 Requires:       %{name}%{?_isa} = %{version}-%{release}
385 BuildRequires:  libdbi-devel
386 %description dbi
387 The DBI plugin uses libdbi, a database abstraction library, to execute SQL
388 statements on a database and read back the result.
389 %endif
390
391 %if %{with_disk}
392 %package disk
393 Summary:        disk plugin for collectd
394 Group:          System Environment/Daemons
395 Requires:       %{name}%{?_isa} = %{version}-%{release}
396 %{?_has_libudev:BuildRequires:  libudev-devel}
397 %description disk
398 The "disk" plugin collects information about the usage of physical disks and
399 logical disks (partitions).
400 %endif
401
402 %if %{with_dns}
403 %package dns
404 Summary:        DNS plugin for collectd
405 Group:          System Environment/Daemons
406 Requires:       %{name}%{?_isa} = %{version}-%{release}, libpcap >= 1.0
407 BuildRequires:  libpcap-devel >= 1.0
408 %description dns
409 The DNS plugin has a similar functionality to dnstop: It uses libpcap to get a
410 copy of all traffic from/to port UDP/53 (that's the DNS port), interprets the
411 packets and collects statistics of your DNS traffic.
412 %endif
413
414 %if %{with_email}
415 %package email
416 Summary:        Email plugin for collectd
417 Group:          System Environment/Daemons
418 Requires:       %{name}%{?_isa} = %{version}-%{release}, spamassassin
419 %description email
420 This plugin collects data provided by spamassassin.
421 %endif
422
423 %if %{with_gmond}
424 %package gmond
425 Summary:        Gmond plugin for collectd
426 Group:          System Environment/Daemons
427 Requires:       %{name}%{?_isa} = %{version}-%{release}
428 BuildRequires:  ganglia-devel
429 %description gmond
430 The gmond plugin subscribes to a Multicast group to receive data from gmond,
431 the client daemon of the Ganglia project.
432 %endif
433
434 %if %{with_gps}
435 %package gps
436 Summary:        GPS plugin for collectd
437 Group:          System Environment/Daemons
438 Requires:       %{name}%{?_isa} = %{version}-%{release}
439 BuildRequires:  gpsd-devel
440 %description gps
441 This plugin monitor gps related data through gpsd.
442 %endif
443
444 %if %{with_grpc}
445 %package grpc
446 Summary:        GRPC plugin for collectd
447 Group:          System Environment/Daemons
448 Requires:       %{name}%{?_isa} = %{version}-%{release}
449 BuildRequires:  protobuf-compiler
450 %description grpc
451 This plugin embeds a gRPC server into Collectd.
452 %endif
453
454 %if %{with_hddtemp}
455 %package hddtemp
456 Summary:        Hddtemp plugin for collectd
457 Group:          System Environment/Daemons
458 Requires:       %{name}%{?_isa} = %{version}-%{release}, hddtemp
459 %description hddtemp
460 The HDDTemp plugin collects the temperature of hard disks. The temperatures are
461 provided via SMART and queried by the external hddtemp daemon.
462 %endif
463
464 %if %{with_intel_rdt}
465 %package intel_rdt
466 Summary:        Intel RDT plugin for collectd
467 Group:          System Environment/Daemons
468 Requires:       %{name}%{?_isa} = %{version}-%{release}
469 BuildRequires:  intel-cmt-cat
470 %description intel_rdt
471 The intel_rdt plugin collects information provided by monitoring features of
472 Intel Resource Director Technology (Intel(R) RDT).
473 %endif
474
475 %if %{with_ipmi}
476 %package ipmi
477 Summary:        IPMI plugin for collectd
478 Group:          System Environment/Daemons
479 Requires:       %{name}%{?_isa} = %{version}-%{release}
480 BuildRequires:  OpenIPMI-devel
481 %description ipmi
482 The IPMI plugin uses the OpenIPMI library to read hardware sensors from servers
483 using the Intelligent Platform Management Interface (IPMI).
484 %endif
485
486 %if %{with_iptables}
487 %package iptables
488 Summary:        IPtables plugin for collectd
489 Group:          System Environment/Daemons
490 Requires:       %{name}%{?_isa} = %{version}-%{release}
491 BuildRequires:  iptables-devel
492 %description iptables
493 The IPtables plugin can gather statistics from your ip_tables based packet
494 filter (aka. firewall) for both the IPv4 and the IPv6 protocol. It can collect
495 the byte- and packet-counters of selected rules and submit them to collectd.
496 %endif
497
498 %if %{with_java}
499 %package java
500 Summary:        Java plugin for collectd
501 Group:          System Environment/Daemons
502 Requires:       %{name}%{?_isa} = %{version}-%{release}
503 BuildRequires:  java-devel, jpackage-utils
504 Requires:       java, jpackage-utils
505 %description java
506 This plugin for collectd allows plugins to be written in Java and executed
507 in an embedded JVM.
508 %endif
509
510 %if %{with_log_logstash}
511 %package log_logstash
512 Summary:       log_logstash plugin for collectd
513 Group:         System Environment/Daemons
514 Requires:      %{name}%{?_isa} = %{version}-%{release}
515 BuildRequires: yajl-devel
516 %description log_logstash
517 This plugin logs in logstash JSON format
518 %endif
519
520 %if %{with_lua}
521 %package lua
522 Summary:        Lua plugin for collectd
523 Group:          System Environment/Daemons
524 Requires:       %{name}%{?_isa} = %{version}-%{release}
525 BuildRequires:  lua-devel
526 %description lua
527 The Lua plugin embeds a Lua interpreter into collectd and exposes the
528 application programming interface (API) to Lua scripts.
529 %endif
530
531 %if %{with_lvm}
532 %package lvm
533 Summary:        LVM plugin for collectd
534 Group:          System Environment/Daemons
535 Requires:       %{name}%{?_isa} = %{version}-%{release}
536 BuildRequires:  lvm2-devel
537 %description lvm
538 This plugin collects size of “Logical Volumes” (LV) and “Volume Groups” (VG)
539 of Linux' “Logical Volume Manager” (LVM).
540 %endif
541
542 %if %{with_mcelog}
543 %package mcelog
544 Summary:        Mcelog plugin for collectd
545 Group:          System Environment/Daemons
546 Requires:       %{name}%{?_isa} = %{version}-%{release}
547 %description mcelog
548 This plugin monitors machine check exceptions reported by mcelog and generates
549 appropriate notifications when machine check exceptions are detected.
550 %endif
551
552 %if %{with_memcachec}
553 %package memcachec
554 Summary:        Memcachec plugin for collectd
555 Group:          System Environment/Daemons
556 Requires:       %{name}%{?_isa} = %{version}-%{release}
557 BuildRequires:  libmemcached-devel
558 %description memcachec
559 The Memcachec plugin uses libmemcached to read statistics from a Memcached
560 instance. Note that another plugin, named `memcached', exists and does a
561 similar job, without requiring the installation of libmemcached.
562 %endif
563
564 %if %{with_mic}
565 %package mic
566 Summary:        mic plugin for collectd
567 Group:          System Environment/Daemons
568 Requires:       %{name}%{?_isa} = %{version}-%{release}
569 %description mic
570 The mic plugin collects CPU usage, memory usage, temperatures and power
571 consumption from Intel Many Integrated Core (MIC) CPUs.
572 %endif
573
574 %if %{with_modbus}
575 %package modbus
576 Summary:       modbus plugin for collectd
577 Group:         System Environment/Daemons
578 Requires:      %{name}%{?_isa} = %{version}-%{release}
579 BuildRequires:  libmodbus-devel
580 %description modbus
581 The modbus plugin collects values from Modbus/TCP enabled devices
582 %endif
583
584 %if %{with_mysql}
585 %package mysql
586 Summary:        MySQL plugin for collectd
587 Group:          System Environment/Daemons
588 Requires:       %{name}%{?_isa} = %{version}-%{release}
589 BuildRequires:  mysql-devel
590 %description mysql
591 MySQL querying plugin. This plugin provides data of issued commands, called
592 handlers and database traffic.
593 %endif
594
595 %if %{with_mqtt}
596 %package mqtt
597 Summary:        mqtt plugin for collectd
598 Group:          System Environment/Daemons
599 Requires:       %{name}%{?_isa} = %{version}-%{release}
600 BuildRequires:  mosquitto-devel
601 %description mqtt
602 The MQTT plugin publishes and subscribes to MQTT topics.
603 %endif
604
605 %if %{with_netlink}
606 %package netlink
607 Summary:        netlink plugin for collectd
608 Group:          System Environment/Daemons
609 Requires:       %{name}%{?_isa} = %{version}-%{release}
610 BuildRequires:  libmnl-devel, iproute-devel
611 %description netlink
612 The netlink plugin collects detailed network interface and routing statistics.
613 %endif
614
615 %if %{with_nginx}
616 %package nginx
617 Summary:        Nginx plugin for collectd
618 Group:          System Environment/Daemons
619 Requires:       %{name}%{?_isa} = %{version}-%{release}
620 BuildRequires:  curl-devel
621 %description nginx
622 This plugin gets data provided by nginx.
623 %endif
624
625 %if %{with_notify_desktop}
626 %package notify_desktop
627 Summary:        Notify_desktop plugin for collectd
628 Group:          System Environment/Daemons
629 Requires:       %{name}%{?_isa} = %{version}-%{release}
630 BuildRequires:  libnotify-devel, gtk2-devel
631 %description notify_desktop
632 The Notify Desktop plugin uses libnotify to display notifications to the user
633 via the desktop notification specification, i. e. on an X display.
634 %endif
635
636 %if %{with_notify_email}
637 %package notify_email
638 Summary:        Notify_email plugin for collectd
639 Group:          System Environment/Daemons
640 Requires:       %{name}%{?_isa} = %{version}-%{release}
641 BuildRequires:  libesmtp-devel
642 %description notify_email
643 The Notify Email plugin uses libESMTP to send notifications to a configured
644 email address.
645 %endif
646
647 %if %{with_nut}
648 %package nut
649 Summary:        Nut plugin for collectd
650 Group:          System Environment/Daemons
651 Requires:       %{name}%{?_isa} = %{version}-%{release}
652 BuildRequires:  nut-devel
653 %description nut
654 This plugin for collectd provides Network UPS Tools support.
655 %endif
656
657 %if %{with_openldap}
658 %package openldap
659 Summary:       Openldap plugin for collectd
660 Group:         System Environment/Daemons
661 Requires:      %{name}%{?_isa} = %{version}-%{release}
662 BuildRequires: openldap-devel
663 %description openldap
664 This plugin reads monitoring information from OpenLDAP's cn=Monitor subtree.
665 %endif
666
667 %if %{with_perl}
668 %package perl
669 Summary:        Perl plugin for collectd
670 Group:          System Environment/Daemons
671 Requires:       %{name}%{?_isa} = %{version}-%{release}
672 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
673         %if 0%{?rhel} && 0%{?rhel} < 6
674 BuildRequires:  perl
675         %else
676 BuildRequires:  perl-ExtUtils-Embed
677         %endif
678 %description perl
679 The Perl plugin embeds a Perl interpreter into collectd and exposes the
680 application programming interface (API) to Perl-scripts.
681 %endif
682
683 %if %{with_pinba}
684 %package pinba
685 Summary:        Pinba plugin for collectd
686 Group:          System Environment/Daemons
687 Requires:       %{name}%{?_isa} = %{version}-%{release}
688 BuildRequires:  protobuf-c-devel
689 %description pinba
690 The Pinba plugin receives and dispatches timing values from Pinba, a profiling
691 extension for PHP.
692 %endif
693
694 %if %{with_ping}
695 %package ping
696 Summary:        Ping plugin for collectd
697 Group:          System Environment/Daemons
698 Requires:       %{name}%{?_isa} = %{version}-%{release}
699 BuildRequires:  liboping-devel
700 %description ping
701 The Ping plugin measures network latency using ICMP “echo requests”, usually
702 known as “ping”.
703 %endif
704
705 %if %{with_postgresql}
706 %package postgresql
707 Summary:        PostgreSQL plugin for collectd
708 Group:          System Environment/Daemons
709 Requires:       %{name}%{?_isa} = %{version}-%{release}
710 BuildRequires:  postgresql-devel
711 %description postgresql
712 The PostgreSQL plugin connects to and executes SQL statements on a PostgreSQL
713 database.
714 %endif
715
716 %if %{with_python}
717 %package python
718 Summary:        Python plugin for collectd
719 Group:          System Environment/Daemons
720 Requires:       %{name}%{?_isa} = %{version}-%{release}
721         %if 0%{?rhel} && 0%{?rhel} < 6
722 BuildRequires: python26-devel
723         %else
724 BuildRequires: python-devel
725         %endif
726 %description python
727 The Python plugin embeds a Python interpreter into collectd and exposes the
728 application programming interface (API) to Python-scripts.
729 %endif
730
731 %if %{with_redis}
732 %package redis
733 Summary:        Redis plugin for collectd
734 Group:          System Environment/Daemons
735 Requires:       %{name}%{?_isa} = %{version}-%{release}
736 BuildRequires:  hiredis-devel
737 %description redis
738 The Redis plugin connects to one or more instances of Redis, a key-value store,
739 and collects usage information using the hiredis library.
740 %endif
741
742 %if %{with_rrdcached}
743 %package rrdcached
744 Summary:        RRDCached plugin for collectd
745 Group:          System Environment/Daemons
746 Requires:       %{name}%{?_isa} = %{version}-%{release}, rrdtool >= 1.4
747 BuildRequires:  rrdtool-devel
748 %description rrdcached
749 The RRDCacheD plugin connects to the “RRD caching daemon”, rrdcached and
750 submits updates for RRD files to that daemon.
751 %endif
752
753 %if %{with_rrdtool}
754 %package rrdtool
755 Summary:        RRDtool plugin for collectd
756 Group:          System Environment/Daemons
757 Requires:       %{name}%{?_isa} = %{version}-%{release}
758 BuildRequires:  rrdtool-devel
759 %description rrdtool
760 The RRDtool plugin writes values to RRD-files using librrd.
761 %endif
762
763 %if %{with_sensors}
764 %package sensors
765 Summary:        Sensors plugin for collectd
766 Group:          System Environment/Daemons
767 Requires:       %{name}%{?_isa} = %{version}-%{release}
768 BuildRequires:  lm_sensors-devel
769 %description sensors
770 This plugin for collectd provides querying of sensors supported by lm_sensors.
771 %endif
772
773 %if %{with_sigrok}
774 %package sigrok
775 Summary:        sigrok plugin for collectd
776 Group:          System Environment/Daemons
777 Requires:       %{name}%{?_isa} = %{version}-%{release}
778 %description sigrok
779 Uses libsigrok as a backend, allowing any sigrok-supported device to have its
780 measurements fed to collectd. This includes multimeters, sound level meters,
781 thermometers, and much more.
782 %endif
783
784 %if %{with_smart}
785 %package smart
786 Summary:       SMART plugin for collectd
787 Group:         System Environment/Daemons
788 Requires:      %{name}%{?_isa} = %{version}-%{release}
789 BuildRequires: libatasmart-devel
790 %description smart
791 Collect SMART statistics, notably load cycle count, temperature and bad
792 sectors.
793 %endif
794
795 %if %{with_snmp}
796 %package snmp
797 Summary:        SNMP plugin for collectd
798 Group:          System Environment/Daemons
799 Requires:       %{name}%{?_isa} = %{version}-%{release}
800 BuildRequires:  net-snmp-devel
801 %description snmp
802 This plugin for collectd allows querying of network equipment using SNMP.
803 %endif
804
805 %if %{with_varnish}
806 %package varnish
807 Summary:        Varnish plugin for collectd
808 Group:          System Environment/Daemons
809 Requires:       %{name}%{?_isa} = %{version}-%{release}
810 BuildRequires:  varnish-libs-devel
811 %description varnish
812 The Varnish plugin collects information about Varnish, an HTTP accelerator.
813 %endif
814
815 %if %{with_virt}
816 %package virt
817 Summary:        Virt plugin for collectd
818 Group:          System Environment/Daemons
819 Requires:       %{name}%{?_isa} = %{version}-%{release}
820 BuildRequires:  libvirt-devel
821 %description virt
822 This plugin collects information from virtualized guests.
823 %endif
824
825 %if %{with_write_http}
826 %package write_http
827 Summary:        Write-HTTP plugin for collectd
828 Group:          System Environment/Daemons
829 Requires:       %{name}%{?_isa} = %{version}-%{release}
830 BuildRequires:  curl-devel
831 %description write_http
832 The Write-HTTP plugin sends the values collected by collectd to a web-server
833 using HTTP POST requests.
834 %endif
835
836 %if %{with_write_kafka}
837 %package write_kafka
838 Summary:       Write-kafka plugin for collectd
839 Group:         System Environment/Daemons
840 Requires:      %{name}%{?_isa} = %{version}-%{release}
841 BuildRequires: librdkafka-devel
842 %description write_kafka
843 The write_kafka plugin sends values to kafka, a distributed messaging system.
844 %endif
845
846 %if %{with_write_prometheus}
847 %package write_prometheus
848 Summary:        Write-prometheus plugin for collectd
849 Group:          System Environment/Daemons
850 Requires:       %{name}%{?_isa} = %{version}-%{release}
851 BuildRequires:  libmicrohttpd-devel
852 %description write_prometheus
853 The Write Prometheus plugin exposes collected values using an embedded HTTP
854 server, turning the collectd daemon into a Prometheus exporter.
855 %endif
856
857 %if %{with_write_redis}
858 %package write_redis
859 Summary:        Write-Redis plugin for collectd
860 Group:          System Environment/Daemons
861 Requires:       %{name}%{?_isa} = %{version}-%{release}
862 BuildRequires:  hiredis-devel
863 %description write_redis
864 The Write Redis plugin stores values in Redis, a “data structures server”.
865 %endif
866
867 %if %{with_write_riemann}
868 %package write_riemann
869 Summary:        riemann plugin for collectd
870 Group:          System Environment/Daemons
871 Requires:       %{name}%{?_isa} = %{version}-%{release}
872 BuildRequires:  protobuf-c-devel
873 %description write_riemann
874 The riemann plugin submits values to Riemann, an event stream processor.
875 %endif
876
877 %if %{with_xencpu}
878 %package xencpu
879 Summary:        xencpu plugin for collectd
880 Group:          System Environment/Daemons
881 Requires:       %{name}%{?_isa} = %{version}-%{release}
882 BuildRequires:  xen-devel
883 %description xencpu
884 The xencpu plugin collects CPU statistics from Xen.
885 %endif
886
887 %if %{with_xmms}
888 %package xmms
889 Summary:        XMMS plugin for collectd
890 Group:          System Environment/Daemons
891 Requires:       %{name}%{?_isa} = %{version}-%{release}
892 BuildRequires:  xmms-devel
893 %description xmms
894 The xmms plugin collects information from the XMMS music player.
895 %endif
896
897 %package collection3
898 Summary:        Web-based viewer for collectd
899 Group:          System Environment/Daemons
900 Requires:       %{name}%{?_isa} = %{version}-%{release}
901 Requires: httpd
902 %description collection3
903 collection3 is a graphing front-end for the RRD files created by and filled
904 with collectd. It is written in Perl and should be run as an CGI-script.
905 Graphs are generated on-the-fly, so no cron job or similar is necessary.
906
907 %package php-collection
908 Summary:        collect php webfrontent
909 Group:          System Environment/Daemons
910 Requires:       collectd = %{version}-%{release}
911 Requires:       httpd
912 Requires:       php
913 Requires:       php-rrdtool
914 %description php-collection
915 PHP graphing frontend for RRD files created by and filled with collectd.
916
917 %package contrib
918 Summary:        Contrib files for collectd
919 Group:          System Environment/Daemons
920 Requires:       %{name}%{?_isa} = %{version}-%{release}
921 %description contrib
922 All the files found under contrib/ in the source tree are bundled in this
923 package.
924
925 %package -n libcollectdclient
926 Summary:        Collectd client library
927 Group:          System Environment/Daemons
928 %description -n libcollectdclient
929 Collectd client library
930
931 %package -n libcollectdclient-devel
932 Summary:        Development files for libcollectdclient
933 Group:          System Environment/Daemons
934 Requires:       pkgconfig
935 Requires:       libcollectdclient%{?_isa} = %{version}-%{release}
936 %description -n libcollectdclient-devel
937 Development files for libcollectdclient
938
939 %package -n collectd-utils
940 Summary:        Collectd utilities
941 Group:          System Environment/Daemons
942 Requires:       libcollectdclient%{?_isa} = %{version}-%{release}
943 Requires:       collectd%{?_isa} = %{version}-%{release}
944 %description -n collectd-utils
945 Collectd utilities
946
947 %prep
948 %setup -q
949
950 %build
951 %if %{with_aggregation}
952 %define _with_aggregation --enable-aggregation
953 %else
954 %define _with_aggregation --disable-aggregation
955 %endif
956
957 %if %{with_amqp}
958 %define _with_amqp --enable-amqp
959 %else
960 %define _with_amqp --disable-amqp
961 %endif
962
963 %if %{with_apache}
964 %define _with_apache --enable-apache
965 %else
966 %define _with_apache --disable-apache
967 %endif
968
969 %if %{with_apcups}
970 %define _with_apcups --enable-apcups
971 %else
972 %define _with_apcups --disable-apcups
973 %endif
974
975 %if %{with_apple_sensors}
976 %define _with_apple_sensors --enable-apple_sensors
977 %else
978 %define _with_apple_sensors --disable-apple_sensors
979 %endif
980
981 %if %{with_aquaero}
982 %define _with_aquaero --enable-aquaero
983 %else
984 %define _with_aquaero --disable-aquaero
985 %endif
986
987 %if %{with_ascent}
988 %define _with_ascent --enable-ascent
989 %else
990 %define _with_ascent --disable-ascent
991 %endif
992
993 %if %{with_barometer}
994 %define _with_barometer --enable-barometer
995 %else
996 %define _with_barometer --disable-barometer
997 %endif
998
999 %if %{with_battery}
1000 %define _with_battery --enable-battery
1001 %else
1002 %define _with_battery --disable-battery
1003 %endif
1004
1005 %if %{with_bind}
1006 %define _with_bind --enable-bind
1007 %else
1008 %define _with_bind --disable-bind
1009 %endif
1010
1011 %if %{with_cgroups}
1012 %define _with_cgroups --enable-cgroups
1013 %else
1014 %define _with_cgroups --disable-cgroups
1015 %endif
1016
1017 %if %{with_chrony}
1018 %define _with_chrony --enable-chrony
1019 %else
1020 %define _with_chrony --disable-chrony
1021 %endif
1022
1023 %if %{with_conntrack}
1024 %define _with_conntrack --enable-conntrack
1025 %else
1026 %define _with_conntrack --disable-conntrack
1027 %endif
1028
1029 %if %{with_contextswitch}
1030 %define _with_contextswitch --enable-contextswitch
1031 %else
1032 %define _with_contextswitch --disable-contextswitch
1033 %endif
1034
1035 %if %{with_cpu}
1036 %define _with_cpu --enable-cpu
1037 %else
1038 %define _with_cpu --disable-cpu
1039 %endif
1040
1041 %if %{with_cpufreq}
1042 %define _with_cpufreq --enable-cpufreq
1043 %else
1044 %define _with_cpufreq --disable-cpufreq
1045 %endif
1046
1047 %if %{with_cpusleep}
1048 %define _with_cpusleep --enable-cpusleep
1049 %else
1050 %define _with_cpusleep --disable-cpusleep
1051 %endif
1052
1053 %if %{with_csv}
1054 %define _with_csv --enable-csv
1055 %else
1056 %define _with_csv --disable-csv
1057 %endif
1058
1059 %if %{with_ceph}
1060 %define _with_ceph --enable-ceph
1061 %else
1062 %define _with_ceph --disable-ceph
1063 %endif
1064
1065 %if %{with_curl}
1066 %define _with_curl --enable-curl
1067 %else
1068 %define _with_curl --disable-curl
1069 %endif
1070
1071 %if %{with_curl_json}
1072 %define _with_curl_json --enable-curl_json
1073 %else
1074 %define _with_curl_json --disable-curl_json
1075 %endif
1076
1077 %if %{with_curl_xml}
1078 %define _with_curl_xml --enable-curl_xml
1079 %else
1080 %define _with_curl_xml --disable-curl_xml
1081 %endif
1082
1083 %if %{with_dbi}
1084 %define _with_dbi --enable-dbi
1085 %else
1086 %define _with_dbi --disable-dbi
1087 %endif
1088
1089 %if %{with_df}
1090 %define _with_df --enable-df
1091 %else
1092 %define _with_df --disable-df
1093 %endif
1094
1095 %if %{with_disk}
1096 %define _with_disk --enable-disk
1097 %else
1098 %define _with_disk --disable-disk
1099 %endif
1100
1101 %if %{with_dns}
1102 %define _with_dns --enable-dns
1103 %else
1104 %define _with_dns --disable-dns
1105 %endif
1106
1107 %if %{with_drbd}
1108 %define _with_drbd --enable-drbd
1109 %else
1110 %define _with_drbd --disable-drbd
1111 %endif
1112
1113 %if %{with_dpdkstat}
1114 %define _with_dpdkstat --enable-dpdkstat
1115 %else
1116 %define _with_dpdkstat --disable-dpdkstat
1117 %endif
1118
1119 %if %{with_email}
1120 %define _with_email --enable-email
1121 %else
1122 %define _with_email --disable-email
1123 %endif
1124
1125 %if %{with_entropy}
1126 %define _with_entropy --enable-entropy
1127 %else
1128 %define _with_entropy --disable-entropy
1129 %endif
1130
1131 %if %{with_ethstat}
1132 %define _with_ethstat --enable-ethstat
1133 %else
1134 %define _with_ethstat --disable-ethstat
1135 %endif
1136
1137 %if %{with_exec}
1138 %define _with_exec --enable-exec
1139 %else
1140 %define _with_exec --disable-exec
1141 %endif
1142
1143 %if %{with_fhcount}
1144 %define _with_fhcount --enable-fhcount
1145 %else
1146 %define _with_fhcount --disable-fhcount
1147 %endif
1148
1149 %if %{with_filecount}
1150 %define _with_filecount --enable-filecount
1151 %else
1152 %define _with_filecount --disable-filecount
1153 %endif
1154
1155 %if %{with_fscache}
1156 %define _with_fscache --enable-fscache
1157 %else
1158 %define _with_fscache --disable-fscache
1159 %endif
1160
1161 %if %{with_gmond}
1162 %define _with_gmond --enable-gmond
1163 %else
1164 %define _with_gmond --disable-gmond
1165 %endif
1166
1167 %if %{with_gps}
1168 %define _with_gps --enable-gps
1169 %else
1170 %define _with_gps --disable-gps
1171 %endif
1172
1173 %if %{with_grpc}
1174 %define _with_grpc --enable-grpc
1175 %else
1176 %define _with_grpc --disable-grpc
1177 %endif
1178
1179 %if %{with_hddtemp}
1180 %define _with_hddtemp --enable-hddtemp
1181 %else
1182 %define _with_hddtemp --disable-hddtemp
1183 %endif
1184
1185 %if %{with_hugepages}
1186 %define _with_hugepages --enable-hugepages
1187 %else
1188 %define _with_hugepages --disable-hugepages
1189 %endif
1190
1191 %if %{with_intel_rdt}
1192 %define _with_intel_rdt --enable-intel_rdt
1193 %else
1194 %define _with_intel_rdt --disable-intel_rdt
1195 %endif
1196
1197 %if %{with_interface}
1198 %define _with_interface --enable-interface
1199 %else
1200 %define _with_interface --disable-interface
1201 %endif
1202
1203 %if %{with_ipc}
1204 %define _with_ipc --enable-ipc
1205 %else
1206 %define _with_ipc --disable-ipc
1207 %endif
1208
1209 %if %{with_ipmi}
1210 %define _with_ipmi --enable-ipmi
1211 %else
1212 %define _with_ipmi --disable-ipmi
1213 %endif
1214
1215 %if %{with_iptables}
1216 %define _with_iptables --enable-iptables
1217 %else
1218 %define _with_iptables --disable-iptables
1219 %endif
1220
1221 %if %{with_ipvs}
1222 %define _with_ipvs --enable-ipvs
1223 %else
1224 %define _with_ipvs --disable-ipvs
1225 %endif
1226
1227 %if %{with_irq}
1228 %define _with_irq --enable-irq
1229 %else
1230 %define _with_irq --disable-irq
1231 %endif
1232
1233 %if %{with_java}
1234 %define _with_java --enable-java --with-java=%{java_home}/
1235 %else
1236 %define _with_java --disable-java
1237 %endif
1238
1239 %if %{with_virt}
1240 %define _with_virt --enable-virt
1241 %else
1242 %define _with_virt --disable-virt
1243 %endif
1244
1245 %if %{with_load}
1246 %define _with_load --enable-load
1247 %else
1248 %define _with_load --disable-load
1249 %endif
1250
1251 %if %{with_logfile}
1252 %define _with_logfile --enable-logfile
1253 %else
1254 %define _with_logfile --disable-logfile
1255 %endif
1256
1257 %if %{with_log_logstash}
1258 %define _with_log_logstash --enable-log_logstash
1259 %else
1260 %define _with_log_logstash --disable-log_logstash
1261 %endif
1262
1263 %if %{with_lpar}
1264 %define _with_lpar --enable-lpar
1265 %else
1266 %define _with_lpar --disable-lpar
1267 %endif
1268
1269 %if %{with_lua}
1270 %define _with_lua --enable-lua
1271 %else
1272 %define _with_lua --disable-lua
1273 %endif
1274
1275 %if %{with_lvm}
1276 %define _with_lvm --enable-lvm
1277 %else
1278 %define _with_lvm --disable-lvm
1279 %endif
1280
1281 %if %{with_madwifi}
1282 %define _with_madwifi --enable-madwifi
1283 %else
1284 %define _with_madwifi --disable-madwifi
1285 %endif
1286
1287 %if %{with_mbmon}
1288 %define _with_mbmon --enable-mbmon
1289 %else
1290 %define _with_mbmon --disable-mbmon
1291 %endif
1292
1293 %if %{with_mcelog}
1294 %define _with_mcelog --enable-mcelog
1295 %else
1296 %define _with_mbmon --disable-mcelog
1297 %endif
1298
1299 %if %{with_md}
1300 %define _with_md --enable-md
1301 %else
1302 %define _with_md --disable-md
1303 %endif
1304
1305 %if %{with_memcachec}
1306 %define _with_memcachec --enable-memcachec
1307 %else
1308 %define _with_memcachec --disable-memcachec
1309 %endif
1310
1311 %if %{with_memcached}
1312 %define _with_memcached --enable-memcached
1313 %else
1314 %define _with_memcached --disable-memcached
1315 %endif
1316
1317 %if %{with_memory}
1318 %define _with_memory --enable-memory
1319 %else
1320 %define _with_memory --disable-memory
1321 %endif
1322
1323 %if %{with_mic}
1324 %define _with_mic --enable-mic
1325 %else
1326 %define _with_mic --disable-mic
1327 %endif
1328
1329 %if %{with_modbus}
1330 %define _with_modbus --enable-modbus
1331 %else
1332 %define _with_modbus --disable-modbus
1333 %endif
1334
1335 %if %{with_multimeter}
1336 %define _with_multimeter --enable-multimeter
1337 %else
1338 %define _with_multimeter --disable-multimeter
1339 %endif
1340
1341 %if %{with_mqtt}
1342 %define _with_mqtt --enable-mqtt
1343 %else
1344 %define _with_mqtt --disable-mqtt
1345 %endif
1346
1347 %if %{with_mysql}
1348 %define _with_mysql --enable-mysql
1349 %else
1350 %define _with_mysql --disable-mysql
1351 %endif
1352
1353 %if %{with_netapp}
1354 %define _with_netapp --enable-netapp
1355 %else
1356 %define _with_netapp --disable-netapp
1357 %endif
1358
1359 %if %{with_netlink}
1360 %define _with_netlink --enable-netlink
1361 %else
1362 %define _with_netlink --disable-netlink
1363 %endif
1364
1365 %if %{with_network}
1366 %define _with_network --enable-network
1367 %else
1368 %define _with_network --disable-network
1369 %endif
1370
1371 %if %{with_nfs}
1372 %define _with_nfs --enable-nfs
1373 %else
1374 %define _with_nfs --disable-nfs
1375 %endif
1376
1377 %if %{with_nginx}
1378 %define _with_nginx --enable-nginx
1379 %else
1380 %define _with_nginx --disable-nginx
1381 %endif
1382
1383 %if %{with_notify_desktop}
1384 %define _with_notify_desktop --enable-notify_desktop
1385 %else
1386 %define _with_notify_desktop --disable-notify_desktop
1387 %endif
1388
1389 %if %{with_notify_email}
1390 %define _with_notify_email --enable-notify_email
1391 %else
1392 %define _with_notify_email --disable-notify_email
1393 %endif
1394
1395 %if %{with_notify_nagios}
1396 %define _with_notify_nagios --enable-notify_nagios
1397 %else
1398 %define _with_notify_nagios --disable-notify_nagios
1399 %endif
1400
1401 %if %{with_ntpd}
1402 %define _with_ntpd --enable-ntpd
1403 %else
1404 %define _with_ntpd --disable-ntpd
1405 %endif
1406
1407 %if %{with_numa}
1408 %define _with_numa --enable-numa
1409 %else
1410 %define _with_numa --disable-numa
1411 %endif
1412
1413 %if %{with_nut}
1414 %define _with_nut --enable-nut
1415 %else
1416 %define _with_nut --disable-nut
1417 %endif
1418
1419 %if %{with_olsrd}
1420 %define _with_olsrd --enable-olsrd
1421 %else
1422 %define _with_olsrd --disable-olsrd
1423 %endif
1424
1425 %if %{with_onewire}
1426 %define _with_onewire --enable-onewire
1427 %else
1428 %define _with_onewire --disable-onewire
1429 %endif
1430
1431 %if %{with_openldap}
1432 %define _with_openldap --enable-openldap
1433 %else
1434 %define _with_openldap --disable-openldap
1435 %endif
1436
1437 %if %{with_openvpn}
1438 %define _with_openvpn --enable-openvpn
1439 %else
1440 %define _with_openvpn --disable-openvpn
1441 %endif
1442
1443 %if %{with_oracle}
1444 %define _with_oracle --enable-oracle
1445 %else
1446 %define _with_oracle --disable-oracle
1447 %endif
1448
1449 %if %{with_perl}
1450 %define _with_perl --enable-perl --with-perl-bindings="INSTALLDIRS=vendor"
1451 %else
1452 %define _with_perl --disable-perl
1453 %endif
1454
1455 %if %{with_pf}
1456 %define _with_pf --enable-pf
1457 %else
1458 %define _with_pf --disable-pf
1459 %endif
1460
1461 %if %{with_pinba}
1462 %define _with_pinba --enable-pinba
1463 %else
1464 %define _with_pinba --disable-pinba
1465 %endif
1466
1467 %if %{with_ping}
1468 %define _with_ping --enable-ping
1469 %else
1470 %define _with_ping --disable-ping
1471 %endif
1472
1473 %if %{with_postgresql}
1474 %define _with_postgresql --enable-postgresql
1475 %else
1476 %define _with_postgresql --disable-postgresql
1477 %endif
1478
1479 %if %{with_powerdns}
1480 %define _with_powerdns --enable-powerdns
1481 %else
1482 %define _with_powerdns --disable-powerdns
1483 %endif
1484
1485 %if %{with_processes}
1486 %define _with_processes --enable-processes
1487 %else
1488 %define _with_processes --disable-processes
1489 %endif
1490
1491 %if %{with_protocols}
1492 %define _with_protocols --enable-protocols
1493 %else
1494 %define _with_protocols --disable-protocols
1495 %endif
1496
1497 %if %{with_python}
1498         %if 0%{?rhel} && 0%{?rhel} < 6
1499 %define _with_python --enable-python --with-python=%{_bindir}/python2.6
1500 %define _python_config PYTHON_CONFIG="%{_bindir}/python2.6-config"
1501         %else
1502 %define _with_python --enable-python
1503         %endif
1504 %else
1505 %define _with_python --disable-python
1506 %endif
1507
1508 %if %{with_redis}
1509 %define _with_redis --enable-redis
1510 %else
1511 %define _with_redis --disable-redis
1512 %endif
1513
1514 %if %{with_routeros}
1515 %define _with_routeros --enable-routeros
1516 %else
1517 %define _with_routeros --disable-routeros
1518 %endif
1519
1520 %if %{with_rrdcached}
1521 %define _with_rrdcached --enable-rrdcached
1522 %else
1523 %define _with_rrdcached --disable-rrdcached
1524 %endif
1525
1526 %if %{with_rrdtool}
1527 %define _with_rrdtool --enable-rrdtool
1528 %else
1529 %define _with_rrdtool --disable-rrdtool
1530 %endif
1531
1532 %if %{with_sensors}
1533 %define _with_sensors --enable-sensors
1534 %else
1535 %define _with_sensors --disable-sensors
1536 %endif
1537
1538 %if %{with_serial}
1539 %define _with_serial --enable-serial
1540 %else
1541 %define _with_serial --disable-serial
1542 %endif
1543
1544 %if %{with_sigrok}
1545 %define _with_sigrok --enable-sigrok
1546 %else
1547 %define _with_sigrok --disable-sigrok
1548 %endif
1549
1550 %if %{with_smart}
1551 %define _with_smart --enable-smart
1552 %else
1553 %define _with_smart --disable-smart
1554 %endif
1555
1556 %if %{with_snmp}
1557 %define _with_snmp --enable-snmp
1558 %else
1559 %define _with_snmp --disable-snmp
1560 %endif
1561
1562 %if %{with_statsd}
1563 %define _with_statsd --enable-statsd
1564 %else
1565 %define _with_statsd --disable-statsd
1566 %endif
1567
1568 %if %{with_swap}
1569 %define _with_swap --enable-swap
1570 %else
1571 %define _with_swap --disable-swap
1572 %endif
1573
1574 %if %{with_syslog}
1575 %define _with_syslog --enable-syslog
1576 %else
1577 %define _with_syslog --disable-syslog
1578 %endif
1579
1580 %if %{with_table}
1581 %define _with_table --enable-table
1582 %else
1583 %define _with_table --disable-table
1584 %endif
1585
1586 %if %{with_tail}
1587 %define _with_tail --enable-tail
1588 %else
1589 %define _with_tail --disable-tail
1590 %endif
1591
1592 %if %{with_tail_csv}
1593 %define _with_tail_csv --enable-tail_csv
1594 %else
1595 %define _with_tail_csv --disable-tail_csv
1596 %endif
1597
1598 %if %{with_tape}
1599 %define _with_tape --enable-tape
1600 %else
1601 %define _with_tape --disable-tape
1602 %endif
1603
1604 %if %{with_tcpconns}
1605 %define _with_tcpconns --enable-tcpconns
1606 %else
1607 %define _with_tcpconns --disable-tcpconns
1608 %endif
1609
1610 %if %{with_teamspeak2}
1611 %define _with_teamspeak2 --enable-teamspeak2
1612 %else
1613 %define _with_teamspeak2 --disable-teamspeak2
1614 %endif
1615
1616 %if %{with_ted}
1617 %define _with_ted --enable-ted
1618 %else
1619 %define _with_ted --disable-ted
1620 %endif
1621
1622 %if %{with_thermal}
1623 %define _with_thermal --enable-thermal
1624 %else
1625 %define _with_thermal --disable-thermal
1626 %endif
1627
1628 %if %{with_threshold}
1629 %define _with_threshold --enable-threshold
1630 %else
1631 %define _with_threshold --disable-threshold
1632 %endif
1633
1634 %if %{with_tokyotyrant}
1635 %define _with_tokyotyrant --enable-tokyotyrant
1636 %else
1637 %define _with_tokyotyrant --disable-tokyotyrant
1638 %endif
1639
1640 %if %{with_turbostat}
1641 %define _with_turbostat --enable-turbostat
1642 %else
1643 %define _with_turbostat --disable-turbostat
1644 %endif
1645
1646 %if %{with_unixsock}
1647 %define _with_unixsock --enable-unixsock
1648 %else
1649 %define _with_unixsock --disable-unixsock
1650 %endif
1651
1652 %if %{with_uptime}
1653 %define _with_uptime --enable-uptime
1654 %else
1655 %define _with_uptime --disable-uptime
1656 %endif
1657
1658 %if %{with_users}
1659 %define _with_users --enable-users
1660 %else
1661 %define _with_users --disable-users
1662 %endif
1663
1664 %if %{with_uuid}
1665 %define _with_uuid --enable-uuid
1666 %else
1667 %define _with_uuid --disable-uuid
1668 %endif
1669
1670 %if %{with_varnish}
1671 %define _with_varnish --enable-varnish
1672 %else
1673 %define _with_varnish --disable-varnish
1674 %endif
1675
1676 %if %{with_vmem}
1677 %define _with_vmem --enable-vmem
1678 %else
1679 %define _with_vmem --disable-vmem
1680 %endif
1681
1682 %if %{with_vserver}
1683 %define _with_vserver --enable-vserver
1684 %else
1685 %define _with_vserver --disable-vserver
1686 %endif
1687
1688 %if %{with_wireless}
1689 %define _with_wireless --enable-wireless
1690 %else
1691 %define _with_wireless --disable-wireless
1692 %endif
1693
1694 %if %{with_write_graphite}
1695 %define _with_write_graphite --enable-write_graphite
1696 %else
1697 %define _with_write_graphite --disable-write_graphite
1698 %endif
1699
1700 %if %{with_write_http}
1701 %define _with_write_http --enable-write_http
1702 %else
1703 %define _with_write_http --disable-write_http
1704 %endif
1705
1706 %if %{with_write_kafka}
1707 %define _with_write_kafka --enable-write_kafka
1708 %else
1709 %define _with_write_kafka --disable-write_kafka
1710 %endif
1711
1712 %if %{with_write_log}
1713 %define _with_write_log --enable-write_log
1714 %else
1715 %define _with_write_log --disable-write_log
1716 %endif
1717
1718 %if %{with_write_mongodb}
1719 %define _with_write_mongodb --enable-write_mongodb
1720 %else
1721 %define _with_write_mongodb --disable-write_mongodb
1722 %endif
1723
1724 %if %{with_write_prometheus}
1725 %define _with_write_prometheus --enable-write_prometheus
1726 %else
1727 %define _with_write_prometheus --disable-write_prometheus
1728 %endif
1729
1730 %if %{with_write_redis}
1731 %define _with_write_redis --enable-write_redis
1732 %else
1733 %define _with_write_redis --disable-write_redis
1734 %endif
1735
1736 %if %{with_write_riemann}
1737 %define _with_write_riemann --enable-write_riemann
1738 %else
1739 %define _with_write_riemann --disable-write_riemann
1740 %endif
1741
1742 %if %{with_write_sensu}
1743 %define _with_write_sensu --enable-write_sensu
1744 %else
1745 %define _with_write_sensu --disable-write_sensu
1746 %endif
1747
1748 %if %{with_write_tsdb}
1749 %define _with_write_tsdb --enable-write_tsdb
1750 %else
1751 %define _with_write_tsdb --disable-write_tsdb
1752 %endif
1753
1754 %if %{with_xencpu}
1755 %define _with_xencpu --enable-xencpu
1756 %else
1757 %define _with_xencpu --disable-xencpu
1758 %endif
1759
1760 %if %{with_xmms}
1761 %define _with_xmms --enable-xmms
1762 %else
1763 %define _with_xmms --disable-xmms
1764 %endif
1765
1766 %if %{with_zfs_arc}
1767 %define _with_zfs_arc --enable-zfs_arc
1768 %else
1769 %define _with_zfs_arc --disable-zfs_arc
1770 %endif
1771
1772 %if %{with_zone}
1773 %define _with_zone --enable-zone
1774 %else
1775 %define _with_zone --disable-zone
1776 %endif
1777
1778 %if %{with_zookeeper}
1779 %define _with_zookeeper --enable-zookeeper
1780 %else
1781 %define _with_zookeeper --disable-zookeeper
1782 %endif
1783
1784 %configure CFLAGS="%{optflags} -DLT_LAZY_OR_NOW=\"RTLD_LAZY|RTLD_GLOBAL\"" \
1785         %{?_python_config} \
1786         --disable-static \
1787         --enable-all-plugins=yes \
1788         --enable-match_empty_counter \
1789         --enable-match_hashed \
1790         --enable-match_regex \
1791         --enable-match_timediff \
1792         --enable-match_value \
1793         --enable-target_notification \
1794         --enable-target_replace \
1795         --enable-target_scale \
1796         --enable-target_set \
1797         --enable-target_v5upgrade \
1798         %{?_with_aggregation} \
1799         %{?_with_amqp} \
1800         %{?_with_apache} \
1801         %{?_with_apcups} \
1802         %{?_with_apple_sensors} \
1803         %{?_with_aquaero} \
1804         %{?_with_ascent} \
1805         %{?_with_barometer} \
1806         %{?_with_battery} \
1807         %{?_with_bind} \
1808         %{?_with_ceph} \
1809         %{?_with_cgroups} \
1810         %{?_with_chrony} \
1811         %{?_with_conntrack} \
1812         %{?_with_contextswitch} \
1813         %{?_with_cpufreq} \
1814         %{?_with_cpusleep} \
1815         %{?_with_cpu} \
1816         %{?_with_csv} \
1817         %{?_with_curl_json} \
1818         %{?_with_curl_xml} \
1819         %{?_with_curl} \
1820         %{?_with_dbi} \
1821         %{?_with_df} \
1822         %{?_with_disk} \
1823         %{?_with_dns} \
1824         %{?_with_drbd} \
1825         %{?_with_dpdkstat} \
1826         %{?_with_email} \
1827         %{?_with_entropy} \
1828         %{?_with_ethstat} \
1829         %{?_with_exec} \
1830         %{?_with_fhcount} \
1831         %{?_with_filecount} \
1832         %{?_with_fscache} \
1833         %{?_with_gmond} \
1834         %{?_with_gps} \
1835         %{?_with_grpc} \
1836         %{?_with_hddtemp} \
1837         %{?_with_hugepages} \
1838         %{?_with_intel_rdt} \
1839         %{?_with_interface} \
1840         %{?_with_ipc} \
1841         %{?_with_ipmi} \
1842         %{?_with_iptables} \
1843         %{?_with_ipvs} \
1844         %{?_with_irq} \
1845         %{?_with_java} \
1846         %{?_with_load} \
1847         %{?_with_log_logstash} \
1848         %{?_with_logfile} \
1849         %{?_with_lpar} \
1850         %{?_with_lua} \
1851         %{?_with_lvm} \
1852         %{?_with_madwifi} \
1853         %{?_with_mbmon} \
1854         %{?_with_mcelog} \
1855         %{?_with_md} \
1856         %{?_with_memcachec} \
1857         %{?_with_memcached} \
1858         %{?_with_memory} \
1859         %{?_with_mic} \
1860         %{?_with_modbus} \
1861         %{?_with_mqtt} \
1862         %{?_with_multimeter} \
1863         %{?_with_mysql} \
1864         %{?_with_netapp} \
1865         %{?_with_netlink} \
1866         %{?_with_network} \
1867         %{?_with_nfs} \
1868         %{?_with_nginx} \
1869         %{?_with_notify_desktop} \
1870         %{?_with_notify_email} \
1871         %{?_with_notify_nagios} \
1872         %{?_with_ntpd} \
1873         %{?_with_numa} \
1874         %{?_with_nut} \
1875         %{?_with_olsrd} \
1876         %{?_with_onewire} \
1877         %{?_with_openldap} \
1878         %{?_with_openvpn} \
1879         %{?_with_oracle} \
1880         %{?_with_perl} \
1881         %{?_with_pf} \
1882         %{?_with_pinba} \
1883         %{?_with_ping} \
1884         %{?_with_postgresql} \
1885         %{?_with_powerdns} \
1886         %{?_with_processes} \
1887         %{?_with_protocols} \
1888         %{?_with_python} \
1889         %{?_with_redis} \
1890         %{?_with_routeros} \
1891         %{?_with_rrdcached} \
1892         %{?_with_rrdtool} \
1893         %{?_with_sensors} \
1894         %{?_with_serial} \
1895         %{?_with_sigrok} \
1896         %{?_with_smart} \
1897         %{?_with_snmp} \
1898         %{?_with_statsd} \
1899         %{?_with_swap} \
1900         %{?_with_syslog} \
1901         %{?_with_table} \
1902         %{?_with_tail_csv} \
1903         %{?_with_tail} \
1904         %{?_with_tape} \
1905         %{?_with_tcpconns} \
1906         %{?_with_teamspeak2} \
1907         %{?_with_ted} \
1908         %{?_with_thermal} \
1909         %{?_with_threshold} \
1910         %{?_with_tokyotyrant} \
1911         %{?_with_turbostat} \
1912         %{?_with_unixsock} \
1913         %{?_with_uptime} \
1914         %{?_with_users} \
1915         %{?_with_uuid} \
1916         %{?_with_varnish} \
1917         %{?_with_virt} \
1918         %{?_with_vmem} \
1919         %{?_with_vserver} \
1920         %{?_with_wireless}\
1921         %{?_with_write_graphite} \
1922         %{?_with_write_http} \
1923         %{?_with_write_http} \
1924         %{?_with_write_kafka} \
1925         %{?_with_write_log} \
1926         %{?_with_write_mongodb} \
1927         %{?_with_write_prometheus} \
1928         %{?_with_write_redis} \
1929         %{?_with_write_riemann} \
1930         %{?_with_write_sensu} \
1931         %{?_with_write_tsdb} \
1932         %{?_with_xencpu} \
1933         %{?_with_xmms} \
1934         %{?_with_zfs_arc} \
1935         %{?_with_zone} \
1936         %{?_with_zookeeper}
1937
1938
1939 %{__make} %{?_smp_mflags}
1940
1941
1942 %install
1943 rm -rf %{buildroot}
1944 %{__make} install DESTDIR=%{buildroot}
1945 %if 0%{?fedora} || 0%{?rhel} >= 7
1946 %{__install} -Dp -m0644 contrib/systemd.collectd.service %{buildroot}%{_unitdir}/collectd.service
1947 %else
1948 %{__install} -Dp -m0755 contrib/redhat/init.d-collectd %{buildroot}%{_initrddir}/collectd
1949 %endif
1950 %{__install} -Dp -m0644 src/collectd.conf %{buildroot}%{_sysconfdir}/collectd.conf
1951 %{__install} -d %{buildroot}%{_sharedstatedir}/collectd/
1952 %{__install} -d %{buildroot}%{_sysconfdir}/collectd.d/
1953
1954 %{__mkdir} -p %{buildroot}%{_localstatedir}/www
1955 %{__mkdir} -p %{buildroot}/%{_sysconfdir}/httpd/conf.d
1956
1957 %{__mv} contrib/collection3 %{buildroot}%{_localstatedir}/www
1958 %{__mv} contrib/redhat/collection3.conf %{buildroot}/%{_sysconfdir}/httpd/conf.d/
1959
1960 %{__mv} contrib/php-collection %{buildroot}%{_localstatedir}/www
1961 %{__mv} contrib/redhat/php-collection.conf %{buildroot}/%{_sysconfdir}/httpd/conf.d/
1962
1963 ### Clean up docs
1964 find contrib/ -type f -exec %{__chmod} a-x {} \;
1965 # *.la files shouldn't be distributed.
1966 rm -f %{buildroot}/%{_libdir}/{collectd/,}*.la
1967
1968 # Remove Perl hidden .packlist files.
1969 find %{buildroot} -type f -name .packlist -delete
1970 # Remove Perl temporary file perllocal.pod
1971 find %{buildroot} -type f -name perllocal.pod -delete
1972
1973 %if ! %{with_java}
1974 rm -f %{buildroot}%{_datadir}/collectd/java/collectd-api.jar
1975 rm -f %{buildroot}%{_datadir}/collectd/java/generic-jmx.jar
1976 rm -f %{buildroot}%{_mandir}/man5/collectd-java.5*
1977 %endif
1978
1979 %if ! %{with_lua}
1980 rm -f %{buildroot}%{_mandir}/man5/collectd-lua.5*
1981 %endif
1982
1983 %if ! %{with_perl}
1984 rm -f %{buildroot}%{_mandir}/man5/collectd-perl.5*
1985 rm -f %{buildroot}%{_mandir}/man3/Collectd::Unixsock.3pm*
1986 rm -fr %{buildroot}/usr/lib/perl5/
1987 %endif
1988
1989 %if ! %{with_postgresql}
1990 rm -f %{buildroot}%{_datadir}/collectd/postgresql_default.conf
1991 %endif
1992
1993 %if ! %{with_python}
1994 rm -f %{buildroot}%{_mandir}/man5/collectd-python.5*
1995 %endif
1996
1997 %if ! %{with_snmp}
1998 rm -f %{buildroot}%{_mandir}/man5/collectd-snmp.5*
1999 %endif
2000
2001
2002 %clean
2003 rm -rf %{buildroot}
2004
2005 %post
2006 %if 0%{?fedora} || 0%{?rhel} >= 7
2007 %systemd_post collectd.service
2008 %else
2009 /sbin/chkconfig --add collectd || :
2010 %endif
2011
2012 %preun
2013 %if 0%{?fedora} || 0%{?rhel} >= 7
2014 %systemd_preun collectd.service
2015 %else
2016 # stop collectd only when uninstalling
2017 if [ $1 -eq 0 ]; then
2018         /sbin/service collectd stop >/dev/null 2>&1 || :
2019         /sbin/chkconfig --del collectd || :
2020 fi
2021 %endif
2022
2023 %postun
2024 %if 0%{?fedora} || 0%{?rhel} >= 7
2025 %systemd_postun_with_restart collectd.service
2026 %else
2027 # restart collectd only when upgrading
2028 if [ $1 -eq 1 ]; then
2029         /sbin/service collectd condrestart >/dev/null 2>&1 || :
2030 fi
2031 %endif
2032
2033 %post -n libcollectdclient -p /sbin/ldconfig
2034 %postun -n libcollectdclient -p /sbin/ldconfig
2035
2036
2037 %files
2038 %doc AUTHORS COPYING ChangeLog README
2039 %config(noreplace) %{_sysconfdir}/collectd.conf
2040 %if 0%{?fedora} || 0%{?rhel} >= 7
2041 %{_unitdir}/collectd.service
2042 %else
2043 %{_initrddir}/collectd
2044 %endif
2045 %{_sbindir}/collectd
2046 %{_sbindir}/collectdmon
2047 %{_datadir}/collectd/types.db
2048 %{_sharedstatedir}/collectd
2049 %{_mandir}/man1/collectd.1*
2050 %{_mandir}/man1/collectdmon.1*
2051 %{_mandir}/man5/collectd-email.5*
2052 %{_mandir}/man5/collectd-exec.5*
2053 %{_mandir}/man5/collectd-threshold.5*
2054 %{_mandir}/man5/collectd-unixsock.5*
2055 %{_mandir}/man5/collectd.conf.5*
2056 %{_mandir}/man5/types.db.5*
2057
2058 # all plugins bundled with the main collectd package
2059 %{_libdir}/%{name}/match_empty_counter.so
2060 %{_libdir}/%{name}/match_hashed.so
2061 %{_libdir}/%{name}/match_regex.so
2062 %{_libdir}/%{name}/match_timediff.so
2063 %{_libdir}/%{name}/match_value.so
2064 %{_libdir}/%{name}/target_notification.so
2065 %{_libdir}/%{name}/target_replace.so
2066 %{_libdir}/%{name}/target_scale.so
2067 %{_libdir}/%{name}/target_set.so
2068 %{_libdir}/%{name}/target_v5upgrade.so
2069
2070 %if %{with_aggregation}
2071 %{_libdir}/%{name}/aggregation.so
2072 %endif
2073 %if %{with_apcups}
2074 %{_libdir}/%{name}/apcups.so
2075 %endif
2076 %if %{with_battery}
2077 %{_libdir}/%{name}/battery.so
2078 %endif
2079 %if %{with_cgroups}
2080 %{_libdir}/%{name}/cgroups.so
2081 %endif
2082 %if %{with_conntrack}
2083 %{_libdir}/%{name}/conntrack.so
2084 %endif
2085 %if %{with_contextswitch}
2086 %{_libdir}/%{name}/contextswitch.so
2087 %endif
2088 %if %{with_cpu}
2089 %{_libdir}/%{name}/cpu.so
2090 %endif
2091 %if %{with_cpufreq}
2092 %{_libdir}/%{name}/cpufreq.so
2093 %endif
2094 %if %{with_cpusleep}
2095 %{_libdir}/%{name}/cpusleep.so
2096 %endif
2097 %if %{with_csv}
2098 %{_libdir}/%{name}/csv.so
2099 %endif
2100 %if %{with_df}
2101 %{_libdir}/%{name}/df.so
2102 %endif
2103 %if %{with_drbd}
2104 %{_libdir}/%{name}/drbd.so
2105 %endif
2106 %if %{with_dpdkstat}
2107 %{_libdir}/%{name}/dpdkstat.so
2108 %endif
2109 %if %{with_ethstat}
2110 %{_libdir}/%{name}/ethstat.so
2111 %endif
2112 %if %{with_entropy}
2113 %{_libdir}/%{name}/entropy.so
2114 %endif
2115 %if %{with_exec}
2116 %{_libdir}/%{name}/exec.so
2117 %endif
2118 %if %{with_fhcount}
2119 %{_libdir}/%{name}/fhcount.so
2120 %endif
2121 %if %{with_filecount}
2122 %{_libdir}/%{name}/filecount.so
2123 %endif
2124 %if %{with_fscache}
2125 %{_libdir}/%{name}/fscache.so
2126 %endif
2127 %if %{with_hugepages}
2128 %{_libdir}/%{name}/hugepages.so
2129 %endif
2130 %if %{with_interface}
2131 %{_libdir}/%{name}/interface.so
2132 %endif
2133 %if %{with_ipc}
2134 %{_libdir}/%{name}/ipc.so
2135 %endif
2136 %if %{with_ipvs}
2137 %{_libdir}/%{name}/ipvs.so
2138 %endif
2139 %if %{with_irq}
2140 %{_libdir}/%{name}/irq.so
2141 %endif
2142 %if %{with_load}
2143 %{_libdir}/%{name}/load.so
2144 %endif
2145 %if %{with_logfile}
2146 %{_libdir}/%{name}/logfile.so
2147 %endif
2148 %if %{with_madwifi}
2149 %{_libdir}/%{name}/madwifi.so
2150 %endif
2151 %if %{with_mbmon}
2152 %{_libdir}/%{name}/mbmon.so
2153 %endif
2154 %if %{with_mcelog}
2155 %{_libdir}/%{name}/mcelog.so
2156 %endif
2157 %if %{with_md}
2158 %{_libdir}/%{name}/md.so
2159 %endif
2160 %if %{with_memcached}
2161 %{_libdir}/%{name}/memcached.so
2162 %endif
2163 %if %{with_memory}
2164 %{_libdir}/%{name}/memory.so
2165 %endif
2166 %if %{with_multimeter}
2167 %{_libdir}/%{name}/multimeter.so
2168 %endif
2169 %if %{with_network}
2170 %{_libdir}/%{name}/network.so
2171 %endif
2172 %if %{with_nfs}
2173 %{_libdir}/%{name}/nfs.so
2174 %endif
2175 %if %{with_notify_nagios}
2176 %{_libdir}/%{name}/notify_nagios.so
2177 %endif
2178 %if %{with_ntpd}
2179 %{_libdir}/%{name}/ntpd.so
2180 %endif
2181 %if %{with_numa}
2182 %{_libdir}/%{name}/numa.so
2183 %endif
2184 %if %{with_openvpn}
2185 %{_libdir}/%{name}/openvpn.so
2186 %endif
2187 %if %{with_olsrd}
2188 %{_libdir}/%{name}/olsrd.so
2189 %endif
2190 %if %{with_powerdns}
2191 %{_libdir}/%{name}/powerdns.so
2192 %endif
2193 %if %{with_processes}
2194 %{_libdir}/%{name}/processes.so
2195 %endif
2196 %if %{with_protocols}
2197 %{_libdir}/%{name}/protocols.so
2198 %endif
2199 %if %{with_serial}
2200 %{_libdir}/%{name}/serial.so
2201 %endif
2202 %if %{with_statsd}
2203 %{_libdir}/%{name}/statsd.so
2204 %endif
2205 %if %{with_swap}
2206 %{_libdir}/%{name}/swap.so
2207 %endif
2208 %if %{with_syslog}
2209 %{_libdir}/%{name}/syslog.so
2210 %endif
2211 %if %{with_table}
2212 %{_libdir}/%{name}/table.so
2213 %endif
2214 %if %{with_tail}
2215 %{_libdir}/%{name}/tail.so
2216 %endif
2217 %if %{with_tail_csv}
2218 %{_libdir}/%{name}/tail_csv.so
2219 %endif
2220 %if %{with_tcpconns}
2221 %{_libdir}/%{name}/tcpconns.so
2222 %endif
2223 %if %{with_teamspeak2}
2224 %{_libdir}/%{name}/teamspeak2.so
2225 %endif
2226 %if %{with_ted}
2227 %{_libdir}/%{name}/ted.so
2228 %endif
2229 %if %{with_thermal}
2230 %{_libdir}/%{name}/thermal.so
2231 %endif
2232 %if %{with_threshold}
2233 %{_libdir}/%{name}/threshold.so
2234 %endif
2235 %if %{with_turbostat}
2236 %{_libdir}/%{name}/turbostat.so
2237 %endif
2238 %if %{with_unixsock}
2239 %{_libdir}/%{name}/unixsock.so
2240 %endif
2241 %if %{with_uptime}
2242 %{_libdir}/%{name}/uptime.so
2243 %endif
2244 %if %{with_users}
2245 %{_libdir}/%{name}/users.so
2246 %endif
2247 %if %{with_uuid}
2248 %{_libdir}/%{name}/uuid.so
2249 %endif
2250 %if %{with_vmem}
2251 %{_libdir}/%{name}/vmem.so
2252 %endif
2253 %if %{with_vserver}
2254 %{_libdir}/%{name}/vserver.so
2255 %endif
2256 %if %{with_wireless}
2257 %{_libdir}/%{name}/wireless.so
2258 %endif
2259 %if %{with_write_graphite}
2260 %{_libdir}/%{name}/write_graphite.so
2261 %endif
2262 %if %{with_write_log}
2263 %{_libdir}/%{name}/write_log.so
2264 %endif
2265 %if %{with_write_sensu}
2266 %{_libdir}/%{name}/write_sensu.so
2267 %endif
2268 %if %{with_write_tsdb}
2269 %{_libdir}/%{name}/write_tsdb.so
2270 %endif
2271 %if %{with_zfs_arc}
2272 %{_libdir}/%{name}/zfs_arc.so
2273 %endif
2274 %if %{with_zookeeper}
2275 %{_libdir}/%{name}/zookeeper.so
2276 %endif
2277
2278 %files -n libcollectdclient-devel
2279 %{_includedir}/collectd/client.h
2280 %{_includedir}/collectd/network.h
2281 %{_includedir}/collectd/network_buffer.h
2282 %{_includedir}/collectd/lcc_features.h
2283 %{_libdir}/pkgconfig/libcollectdclient.pc
2284 %{_libdir}/libcollectdclient.so
2285
2286 %files -n libcollectdclient
2287 %{_libdir}/libcollectdclient.so.*
2288
2289 %files -n collectd-utils
2290 %{_bindir}/collectd-nagios
2291 %{_bindir}/collectd-tg
2292 %{_bindir}/collectdctl
2293 %{_mandir}/man1/collectdctl.1*
2294 %{_mandir}/man1/collectd-nagios.1*
2295 %{_mandir}/man1/collectd-tg.1*
2296
2297 %if %{with_amqp}
2298 %files amqp
2299 %{_libdir}/%{name}/amqp.so
2300 %endif
2301
2302 %if %{with_apache}
2303 %files apache
2304 %{_libdir}/%{name}/apache.so
2305 %endif
2306
2307 %if %{with_aquaero}
2308 %files aquaero
2309 %{_libdir}/%{name}/aquaero.so
2310 %endif
2311
2312 %if %{with_ascent}
2313 %files ascent
2314 %{_libdir}/%{name}/ascent.so
2315 %endif
2316
2317 %if %{with_barometer}
2318 %files barometer
2319 %{_libdir}/%{name}/barometer.so
2320 %endif
2321
2322 %if %{with_bind}
2323 %files bind
2324 %{_libdir}/%{name}/bind.so
2325 %endif
2326
2327 %if %{with_ceph}
2328 %files ceph
2329 %{_libdir}/%{name}/ceph.so
2330 %endif
2331
2332 %if %{with_chrony}
2333 %files chrony
2334 %{_libdir}/%{name}/chrony.so
2335 %endif
2336
2337 %if %{with_curl}
2338 %files curl
2339 %{_libdir}/%{name}/curl.so
2340 %endif
2341
2342 %if %{with_curl_json}
2343 %files curl_json
2344 %{_libdir}/%{name}/curl_json.so
2345 %endif
2346
2347 %if %{with_curl_xml}
2348 %files curl_xml
2349 %{_libdir}/%{name}/curl_xml.so
2350 %endif
2351
2352 %if %{with_disk}
2353 %files disk
2354 %{_libdir}/%{name}/disk.so
2355 %endif
2356
2357 %if %{with_dns}
2358 %files dns
2359 %{_libdir}/%{name}/dns.so
2360 %endif
2361
2362 %if %{with_dbi}
2363 %files dbi
2364 %{_libdir}/%{name}/dbi.so
2365 %endif
2366
2367 %if %{with_email}
2368 %files email
2369 %{_libdir}/%{name}/email.so
2370 %endif
2371
2372 %if %{with_gmond}
2373 %files gmond
2374 %{_libdir}/%{name}/gmond.so
2375 %endif
2376
2377 %if %{with_gps}
2378 %files gps
2379 %{_libdir}/%{name}/gps.so
2380 %endif
2381
2382 %if %{with_grpc}
2383 %files grpc
2384 %{_libdir}/%{name}/grpc.so
2385 %endif
2386
2387 %if %{with_hddtemp}
2388 %files hddtemp
2389 %{_libdir}/%{name}/hddtemp.so
2390 %endif
2391
2392 %if %{with_intel_rdt}
2393 %files intel_rdt
2394 %{_libdir}/%{name}/intel_rdt.so
2395 %endif
2396
2397 %if %{with_ipmi}
2398 %files ipmi
2399 %{_libdir}/%{name}/ipmi.so
2400 %endif
2401
2402 %if %{with_iptables}
2403 %files iptables
2404 %{_libdir}/%{name}/iptables.so
2405 %endif
2406
2407 %if %{with_java}
2408 %files java
2409 %{_datadir}/collectd/java/collectd-api.jar
2410 %{_datadir}/collectd/java/generic-jmx.jar
2411 %{_libdir}/%{name}/java.so
2412 %{_mandir}/man5/collectd-java.5*
2413 %endif
2414
2415 %if %{with_virt}
2416 %files virt
2417 %{_libdir}/%{name}/virt.so
2418 %endif
2419
2420 %if %{with_log_logstash}
2421 %files log_logstash
2422 %{_libdir}/%{name}/log_logstash.so
2423 %endif
2424
2425 %if %{with_lua}
2426 %files lua
2427 %{_mandir}/man5/collectd-lua*
2428 %{_libdir}/%{name}/lua.so
2429 %endif
2430
2431 %if %{with_lvm}
2432 %files lvm
2433 %{_libdir}/%{name}/lvm.so
2434 %endif
2435
2436 %if %{with_memcachec}
2437 %files memcachec
2438 %{_libdir}/%{name}/memcachec.so
2439 %endif
2440
2441 %if %{with_mic}
2442 %files mic
2443 %{_libdir}/%{name}/mic.so
2444 %endif
2445
2446 %if %{with_modbus}
2447 %files modbus
2448 %{_libdir}/%{name}/modbus.so
2449 %endif
2450
2451 %if %{with_mqtt}
2452 %files mqtt
2453 %{_libdir}/%{name}/mqtt.so
2454 %endif
2455
2456 %if %{with_mysql}
2457 %files mysql
2458 %{_libdir}/%{name}/mysql.so
2459 %endif
2460
2461 %if %{with_netlink}
2462 %files netlink
2463 %{_libdir}/%{name}/netlink.so
2464 %endif
2465
2466 %if %{with_nginx}
2467 %files nginx
2468 %{_libdir}/%{name}/nginx.so
2469 %endif
2470
2471 %if %{with_notify_desktop}
2472 %files notify_desktop
2473 %{_libdir}/%{name}/notify_desktop.so
2474 %endif
2475
2476 %if %{with_notify_email}
2477 %files notify_email
2478 %{_libdir}/%{name}/notify_email.so
2479 %endif
2480
2481 %if %{with_nut}
2482 %files nut
2483 %{_libdir}/%{name}/nut.so
2484 %endif
2485
2486 %if %{with_openldap}
2487 %files openldap
2488 %{_libdir}/%{name}/openldap.so
2489 %endif
2490
2491 %if %{with_perl}
2492 %files perl
2493 %{perl_vendorlib}/Collectd.pm
2494 %{perl_vendorlib}/Collectd/
2495 %{_mandir}/man3/Collectd::Unixsock.3pm*
2496 %{_mandir}/man5/collectd-perl.5*
2497 %{_libdir}/%{name}/perl.so
2498 %endif
2499
2500 %if %{with_pinba}
2501 %files pinba
2502 %{_libdir}/%{name}/pinba.so
2503 %endif
2504
2505 %if %{with_ping}
2506 %files ping
2507 %{_libdir}/%{name}/ping.so
2508 %endif
2509
2510 %if %{with_postgresql}
2511 %files postgresql
2512 %{_datadir}/collectd/postgresql_default.conf
2513 %{_libdir}/%{name}/postgresql.so
2514 %endif
2515
2516 %if %{with_python}
2517 %files python
2518 %{_mandir}/man5/collectd-python*
2519 %{_libdir}/%{name}/python.so
2520 %endif
2521
2522 %if %{with_redis}
2523 %files redis
2524 %{_libdir}/%{name}/redis.so
2525 %endif
2526
2527 %if %{with_rrdcached}
2528 %files rrdcached
2529 %{_libdir}/%{name}/rrdcached.so
2530 %endif
2531
2532 %if %{with_rrdtool}
2533 %files rrdtool
2534 %{_libdir}/%{name}/rrdtool.so
2535 %endif
2536
2537 %if %{with_sensors}
2538 %files sensors
2539 %{_libdir}/%{name}/sensors.so
2540 %endif
2541
2542 %if %{with_sigrok}
2543 %files sigrok
2544 %{_libdir}/%{name}/sigrok.so
2545 %endif
2546
2547 %if %{with_smart}
2548 %files smart
2549 %{_libdir}/%{name}/smart.so
2550 %endif
2551
2552 %if %{with_snmp}
2553 %files snmp
2554 %{_mandir}/man5/collectd-snmp.5*
2555 %{_libdir}/%{name}/snmp.so
2556 %endif
2557
2558 %if %{with_varnish}
2559 %files varnish
2560 %{_libdir}/%{name}/varnish.so
2561 %endif
2562
2563 %if %{with_write_http}
2564 %files write_http
2565 %{_libdir}/%{name}/write_http.so
2566 %endif
2567
2568 %if %{with_write_kafka}
2569 %files write_kafka
2570 %{_libdir}/%{name}/write_kafka.so
2571 %endif
2572
2573 %if %{with_write_prometheus}
2574 %files write_prometheus
2575 %{_libdir}/%{name}/write_prometheus.so
2576 %endif
2577
2578 %if %{with_write_redis}
2579 %files write_redis
2580 %{_libdir}/%{name}/write_redis.so
2581 %endif
2582
2583 %if %{with_write_riemann}
2584 %files write_riemann
2585 %{_libdir}/%{name}/write_riemann.so
2586 %endif
2587
2588 %if %{with_xencpu}
2589 %files xencpu
2590 %{_libdir}/%{name}/xencpu.so
2591 %endif
2592
2593 %if %{with_xmms}
2594 %files xmms
2595 %{_libdir}/%{name}/xmms.so
2596 %endif
2597
2598 %files collection3
2599 %{_localstatedir}/www/collection3
2600 %{_sysconfdir}/httpd/conf.d/collection3.conf
2601
2602 %files php-collection
2603 %{_localstatedir}/www/php-collection
2604 %{_sysconfdir}/httpd/conf.d/php-collection.conf
2605
2606 %files contrib
2607 %doc contrib/
2608
2609 %changelog
2610 * Sat Dec 31 2016 Ruben Kerkhof <ruben@rubenkerkhof.com> - 5.7.0-3
2611 - Add new mcelog plugin
2612
2613 * Tue Nov 29 2016 Ruben Kerkhof <ruben@rubenkerkhof.com> - 5.7.0-2
2614 - Disable redis plugin on RHEL 6, hiredis has been retired from EPEL6
2615
2616 * Mon Oct 10 2016 Marc Fournier <marc.fournier@camptocamp.com> - 5.7.0-1
2617 - New PRE-RELEASE version
2618 - New plugins enabled by default: hugepages, write_prometheus
2619 - New plugins disabled by default: dpdkstat, intel_rdt
2620
2621 * Mon Oct 10 2016 Victor Demonchy <v.demonchy@criteo.com> - 5.6.1-1
2622 - New upstream version
2623
2624 * Sun Aug 14 2016 Ruben Kerkhof <ruben@rubenkerkhof.com> - 5.6.0-1
2625 - New upstream version
2626 - New plugins enabled by default: chrony, cpusleep, gps, lua, mqtt, notify_nagios
2627 - New plugins disabled by default: grpc, xencpu, zone
2628
2629 * Tue Jul 26 2016 Ruben Kerkhof <ruben@rubenkerkhof.com> - 5.5.2-1
2630 - New upstream version
2631 - Contains fix for CVE-2016-6254
2632 - Change collectd.org url to https
2633
2634 * Sat Jun 04 2016 Ruben Kerkhof <ruben@rubenkerkhof.com> 5.5.1-1
2635 - New upstream version
2636
2637 * Wed May 27 2015 Marc Fournier <marc.fournier@camptocamp.com> 5.5.0-1
2638 - New upstream version
2639 - New plugins enabled by default: ceph, drbd, log_logstash, write_tsdb, smart,
2640   openldap, redis, write_redis, zookeeper, write_log, write_sensu, ipc,
2641   turbostat, fhcount
2642 - New plugins disabled by default: barometer, write_kafka
2643 - Enable zfs_arc, now supported on Linux
2644 - Install disk plugin in a dedicated package, as it depends on libudev
2645 - use systemd on EL7, sysvinit on EL6 & EL5
2646 - Install collectdctl, collectd-tg and collectd-nagios in collectd-utils.rpm
2647 - Add build-dependency on libcap-devel
2648
2649 * Mon Aug 19 2013 Marc Fournier <marc.fournier@camptocamp.com> 5.4.2-1
2650 - New upstream version
2651 - Build netlink plugin by default
2652 - Enable cgroups, lvm and statsd plugins
2653 - Enable (but don't build by default) mic, aquaero and sigrok plugins
2654 - Enable modbus, memcachec and xmms plugins on RHEL7
2655
2656 * Tue Aug 06 2013 Marc Fournier <marc.fournier@camptocamp.com> 5.3.1-1
2657 - New upstream version
2658 - Added RHEL5 support:
2659   * conditionally disable plugins not building on this platform
2660   * add/specify some build dependencies and options
2661   * replace some RPM macros not available on this platform
2662 - Removed duplicate --enable-aggregation
2663 - Added some comments & usage examples
2664 - Replaced a couple of "Buildrequires" by "BuildRequires"
2665 - Enabled modbus plugin on RHEL6
2666 - Enabled netlink plugin on RHEL6 and RHEL7
2667 - Allow perl plugin to build on RHEL5
2668 - Add support for RHEL7
2669 - Misc perl-related improvements:
2670   * prevent rpmbuild from extracting dependencies from files in /usr/share/doc
2671   * don't package collection3 and php-collection twice
2672   * keep perl scripts from contrib/ in collectd-contrib
2673
2674 * Wed Apr 10 2013 Marc Fournier <marc.fournier@camptocamp.com> 5.3.0-1
2675 - New upstream version
2676 - Enabled write_riemann plugin
2677 - Enabled tail_csv plugin
2678 - Installed collectd-tc manpage
2679
2680 * Fri Jan 11 2013 Marc Fournier <marc.fournier@camptocamp.com> 5.2.0-3
2681 - remove dependency on libstatgrab, which isn't required on linux
2682
2683 * Thu Jan 03 2013 Marc Fournier <marc.fournier@camptocamp.com> 5.2.0-2
2684 - collection3 and php-collection viewers are now in separate packages
2685
2686 * Fri Dec 21 2012 Marc Fournier <marc.fournier@camptocamp.com> 5.2.0-1
2687 - New upstream version
2688 - Enabled aggregation plugin
2689 - Installed collectd-tc
2690 - Added network.h and network_buffer.h to libcollectdclient-devel
2691 - Moved libxml2-devel and libcurl-devel BRs to relevant plugins sections
2692 - Moved libcollectdclient.so from libcollectdclient-devel to libcollectdclient
2693 - Added rrdcached and redis plugin descriptions
2694 - Mentioned new pf plugin in disabled plugins list
2695
2696 * Sun Nov 18 2012 Ruben Kerkhof <ruben@tilaa.nl> 5.1.0-3
2697 - Follow Fedora Packaging Guidelines in java subpackage
2698
2699 * Sat Nov 17 2012 Ruben Kerkhof <ruben@tilaa.nl> 5.1.0-2
2700 - Move perl stuff to perl_vendorlib
2701 - Replace hardcoded paths with macros
2702 - Remove unnecessary Requires
2703 - Removed .a and .la files
2704 - Some other small cleanups
2705
2706 * Fri Nov 16 2012 Marc Fournier <marc.fournier@camptocamp.com> 5.1.0-1
2707 - New upstream version
2708 - Changes to support 5.1.0
2709 - Enabled all buildable plugins based on libraries available on EL6 + EPEL
2710 - All plugins requiring external libraries are now shipped in separate
2711   packages.
2712 - No longer treat Java plugin as an exception, correctly set $JAVA_HOME during
2713   the build process + ensure build deps are installed.
2714 - Dropped per-plugin configuration files, as they tend to diverge from upstream
2715   defaults.
2716 - Moved perl stuff to /usr/share/perl5/
2717 - Don't alter Interval and ReadThreads by default, let the user change this
2718   himself.
2719 - Initscript improvements:
2720   * checks configuration before (re)starting, based on debian's initscript
2721   * use /etc/sysconfig instdead of /etc/default
2722   * include optional $ARGS in arguments passed to collectd.
2723 - Drop collection.cgi from main package, as it's been obsoleted by collection3
2724 - Moved contrib/ to its own package, to avoid cluttering the main package with
2725   non-essential stuff.
2726 - Replaced BuildPrereq by BuildRequires
2727
2728 * Mon Jan 03 2011 Monetate <jason.stelzer@monetate.com> 5.0.1
2729 - New upstream version
2730 - Changes to support 5.0.1
2731
2732 * Mon Jan 04 2010 Rackspace <stu.hood@rackspace.com> 4.9.0
2733 - New upstream version
2734 - Changes to support 4.9.0
2735 - Added support for Java/GenericJMX plugin
2736
2737 * Mon Mar 17 2008 RightScale <support@rightscale.com> 4.3.1
2738 - New upstream version
2739 - Changes to support 4.3.1
2740 - Added More Prereqs to support more plugins
2741 - Added support for perl plugin
2742
2743 * Mon Aug 06 2007 Kjell Randa <Kjell.Randa@broadpark.no> 4.0.6
2744 - New upstream version
2745
2746 * Wed Jul 25 2007 Kjell Randa <Kjell.Randa@broadpark.no> 4.0.5
2747 - New major releas
2748 - Changes to support 4.0.5
2749
2750 * Thu Jan 11 2007 Iain Lea <iain@bricbrac.de> 3.11.0-0
2751 - fixed spec file to build correctly on fedora core
2752 - added improved init.d script to work with chkconfig
2753 - added %%post and %%postun to call chkconfig automatically
2754
2755 * Sun Jul 09 2006 Florian octo Forster <octo@verplant.org> 3.10.0-1
2756 - New upstream version
2757
2758 * Sun Jun 25 2006 Florian octo Forster <octo@verplant.org> 3.9.4-1
2759 - New upstream version
2760
2761 * Thu Jun 01 2006 Florian octo Forster <octo@verplant.org> 3.9.3-1
2762 - New upstream version
2763
2764 * Tue May 09 2006 Florian octo Forster <octo@verplant.org> 3.9.2-1
2765 - New upstream version
2766
2767 * Tue May 09 2006 Florian octo Forster <octo@verplant.org> 3.8.5-1
2768 - New upstream version
2769
2770 * Fri Apr 21 2006 Florian octo Forster <octo@verplant.org> 3.9.1-1
2771 - New upstream version
2772
2773 * Fri Apr 14 2006 Florian octo Forster <octo@verplant.org> 3.9.0-1
2774 - New upstream version
2775 - Added the `apache' package.
2776
2777 * Tue Mar 14 2006 Florian octo Forster <octo@verplant.org> 3.8.2-1
2778 - New upstream version
2779
2780 * Mon Mar 13 2006 Florian octo Forster <octo@verplant.org> 3.8.1-1
2781 - New upstream version
2782
2783 * Thu Mar 09 2006 Florian octo Forster <octo@verplant.org> 3.8.0-1
2784 - New upstream version
2785
2786 * Sat Feb 18 2006 Florian octo Forster <octo@verplant.org> 3.7.2-1
2787 - Include `tape.so' so the build doesn't terminate because of missing files..
2788 - New upstream version
2789
2790 * Sat Feb 04 2006 Florian octo Forster <octo@verplant.org> 3.7.1-1
2791 - New upstream version
2792
2793 * Mon Jan 30 2006 Florian octo Forster <octo@verplant.org> 3.7.0-1
2794 - New upstream version
2795 - Removed the extra `hddtemp' package
2796
2797 * Tue Jan 24 2006 Florian octo Forster <octo@verplant.org> 3.6.2-1
2798 - New upstream version
2799
2800 * Fri Jan 20 2006 Florian octo Forster <octo@verplant.org> 3.6.1-1
2801 - New upstream version
2802
2803 * Fri Jan 20 2006 Florian octo Forster <octo@verplant.org> 3.6.0-1
2804 - New upstream version
2805 - Added config file, `collectd.conf(5)', `df.so'
2806 - Added package `collectd-mysql', dependency on `mysqlclient10 | mysql'
2807
2808 * Wed Dec 07 2005 Florian octo Forster <octo@verplant.org> 3.5.0-1
2809 - New upstream version
2810
2811 * Sat Nov 26 2005 Florian octo Forster <octo@verplant.org> 3.4.0-1
2812 - New upstream version
2813
2814 * Sat Nov 05 2005 Florian octo Forster <octo@verplant.org> 3.3.0-1
2815 - New upstream version
2816
2817 * Wed Oct 26 2005 Florian octo Forster <octo@verplant.org> 3.2.0-1
2818 - New upstream version
2819 - Added statement to remove the `*.la' files. This fixes a problem when
2820   `Unpackaged files terminate build' is in effect.
2821 - Added `processes.so*' to the main package
2822
2823 * Fri Oct 14 2005 Florian octo Forster <octo@verplant.org> 3.1.0-1
2824 - New upstream version
2825 - Added package `collectd-hddtemp'
2826
2827 * Fri Sep 30 2005 Florian octo Forster <octo@verplant.org> 3.0.0-1
2828 - New upstream version
2829 - Split the package into `collectd' and `collectd-sensors'
2830
2831 * Fri Sep 16 2005 Florian octo Forster <octo@verplant.org> 2.1.0-1
2832 - New upstream version
2833
2834 * Sat Sep 10 2005 Florian octo Forster <octo@verplant.org> 2.0.0-1
2835 - New upstream version
2836
2837 * Mon Aug 29 2005 Florian octo Forster <octo@verplant.org> 1.8.0-1
2838 - New upstream version
2839
2840 * Thu Aug 25 2005 Florian octo Forster <octo@verplant.org> 1.7.0-1
2841 - New upstream version
2842
2843 * Sun Aug 21 2005 Florian octo Forster <octo@verplant.org> 1.6.0-1
2844 - New upstream version
2845
2846 * Sun Jul 17 2005 Florian octo Forster <octo@verplant.org> 1.5.1-1
2847 - New upstream version
2848
2849 * Sun Jul 17 2005 Florian octo Forster <octo@verplant.org> 1.5-1
2850 - New upstream version
2851
2852 * Mon Jul 11 2005 Florian octo Forster <octo@verplant.org> 1.4.2-1
2853 - New upstream version
2854
2855 * Sat Jul 09 2005 Florian octo Forster <octo@verplant.org> 1.4-1
2856 - Built on RedHat 7.3