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