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.
9 # q: And how can I do that ?
10 # a: By following these instructions, using mock:
12 # - install and configure mock (https://fedoraproject.org/wiki/Projects/Mock)
14 # - enable the EPEL repository (http://dl.fedoraproject.org/pub/epel/) in the
15 # configuration files for your target systems (/etc/mock/*.cfg).
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)
21 # - copy this file in your ~/rpmbuild/SPECS/ directory. Make sure the
22 # "Version:" tag matches the version from the tarball.
24 # - build the SRPM first:
25 # mock -r centos-6-x86_64 --buildsrpm --spec ~/rpmbuild/SPECS/collectd.spec \
26 # --sources ~/rpmbuild/SOURCES/
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
32 # - you can also optionally enable/disable plugins which are disabled/enabled
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
38 %global _hardened_build 1
39 %{?perl_default_filter}
41 # disable collectd debug by default
44 # plugins enabled by default
45 %define with_aggregation 0%{!?_without_aggregation:1}
46 %define with_amqp 0%{!?_without_amqp:1}
47 %define with_amqp1 0%{!?_without_amqp1:1}
48 %define with_apache 0%{!?_without_apache:1}
49 %define with_apcups 0%{!?_without_apcups:1}
50 %define with_ascent 0%{!?_without_ascent:1}
51 %define with_battery 0%{!?_without_battery:1}
52 %define with_bind 0%{!?_without_bind:1}
53 %define with_ceph 0%{!?_without_ceph:1}
54 %define with_cgroups 0%{!?_without_cgroups:1}
55 %define with_chrony 0%{!?_without_chrony:1}
56 %define with_conntrack 0%{!?_without_conntrack:1}
57 %define with_contextswitch 0%{!?_without_contextswitch:1}
58 %define with_cpu 0%{!?_without_cpu:1}
59 %define with_cpufreq 0%{!?_without_cpufreq:1}
60 %define with_cpusleep 0%{!?_without_cpusleep:1}
61 %define with_csv 0%{!?_without_csv:1}
62 %define with_curl 0%{!?_without_curl:1}
63 %define with_curl_json 0%{!?_without_curl_json:1}
64 %define with_curl_xml 0%{!?_without_curl_xml:1}
65 %define with_dbi 0%{!?_without_dbi:1}
66 %define with_df 0%{!?_without_df:1}
67 %define with_disk 0%{!?_without_disk:1}
68 %define with_dns 0%{!?_without_dns:1}
69 %define with_drbd 0%{!?_without_drbd:1}
70 %define with_email 0%{!?_without_email:1}
71 %define with_entropy 0%{!?_without_entropy:1}
72 %define with_ethstat 0%{!?_without_ethstat:1}
73 %define with_exec 0%{!?_without_exec:1}
74 %define with_fhcount 0%{!?_without_fhcount:1}
75 %define with_filecount 0%{!?_without_filecount:1}
76 %define with_fscache 0%{!?_without_fscache:1}
77 %define with_gmond 0%{!?_without_gmond:1}
78 %define with_gps 0%{!?_without_gps:1}
79 %define with_hddtemp 0%{!?_without_hddtemp:1}
80 %define with_hugepages 0%{!?_without_hugepages:1}
81 %define with_interface 0%{!?_without_interface:1}
82 %define with_ipc 0%{!?_without_ipc:1}
83 %define with_ipmi 0%{!?_without_ipmi:1}
84 %define with_iptables 0%{!?_without_iptables:1}
85 %define with_ipvs 0%{!?_without_ipvs:1}
86 %define with_irq 0%{!?_without_irq:1}
87 %define with_java 0%{!?_without_java:1}
88 %define with_load 0%{!?_without_load:1}
89 %define with_log_logstash 0%{!?_without_log_logstash:1}
90 %define with_logfile 0%{!?_without_logfile:1}
91 %define with_lua 0%{!?_without_lua:1}
92 %define with_lvm 0%{!?_without_lvm:1}
93 %define with_madwifi 0%{!?_without_madwifi:1}
94 %define with_mbmon 0%{!?_without_mbmon:1}
95 %define with_mcelog 0%{!?_without_mcelog:1}
96 %define with_md 0%{!?_without_md:1}
97 %define with_memcachec 0%{!?_without_memcachec:1}
98 %define with_memcached 0%{!?_without_memcached:1}
99 %define with_memory 0%{!?_without_memory:1}
100 %define with_modbus 0%{!?_without_modbus:1}
101 %define with_mqtt 0%{!?_without_mqtt:1}
102 %define with_multimeter 0%{!?_without_multimeter:1}
103 %define with_mysql 0%{!?_without_mysql:1}
104 %define with_netlink 0%{!?_without_netlink:1}
105 %define with_network 0%{!?_without_network:1}
106 %define with_nfs 0%{!?_without_nfs:1}
107 %define with_nginx 0%{!?_without_nginx:1}
108 %define with_notify_desktop 0%{!?_without_notify_desktop:1}
109 %define with_notify_email 0%{!?_without_notify_email:1}
110 %define with_notify_nagios 0%{!?_without_notify_nagios:1}
111 %define with_ntpd 0%{!?_without_ntpd:1}
112 %define with_numa 0%{!?_without_numa:1}
113 %define with_nut 0%{!?_without_nut:1}
114 %define with_olsrd 0%{!?_without_olsrd:1}
115 %define with_openldap 0%{!?_without_openldap:1}
116 %define with_openvpn 0%{!?_without_openvpn:1}
117 %define with_ovs_events 0%{!?_without_ovs_events:1}
118 %define with_ovs_stats 0%{!?_without_ovs_stats:1}
119 %define with_perl 0%{!?_without_perl:1}
120 %define with_pinba 0%{!?_without_pinba:1}
121 %define with_ping 0%{!?_without_ping:1}
122 %define with_postgresql 0%{!?_without_postgresql:1}
123 %define with_powerdns 0%{!?_without_powerdns:1}
124 %define with_processes 0%{!?_without_processes:1}
125 %define with_protocols 0%{!?_without_protocols:1}
126 %define with_python 0%{!?_without_python:1}
127 %define with_redis 0%{!?_without_redis:1}
128 %define with_rrdcached 0%{!?_without_rrdcached:1}
129 %define with_rrdtool 0%{!?_without_rrdtool:1}
130 %define with_sensors 0%{!?_without_sensors:1}
131 %define with_serial 0%{!?_without_serial:1}
132 %define with_smart 0%{!?_without_smart:1}
133 %define with_snmp 0%{!?_without_snmp:1}
134 %define with_snmp_agent 0%{!?_without_snmp_agent:1}
135 %define with_statsd 0%{!?_without_statsd:1}
136 %define with_swap 0%{!?_without_swap:1}
137 %define with_synproxy 0%{!?_without_synproxy:0}
138 %define with_syslog 0%{!?_without_syslog:1}
139 %define with_table 0%{!?_without_table:1}
140 %define with_tail 0%{!?_without_tail:1}
141 %define with_tail_csv 0%{!?_without_tail_csv:1}
142 %define with_tcpconns 0%{!?_without_tcpconns:1}
143 %define with_teamspeak2 0%{!?_without_teamspeak2:1}
144 %define with_ted 0%{!?_without_ted:1}
145 %define with_thermal 0%{!?_without_thermal:1}
146 %define with_threshold 0%{!?_without_threshold:1}
147 %define with_turbostat 0%{!?_without_turbostat:1}
148 %define with_unixsock 0%{!?_without_unixsock:1}
149 %define with_uptime 0%{!?_without_uptime:1}
150 %define with_users 0%{!?_without_users:1}
151 %define with_uuid 0%{!?_without_uuid:1}
152 %define with_varnish 0%{!?_without_varnish:1}
153 %define with_virt 0%{!?_without_virt:1}
154 %define with_vmem 0%{!?_without_vmem:1}
155 %define with_vserver 0%{!?_without_vserver:1}
156 %define with_wireless 0%{!?_without_wireless:1}
157 %define with_write_graphite 0%{!?_without_write_graphite:1}
158 %define with_write_http 0%{!?_without_write_http:1}
159 %define with_write_log 0%{!?_without_write_log:1}
160 %define with_write_prometheus 0%{!?_without_write_prometheus:1}
161 %define with_write_redis 0%{!?_without_write_redis:1}
162 %define with_write_riemann 0%{!?_without_write_riemann:1}
163 %define with_write_sensu 0%{!?_without_write_sensu:1}
164 %define with_write_syslog 0%{!?_without_write_syslog:1}
165 %define with_write_tsdb 0%{!?_without_write_tsdb:1}
166 %define with_xmms 0%{!?_without_xmms:0%{?_has_xmms}}
167 %define with_zfs_arc 0%{!?_without_zfs_arc:1}
168 %define with_zookeeper 0%{!?_without_zookeeper:1}
170 # Plugins not built by default because of dependencies on libraries not
171 # available in RHEL or EPEL:
173 # plugin apple_sensors disabled, requires a Mac
174 %define with_apple_sensors 0%{!?_without_apple_sensors:0}
175 # plugin aquaero disabled, requires a libaquaero5
176 %define with_aquaero 0%{!?_without_aquaero:0}
177 # plugin barometer disabled, requires a libi2c
178 %define with_barometer 0%{!?_without_barometer:0}
179 # plugin dpdkevents disabled, requires libdpdk
180 %define with_dpdkevents 0%{!?_without_dpdkevents:0}
181 # plugin dpdkstat disabled, requires libdpdk
182 %define with_dpdkstat 0%{!?_without_dpdkstat:0}
183 # plugin grpc disabled, requires protobuf-compiler >= 3.0
184 %define with_grpc 0%{!?_without_grpc:0}
185 # plugin lpar disabled, requires AIX
186 %define with_lpar 0%{!?_without_lpar:0}
187 # plugin intel_pmu disabled, requires libjevents
188 %define with_intel_pmu 0%{!?_without_intel_pmu:0}
189 # plugin intel_rdt disabled, requires intel-cmt-cat
190 %define with_intel_rdt 0%{!?_without_intel_rdt:0}
191 # plugin mic disabled, requires Mic
192 %define with_mic 0%{!?_without_mic:0}
193 # plugin netapp disabled, requires libnetapp
194 %define with_netapp 0%{!?_without_netapp:0}
195 # plugin onewire disabled, requires libowfs
196 %define with_onewire 0%{!?_without_onewire:0}
197 # plugin oracle disabled, requires Oracle
198 %define with_oracle 0%{!?_without_oracle:0}
199 # plugin oracle disabled, requires BSD
200 %define with_pf 0%{!?_without_pf:0}
201 # plugin routeros disabled, requires librouteros
202 %define with_routeros 0%{!?_without_routeros:0}
203 # plugin sigrok disabled, requires libsigrok
204 %define with_sigrok 0%{!?_without_sigrok:0}
205 # plugin tape disabled, requires libkstat
206 %define with_tape 0%{!?_without_tape:0}
207 # plugin tokyotyrant disabled, requires tcrdb.h
208 %define with_tokyotyrant 0%{!?_without_tokyotyrant:0}
209 # plugin write_kafka disabled, requires librdkafka
210 %define with_write_kafka 0%{!?_without_write_kafka:0}
211 # plugin write_mongodb disabled, requires libmongoc
212 %define with_write_mongodb 0%{!?_without_write_mongodb:0}
213 # plugin xencpu disabled, requires xen-devel from non-default repo
214 %define with_xencpu 0%{!?_without_xencpu:0}
215 # plugin zone disabled, requires Solaris
216 %define with_zone 0%{!?_without_zone:0}
218 # Plugins not buildable on RHEL < 6
219 %if 0%{?rhel} && 0%{?rhel} < 6
221 %define with_curl_json 0
222 %define with_log_logstash 0
224 %define with_ethstat 0
226 %define with_iptables 0
229 %define with_modbus 0
230 %define with_netlink 0
233 %define with_turbostat 0
234 %define with_write_prometheus 0
235 %define with_write_redis 0
236 %define with_write_riemann 0
239 # Plugins not buildable on RHEL < 7
240 %if 0%{?rhel} && 0%{?rhel} < 7
241 %define with_cpusleep 0
244 %define with_ovs_events 0
245 %define with_ovs_stats 0
247 %define with_rrdcached 0
248 %define with_write_redis 0
249 %define with_write_riemann 0
253 Summary: Statistics collection and monitoring daemon
257 URL: https://collectd.org
258 Source: https://collectd.org/files/%{name}-%{version}.tar.bz2
260 Group: System Environment/Daemons
261 BuildRoot: %{_tmppath}/%{name}-%{version}-root
262 BuildRequires: libgcrypt-devel, kernel-headers, libcap-devel, which
263 Vendor: collectd development team <collectd@verplant.org>
265 %if 0%{?fedora} || 0%{?rhel} >= 7
266 BuildRequires: xfsprogs-devel
268 BuildRequires: systemd
270 Requires(post): chkconfig
271 Requires(preun): chkconfig, initscripts
272 Requires(postun): initscripts
276 collectd is a small daemon which collects system information periodically and
277 provides mechanisms to monitor and store the values in a variety of ways. It
278 is written in C for performance. Since the daemon doesn't need to start up
279 every time it wants to update the values it's very fast and easy on the
280 system. Also, the statistics are very fine grained since the files are updated
281 every 10 seconds by default.
285 Summary: AMQP 0.9 plugin for collectd
286 Group: System Environment/Daemons
287 Requires: %{name}%{?_isa} = %{version}-%{release}
288 BuildRequires: librabbitmq-devel
290 The AMQP 0.9 plugin transmits or receives values collected by collectd via the
291 Advanced Message Queuing Protocol v0.9 (AMQP).
296 Summary: AMQP 1.0 plugin for collectd
297 Group: System Environment/Daemons
298 Requires: %{name}%{?_isa} = %{version}-%{release}
299 BuildRequires: qpid-proton-c-devel
301 The AMQP 1.0 plugin transmits or receives values collected by collectd via the
302 Advanced Message Queuing Protocol v1.0 (AMQP1).
307 Summary: Apache plugin for collectd
308 Group: System Environment/Daemons
309 Requires: %{name}%{?_isa} = %{version}-%{release}
310 BuildRequires: curl-devel
312 This plugin collects data provided by Apache's `mod_status'.
317 Summary: aquaero plugin for collectd
318 Group: System Environment/Daemons
319 Requires: %{name}%{?_isa} = %{version}-%{release}
321 Various sensors in the Aquaero 5 watercooling board made by Aquacomputer.
326 Summary: Ascent plugin for collectd
327 Group: System Environment/Daemons
328 Requires: %{name}%{?_isa} = %{version}-%{release}
329 BuildRequires: libxml2-devel, curl-devel
331 The Ascent plugin reads and parses the statistics page of Ascent, a free and
332 open-source server software for the game World of Warcraft by Blizzard
336 %if %{with_barometer}
338 Summary: barometer plugin for collectd
339 Group: System Environment/Daemons
340 Requires: %{name}%{?_isa} = %{version}-%{release}
341 %description barometer
342 Collects pressure and temperature from digital barometers.
347 Summary: Bind plugin for collectd
348 Group: System Environment/Daemons
349 Requires: %{name}%{?_isa} = %{version}-%{release}
350 BuildRequires: libxml2-devel, curl-devel
352 The BIND plugin retrieves this information that's encoded in XML and provided
353 via HTTP and submits the values to collectd.
358 Summary: Ceph plugin for collectd
359 Group: System Environment/Daemons
360 Requires: %{name}%{?_isa} = %{version}-%{release}
361 BuildRequires: yajl-devel
363 Ceph plugin for collectd
368 Summary: Chrony plugin for collectd
369 Group: System Environment/Daemons
370 Requires: %{name}%{?_isa} = %{version}-%{release}
372 Chrony plugin for collectd
377 Summary: Curl plugin for collectd
378 Group: System Environment/Daemons
379 Requires: %{name}%{?_isa} = %{version}-%{release}
380 BuildRequires: curl-devel
382 The cURL plugin uses libcurl to read files and then parses them according to
386 %if %{with_curl_json}
388 Summary: Curl_json plugin for collectd
389 Group: System Environment/Daemons
390 Requires: %{name}%{?_isa} = %{version}-%{release}
391 BuildRequires: curl-devel, yajl-devel
392 %description curl_json
393 The cURL-JSON plugin queries JavaScript Object Notation (JSON) data using the
394 cURL library and parses it according to the user's configuration.
399 Summary: Curl_xml plugin for collectd
400 Group: System Environment/Daemons
401 Requires: %{name}%{?_isa} = %{version}-%{release}
402 BuildRequires: curl-devel, libxml2-devel
403 %description curl_xml
404 The cURL-XML plugin reads files using libcurl and parses it as Extensible
405 Markup Language (XML).
410 Summary: DBI plugin for collectd
411 Group: System Environment/Daemons
412 Requires: %{name}%{?_isa} = %{version}-%{release}
413 BuildRequires: libdbi-devel
415 The DBI plugin uses libdbi, a database abstraction library, to execute SQL
416 statements on a database and read back the result.
421 Summary: disk plugin for collectd
422 Group: System Environment/Daemons
423 Requires: %{name}%{?_isa} = %{version}-%{release}
424 %{?_has_libudev:BuildRequires: libudev-devel}
426 The "disk" plugin collects information about the usage of physical disks and
427 logical disks (partitions).
432 Summary: DNS plugin for collectd
433 Group: System Environment/Daemons
434 Requires: %{name}%{?_isa} = %{version}-%{release}, libpcap >= 1.0
435 BuildRequires: libpcap-devel >= 1.0
437 The DNS plugin has a similar functionality to dnstop: It uses libpcap to get a
438 copy of all traffic from/to port UDP/53 (that's the DNS port), interprets the
439 packets and collects statistics of your DNS traffic.
444 Summary: Email plugin for collectd
445 Group: System Environment/Daemons
446 Requires: %{name}%{?_isa} = %{version}-%{release}, spamassassin
448 This plugin collects data provided by spamassassin.
453 Summary: Gmond plugin for collectd
454 Group: System Environment/Daemons
455 Requires: %{name}%{?_isa} = %{version}-%{release}
456 BuildRequires: ganglia-devel
458 The gmond plugin subscribes to a Multicast group to receive data from gmond,
459 the client daemon of the Ganglia project.
464 Summary: GPS plugin for collectd
465 Group: System Environment/Daemons
466 Requires: %{name}%{?_isa} = %{version}-%{release}
467 BuildRequires: gpsd-devel
469 This plugin monitor gps related data through gpsd.
474 Summary: GRPC plugin for collectd
475 Group: System Environment/Daemons
476 Requires: %{name}%{?_isa} = %{version}-%{release}
477 BuildRequires: protobuf-compiler
479 This plugin embeds a gRPC server into Collectd.
484 Summary: Hddtemp plugin for collectd
485 Group: System Environment/Daemons
486 Requires: %{name}%{?_isa} = %{version}-%{release}, hddtemp
488 The HDDTemp plugin collects the temperature of hard disks. The temperatures are
489 provided via SMART and queried by the external hddtemp daemon.
492 %if %{with_intel_pmu}
494 Summary: Intel PMU plugin for collectd
495 Group: System Environment/Daemons
496 Requires: %{name}%{?_isa} = %{version}-%{release}
497 %description intel_pmu
498 The intel_pmu plugin reads performance counters provided by the Linux
499 kernel perf interface.
502 %if %{with_intel_rdt}
504 Summary: Intel RDT plugin for collectd
505 Group: System Environment/Daemons
506 Requires: %{name}%{?_isa} = %{version}-%{release}
507 BuildRequires: intel-cmt-cat
508 %description intel_rdt
509 The intel_rdt plugin collects information provided by monitoring features of
510 Intel Resource Director Technology (Intel(R) RDT).
515 Summary: IPMI plugin for collectd
516 Group: System Environment/Daemons
517 Requires: %{name}%{?_isa} = %{version}-%{release}
518 BuildRequires: OpenIPMI-devel
520 The IPMI plugin uses the OpenIPMI library to read hardware sensors from servers
521 using the Intelligent Platform Management Interface (IPMI).
526 Summary: IPtables plugin for collectd
527 Group: System Environment/Daemons
528 Requires: %{name}%{?_isa} = %{version}-%{release}
529 BuildRequires: iptables-devel
530 %description iptables
531 The IPtables plugin can gather statistics from your ip_tables based packet
532 filter (aka. firewall) for both the IPv4 and the IPv6 protocol. It can collect
533 the byte- and packet-counters of selected rules and submit them to collectd.
538 Summary: Java plugin for collectd
539 Group: System Environment/Daemons
540 Requires: %{name}%{?_isa} = %{version}-%{release}
541 BuildRequires: java-devel >= 1.6, jpackage-utils >= 1.6
542 Requires: java >= 1.6, jpackage-utils >= 1.6
544 This plugin for collectd allows plugins to be written in Java and executed
548 %if %{with_log_logstash}
549 %package log_logstash
550 Summary: log_logstash plugin for collectd
551 Group: System Environment/Daemons
552 Requires: %{name}%{?_isa} = %{version}-%{release}
553 BuildRequires: yajl-devel
554 %description log_logstash
555 This plugin logs in logstash JSON format
560 Summary: Lua plugin for collectd
561 Group: System Environment/Daemons
562 Requires: %{name}%{?_isa} = %{version}-%{release}
563 BuildRequires: lua-devel
565 The Lua plugin embeds a Lua interpreter into collectd and exposes the
566 application programming interface (API) to Lua scripts.
571 Summary: LVM plugin for collectd
572 Group: System Environment/Daemons
573 Requires: %{name}%{?_isa} = %{version}-%{release}
574 BuildRequires: lvm2-devel
576 This plugin collects size of “Logical Volumes” (LV) and “Volume Groups” (VG)
577 of Linux' “Logical Volume Manager” (LVM).
582 Summary: Mcelog plugin for collectd
583 Group: System Environment/Daemons
584 Requires: %{name}%{?_isa} = %{version}-%{release}
586 This plugin monitors machine check exceptions reported by mcelog and generates
587 appropriate notifications when machine check exceptions are detected.
590 %if %{with_memcachec}
592 Summary: Memcachec plugin for collectd
593 Group: System Environment/Daemons
594 Requires: %{name}%{?_isa} = %{version}-%{release}
595 BuildRequires: libmemcached-devel
596 %description memcachec
597 The Memcachec plugin uses libmemcached to read statistics from a Memcached
598 instance. Note that another plugin, named `memcached', exists and does a
599 similar job, without requiring the installation of libmemcached.
604 Summary: mic plugin for collectd
605 Group: System Environment/Daemons
606 Requires: %{name}%{?_isa} = %{version}-%{release}
608 The mic plugin collects CPU usage, memory usage, temperatures and power
609 consumption from Intel Many Integrated Core (MIC) CPUs.
614 Summary: modbus plugin for collectd
615 Group: System Environment/Daemons
616 Requires: %{name}%{?_isa} = %{version}-%{release}
617 BuildRequires: libmodbus-devel
619 The modbus plugin collects values from Modbus/TCP enabled devices
624 Summary: MySQL plugin for collectd
625 Group: System Environment/Daemons
626 Requires: %{name}%{?_isa} = %{version}-%{release}
627 BuildRequires: mysql-devel
629 MySQL querying plugin. This plugin provides data of issued commands, called
630 handlers and database traffic.
635 Summary: mqtt plugin for collectd
636 Group: System Environment/Daemons
637 Requires: %{name}%{?_isa} = %{version}-%{release}
638 BuildRequires: mosquitto-devel
640 The MQTT plugin publishes and subscribes to MQTT topics.
645 Summary: netlink plugin for collectd
646 Group: System Environment/Daemons
647 Requires: %{name}%{?_isa} = %{version}-%{release}
648 BuildRequires: libmnl-devel, iproute-devel
650 The netlink plugin collects detailed network interface and routing statistics.
655 Summary: Nginx plugin for collectd
656 Group: System Environment/Daemons
657 Requires: %{name}%{?_isa} = %{version}-%{release}
658 BuildRequires: curl-devel
660 This plugin gets data provided by nginx.
663 %if %{with_notify_desktop}
664 %package notify_desktop
665 Summary: Notify_desktop plugin for collectd
666 Group: System Environment/Daemons
667 Requires: %{name}%{?_isa} = %{version}-%{release}
668 BuildRequires: libnotify-devel, gtk2-devel
669 %description notify_desktop
670 The Notify Desktop plugin uses libnotify to display notifications to the user
671 via the desktop notification specification, i. e. on an X display.
674 %if %{with_notify_email}
675 %package notify_email
676 Summary: Notify_email plugin for collectd
677 Group: System Environment/Daemons
678 Requires: %{name}%{?_isa} = %{version}-%{release}
679 BuildRequires: libesmtp-devel
680 %description notify_email
681 The Notify Email plugin uses libESMTP to send notifications to a configured
687 Summary: Nut plugin for collectd
688 Group: System Environment/Daemons
689 Requires: %{name}%{?_isa} = %{version}-%{release}
690 BuildRequires: nut-devel
692 This plugin for collectd provides Network UPS Tools support.
697 Summary: Openldap plugin for collectd
698 Group: System Environment/Daemons
699 Requires: %{name}%{?_isa} = %{version}-%{release}
700 BuildRequires: openldap-devel
701 %description openldap
702 This plugin reads monitoring information from OpenLDAP's cn=Monitor subtree.
705 %if %{with_ovs_events}
707 Summary: Open vSwitch events plugin for collectd
708 Group: System Environment/Daemons
709 Requires: %{name}%{?_isa} = %{version}-%{release}
710 BuildRequires: yajl-devel
711 %description ovs_events
712 This plugin monitors the link status of Open vSwitch (OVS) connected
713 interfaces, dispatches the values to collectd and sends notifications
714 whenever a link state change occurs in the OVS database.
717 %if %{with_ovs_stats}
719 Summary: Open vSwitch statistics plugin for collectd
720 Group: System Environment/Daemons
721 Requires: %{name}%{?_isa} = %{version}-%{release}
722 BuildRequires: yajl-devel
723 %description ovs_stats
724 This plugin collects statictics of OVS connected bridges and
730 Summary: Perl plugin for collectd
731 Group: System Environment/Daemons
732 Requires: %{name}%{?_isa} = %{version}-%{release}
733 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
734 %if 0%{?rhel} && 0%{?rhel} < 6
737 BuildRequires: perl-ExtUtils-Embed
740 The Perl plugin embeds a Perl interpreter into collectd and exposes the
741 application programming interface (API) to Perl-scripts.
746 Summary: Pinba plugin for collectd
747 Group: System Environment/Daemons
748 Requires: %{name}%{?_isa} = %{version}-%{release}
749 BuildRequires: protobuf-c-devel
751 The Pinba plugin receives and dispatches timing values from Pinba, a profiling
757 Summary: Ping plugin for collectd
758 Group: System Environment/Daemons
759 Requires: %{name}%{?_isa} = %{version}-%{release}
760 BuildRequires: liboping-devel
762 The Ping plugin measures network latency using ICMP “echo requests”, usually
766 %if %{with_postgresql}
768 Summary: PostgreSQL plugin for collectd
769 Group: System Environment/Daemons
770 Requires: %{name}%{?_isa} = %{version}-%{release}
771 BuildRequires: postgresql-devel
772 %description postgresql
773 The PostgreSQL plugin connects to and executes SQL statements on a PostgreSQL
779 Summary: Python plugin for collectd
780 Group: System Environment/Daemons
781 Requires: %{name}%{?_isa} = %{version}-%{release}
782 %if 0%{?rhel} && 0%{?rhel} < 6
783 BuildRequires: python26-devel
785 BuildRequires: python-devel
788 The Python plugin embeds a Python interpreter into collectd and exposes the
789 application programming interface (API) to Python-scripts.
794 Summary: Redis plugin for collectd
795 Group: System Environment/Daemons
796 Requires: %{name}%{?_isa} = %{version}-%{release}
797 BuildRequires: hiredis-devel
799 The Redis plugin connects to one or more instances of Redis, a key-value store,
800 and collects usage information using the hiredis library.
803 %if %{with_rrdcached}
805 Summary: RRDCached plugin for collectd
806 Group: System Environment/Daemons
807 Requires: %{name}%{?_isa} = %{version}-%{release}, rrdtool >= 1.4
808 BuildRequires: rrdtool-devel
809 %description rrdcached
810 The RRDCacheD plugin connects to the “RRD caching daemon”, rrdcached and
811 submits updates for RRD files to that daemon.
816 Summary: RRDtool plugin for collectd
817 Group: System Environment/Daemons
818 Requires: %{name}%{?_isa} = %{version}-%{release}
819 BuildRequires: rrdtool-devel
821 The RRDtool plugin writes values to RRD-files using librrd.
826 Summary: Sensors plugin for collectd
827 Group: System Environment/Daemons
828 Requires: %{name}%{?_isa} = %{version}-%{release}
829 BuildRequires: lm_sensors-devel
831 This plugin for collectd provides querying of sensors supported by lm_sensors.
836 Summary: sigrok plugin for collectd
837 Group: System Environment/Daemons
838 Requires: %{name}%{?_isa} = %{version}-%{release}
840 Uses libsigrok as a backend, allowing any sigrok-supported device to have its
841 measurements fed to collectd. This includes multimeters, sound level meters,
842 thermometers, and much more.
847 Summary: SMART plugin for collectd
848 Group: System Environment/Daemons
849 Requires: %{name}%{?_isa} = %{version}-%{release}
850 BuildRequires: libatasmart-devel
852 Collect SMART statistics, notably load cycle count, temperature and bad
858 Summary: SNMP plugin for collectd
859 Group: System Environment/Daemons
860 Requires: %{name}%{?_isa} = %{version}-%{release}
861 BuildRequires: net-snmp-devel
863 This plugin for collectd allows querying of network equipment using SNMP.
866 %if %{with_snmp_agent}
868 Summary: SNMP AgentX plugin for collectd
869 Group: System Environment/Daemons
870 Requires: %{name}%{?_isa} = %{version}-%{release}
871 BuildRequires: net-snmp-devel
872 %description snmp_agent
873 This plugin for collectd to support AgentX integration.
878 Summary: Varnish plugin for collectd
879 Group: System Environment/Daemons
880 Requires: %{name}%{?_isa} = %{version}-%{release}
881 BuildRequires: varnish-libs-devel
883 The Varnish plugin collects information about Varnish, an HTTP accelerator.
888 Summary: Virt plugin for collectd
889 Group: System Environment/Daemons
890 Requires: %{name}%{?_isa} = %{version}-%{release}
891 BuildRequires: libvirt-devel
893 This plugin collects information from virtualized guests.
896 %if %{with_write_http}
898 Summary: Write-HTTP plugin for collectd
899 Group: System Environment/Daemons
900 Requires: %{name}%{?_isa} = %{version}-%{release}
901 BuildRequires: curl-devel
902 %description write_http
903 The Write-HTTP plugin sends the values collected by collectd to a web-server
904 using HTTP POST requests.
907 %if %{with_write_kafka}
909 Summary: Write-kafka plugin for collectd
910 Group: System Environment/Daemons
911 Requires: %{name}%{?_isa} = %{version}-%{release}
912 BuildRequires: librdkafka-devel
913 %description write_kafka
914 The write_kafka plugin sends values to kafka, a distributed messaging system.
917 %if %{with_write_prometheus}
918 %package write_prometheus
919 Summary: Write-prometheus plugin for collectd
920 Group: System Environment/Daemons
921 Requires: %{name}%{?_isa} = %{version}-%{release}
922 BuildRequires: libmicrohttpd-devel
923 %description write_prometheus
924 The Write Prometheus plugin exposes collected values using an embedded HTTP
925 server, turning the collectd daemon into a Prometheus exporter.
928 %if %{with_write_redis}
930 Summary: Write-Redis plugin for collectd
931 Group: System Environment/Daemons
932 Requires: %{name}%{?_isa} = %{version}-%{release}
933 BuildRequires: hiredis-devel
934 %description write_redis
935 The Write Redis plugin stores values in Redis, a “data structures server”.
938 %if %{with_write_riemann}
939 %package write_riemann
940 Summary: riemann plugin for collectd
941 Group: System Environment/Daemons
942 Requires: %{name}%{?_isa} = %{version}-%{release}
943 BuildRequires: riemann-c-client-devel >= 1.6
944 %description write_riemann
945 The riemann plugin submits values to Riemann, an event stream processor.
950 Summary: xencpu plugin for collectd
951 Group: System Environment/Daemons
952 Requires: %{name}%{?_isa} = %{version}-%{release}
953 BuildRequires: xen-devel
955 The xencpu plugin collects CPU statistics from Xen.
960 Summary: XMMS plugin for collectd
961 Group: System Environment/Daemons
962 Requires: %{name}%{?_isa} = %{version}-%{release}
963 BuildRequires: xmms-devel
965 The xmms plugin collects information from the XMMS music player.
969 Summary: Web-based viewer for collectd
970 Group: System Environment/Daemons
971 Requires: %{name}%{?_isa} = %{version}-%{release}
973 %description collection3
974 collection3 is a graphing front-end for the RRD files created by and filled
975 with collectd. It is written in Perl and should be run as an CGI-script.
976 Graphs are generated on-the-fly, so no cron job or similar is necessary.
978 %package php-collection
979 Summary: collect php webfrontent
980 Group: System Environment/Daemons
981 Requires: collectd = %{version}-%{release}
984 Requires: php-rrdtool
985 %description php-collection
986 PHP graphing frontend for RRD files created by and filled with collectd.
989 Summary: Contrib files for collectd
990 Group: System Environment/Daemons
991 Requires: %{name}%{?_isa} = %{version}-%{release}
993 All the files found under contrib/ in the source tree are bundled in this
996 %package -n libcollectdclient
997 Summary: Collectd client library
998 Group: System Environment/Daemons
999 %description -n libcollectdclient
1000 Collectd client library
1002 %package -n libcollectdclient-devel
1003 Summary: Development files for libcollectdclient
1004 Group: System Environment/Daemons
1006 Requires: libcollectdclient%{?_isa} = %{version}-%{release}
1007 %description -n libcollectdclient-devel
1008 Development files for libcollectdclient
1010 %package -n collectd-utils
1011 Summary: Collectd utilities
1012 Group: System Environment/Daemons
1013 Requires: libcollectdclient%{?_isa} = %{version}-%{release}
1014 Requires: collectd%{?_isa} = %{version}-%{release}
1015 %description -n collectd-utils
1022 %if %{with_aggregation}
1023 %define _with_aggregation --enable-aggregation
1025 %define _with_aggregation --disable-aggregation
1029 %define _with_amqp --enable-amqp
1031 %define _with_amqp --disable-amqp
1035 %define _with_amqp1 --enable-amqp1
1037 %define _with_amqp1 --disable-amqp1
1041 %define _with_apache --enable-apache
1043 %define _with_apache --disable-apache
1047 %define _with_apcups --enable-apcups
1049 %define _with_apcups --disable-apcups
1052 %if %{with_apple_sensors}
1053 %define _with_apple_sensors --enable-apple_sensors
1055 %define _with_apple_sensors --disable-apple_sensors
1059 %define _with_aquaero --enable-aquaero
1061 %define _with_aquaero --disable-aquaero
1065 %define _with_ascent --enable-ascent
1067 %define _with_ascent --disable-ascent
1070 %if %{with_barometer}
1071 %define _with_barometer --enable-barometer
1073 %define _with_barometer --disable-barometer
1077 %define _with_battery --enable-battery
1079 %define _with_battery --disable-battery
1083 %define _with_bind --enable-bind
1085 %define _with_bind --disable-bind
1089 %define _with_cgroups --enable-cgroups
1091 %define _with_cgroups --disable-cgroups
1095 %define _with_chrony --enable-chrony
1097 %define _with_chrony --disable-chrony
1100 %if %{with_conntrack}
1101 %define _with_conntrack --enable-conntrack
1103 %define _with_conntrack --disable-conntrack
1106 %if %{with_contextswitch}
1107 %define _with_contextswitch --enable-contextswitch
1109 %define _with_contextswitch --disable-contextswitch
1113 %define _with_cpu --enable-cpu
1115 %define _with_cpu --disable-cpu
1119 %define _with_cpufreq --enable-cpufreq
1121 %define _with_cpufreq --disable-cpufreq
1124 %if %{with_cpusleep}
1125 %define _with_cpusleep --enable-cpusleep
1127 %define _with_cpusleep --disable-cpusleep
1131 %define _with_csv --enable-csv
1133 %define _with_csv --disable-csv
1137 %define _with_ceph --enable-ceph
1139 %define _with_ceph --disable-ceph
1143 %define _with_curl --enable-curl
1145 %define _with_curl --disable-curl
1148 %if %{with_curl_json}
1149 %define _with_curl_json --enable-curl_json
1151 %define _with_curl_json --disable-curl_json
1154 %if %{with_curl_xml}
1155 %define _with_curl_xml --enable-curl_xml
1157 %define _with_curl_xml --disable-curl_xml
1161 %define _with_dbi --enable-dbi
1163 %define _with_dbi --disable-dbi
1167 %define _with_df --enable-df
1169 %define _with_df --disable-df
1173 %define _with_disk --enable-disk
1175 %define _with_disk --disable-disk
1179 %define _with_dns --enable-dns
1181 %define _with_dns --disable-dns
1185 %define _with_drbd --enable-drbd
1187 %define _with_drbd --disable-drbd
1190 %if %{with_dpdkevents}
1191 %define _with_dpdkevents --enable-dpdkevents
1193 %define _with_dpdkevents --disable-dpdkevents
1196 %if %{with_dpdkstat}
1197 %define _with_dpdkstat --enable-dpdkstat
1199 %define _with_dpdkstat --disable-dpdkstat
1203 %define _with_email --enable-email
1205 %define _with_email --disable-email
1209 %define _with_entropy --enable-entropy
1211 %define _with_entropy --disable-entropy
1215 %define _with_ethstat --enable-ethstat
1217 %define _with_ethstat --disable-ethstat
1221 %define _with_exec --enable-exec
1223 %define _with_exec --disable-exec
1227 %define _with_fhcount --enable-fhcount
1229 %define _with_fhcount --disable-fhcount
1232 %if %{with_filecount}
1233 %define _with_filecount --enable-filecount
1235 %define _with_filecount --disable-filecount
1239 %define _with_fscache --enable-fscache
1241 %define _with_fscache --disable-fscache
1245 %define _with_gmond --enable-gmond
1247 %define _with_gmond --disable-gmond
1251 %define _with_gps --enable-gps
1253 %define _with_gps --disable-gps
1257 %define _with_grpc --enable-grpc
1259 %define _with_grpc --disable-grpc
1263 %define _with_hddtemp --enable-hddtemp
1265 %define _with_hddtemp --disable-hddtemp
1268 %if %{with_hugepages}
1269 %define _with_hugepages --enable-hugepages
1271 %define _with_hugepages --disable-hugepages
1274 %if %{with_intel_pmu}
1275 %define _with_intel_pmu --enable-intel_pmu
1277 %define _with_intel_pmu --disable-intel_pmu
1280 %if %{with_intel_rdt}
1281 %define _with_intel_rdt --enable-intel_rdt
1283 %define _with_intel_rdt --disable-intel_rdt
1286 %if %{with_interface}
1287 %define _with_interface --enable-interface
1289 %define _with_interface --disable-interface
1293 %define _with_ipc --enable-ipc
1295 %define _with_ipc --disable-ipc
1299 %define _with_ipmi --enable-ipmi
1301 %define _with_ipmi --disable-ipmi
1304 %if %{with_iptables}
1305 %define _with_iptables --enable-iptables
1307 %define _with_iptables --disable-iptables
1311 %define _with_ipvs --enable-ipvs
1313 %define _with_ipvs --disable-ipvs
1317 %define _with_irq --enable-irq
1319 %define _with_irq --disable-irq
1323 %define _with_java --enable-java --with-java=%{java_home}/
1325 %define _with_java --disable-java
1329 %define _with_virt --enable-virt
1331 %define _with_virt --disable-virt
1335 %define _with_load --enable-load
1337 %define _with_load --disable-load
1341 %define _with_logfile --enable-logfile
1343 %define _with_logfile --disable-logfile
1346 %if %{with_log_logstash}
1347 %define _with_log_logstash --enable-log_logstash
1349 %define _with_log_logstash --disable-log_logstash
1353 %define _with_lpar --enable-lpar
1355 %define _with_lpar --disable-lpar
1359 %define _with_lua --enable-lua
1361 %define _with_lua --disable-lua
1365 %define _with_lvm --enable-lvm
1367 %define _with_lvm --disable-lvm
1371 %define _with_madwifi --enable-madwifi
1373 %define _with_madwifi --disable-madwifi
1377 %define _with_mbmon --enable-mbmon
1379 %define _with_mbmon --disable-mbmon
1383 %define _with_mcelog --enable-mcelog
1385 %define _with_mcelog --disable-mcelog
1389 %define _with_md --enable-md
1391 %define _with_md --disable-md
1394 %if %{with_memcachec}
1395 %define _with_memcachec --enable-memcachec
1397 %define _with_memcachec --disable-memcachec
1400 %if %{with_memcached}
1401 %define _with_memcached --enable-memcached
1403 %define _with_memcached --disable-memcached
1407 %define _with_memory --enable-memory
1409 %define _with_memory --disable-memory
1413 %define _with_mic --enable-mic
1415 %define _with_mic --disable-mic
1419 %define _with_modbus --enable-modbus
1421 %define _with_modbus --disable-modbus
1424 %if %{with_multimeter}
1425 %define _with_multimeter --enable-multimeter
1427 %define _with_multimeter --disable-multimeter
1431 %define _with_mqtt --enable-mqtt
1433 %define _with_mqtt --disable-mqtt
1437 %define _with_mysql --enable-mysql
1439 %define _with_mysql --disable-mysql
1443 %define _with_netapp --enable-netapp
1445 %define _with_netapp --disable-netapp
1449 %define _with_netlink --enable-netlink
1451 %define _with_netlink --disable-netlink
1455 %define _with_network --enable-network
1457 %define _with_network --disable-network
1461 %define _with_nfs --enable-nfs
1463 %define _with_nfs --disable-nfs
1467 %define _with_nginx --enable-nginx
1469 %define _with_nginx --disable-nginx
1472 %if %{with_notify_desktop}
1473 %define _with_notify_desktop --enable-notify_desktop
1475 %define _with_notify_desktop --disable-notify_desktop
1478 %if %{with_notify_email}
1479 %define _with_notify_email --enable-notify_email
1481 %define _with_notify_email --disable-notify_email
1484 %if %{with_notify_nagios}
1485 %define _with_notify_nagios --enable-notify_nagios
1487 %define _with_notify_nagios --disable-notify_nagios
1491 %define _with_ntpd --enable-ntpd
1493 %define _with_ntpd --disable-ntpd
1497 %define _with_numa --enable-numa
1499 %define _with_numa --disable-numa
1503 %define _with_nut --enable-nut
1505 %define _with_nut --disable-nut
1509 %define _with_olsrd --enable-olsrd
1511 %define _with_olsrd --disable-olsrd
1515 %define _with_onewire --enable-onewire
1517 %define _with_onewire --disable-onewire
1520 %if %{with_openldap}
1521 %define _with_openldap --enable-openldap
1523 %define _with_openldap --disable-openldap
1527 %define _with_openvpn --enable-openvpn
1529 %define _with_openvpn --disable-openvpn
1533 %define _with_oracle --enable-oracle
1535 %define _with_oracle --disable-oracle
1538 %if %{with_ovs_events}
1539 %define _with_ovs_events --enable-ovs_events
1541 %define _with_ovs_events --disable-ovs_events
1544 %if %{with_ovs_stats}
1545 %define _with_ovs_stats --enable-ovs_stats
1547 %define _with_ovs_stats --disable-ovs_stats
1551 %define _with_perl --enable-perl --with-perl-bindings="INSTALLDIRS=vendor"
1553 %define _with_perl --disable-perl
1557 %define _with_pf --enable-pf
1559 %define _with_pf --disable-pf
1563 %define _with_pinba --enable-pinba
1565 %define _with_pinba --disable-pinba
1569 %define _with_ping --enable-ping
1571 %define _with_ping --disable-ping
1574 %if %{with_postgresql}
1575 %define _with_postgresql --enable-postgresql
1577 %define _with_postgresql --disable-postgresql
1580 %if %{with_powerdns}
1581 %define _with_powerdns --enable-powerdns
1583 %define _with_powerdns --disable-powerdns
1586 %if %{with_processes}
1587 %define _with_processes --enable-processes
1589 %define _with_processes --disable-processes
1592 %if %{with_protocols}
1593 %define _with_protocols --enable-protocols
1595 %define _with_protocols --disable-protocols
1599 %if 0%{?rhel} && 0%{?rhel} < 6
1600 %define _with_python --enable-python --with-python=%{_bindir}/python2.6
1601 %define _python_config PYTHON_CONFIG="%{_bindir}/python2.6-config"
1603 %define _with_python --enable-python
1606 %define _with_python --disable-python
1610 %define _with_redis --enable-redis
1612 %define _with_redis --disable-redis
1615 %if %{with_routeros}
1616 %define _with_routeros --enable-routeros
1618 %define _with_routeros --disable-routeros
1621 %if %{with_rrdcached}
1622 %define _with_rrdcached --enable-rrdcached
1624 %define _with_rrdcached --disable-rrdcached
1628 %define _with_rrdtool --enable-rrdtool
1630 %define _with_rrdtool --disable-rrdtool
1634 %define _with_sensors --enable-sensors
1636 %define _with_sensors --disable-sensors
1640 %define _with_serial --enable-serial
1642 %define _with_serial --disable-serial
1646 %define _with_sigrok --enable-sigrok
1648 %define _with_sigrok --disable-sigrok
1652 %define _with_smart --enable-smart
1654 %define _with_smart --disable-smart
1658 %define _with_snmp --enable-snmp
1660 %define _with_snmp --disable-snmp
1663 %if %{with_snmp_agent}
1664 %define _with_snmp_agent --enable-snmp_agent
1666 %define _with_snmp_agent --disable-snmp_agent
1670 %define _with_statsd --enable-statsd
1672 %define _with_statsd --disable-statsd
1676 %define _with_swap --enable-swap
1678 %define _with_swap --disable-swap
1681 %if %{with_synproxy}
1682 %define _with_synproxy --enable-synproxy
1684 %define _with_synproxy --disable-synproxy
1688 %define _with_syslog --enable-syslog
1690 %define _with_syslog --disable-syslog
1694 %define _with_table --enable-table
1696 %define _with_table --disable-table
1700 %define _with_tail --enable-tail
1702 %define _with_tail --disable-tail
1705 %if %{with_tail_csv}
1706 %define _with_tail_csv --enable-tail_csv
1708 %define _with_tail_csv --disable-tail_csv
1712 %define _with_tape --enable-tape
1714 %define _with_tape --disable-tape
1717 %if %{with_tcpconns}
1718 %define _with_tcpconns --enable-tcpconns
1720 %define _with_tcpconns --disable-tcpconns
1723 %if %{with_teamspeak2}
1724 %define _with_teamspeak2 --enable-teamspeak2
1726 %define _with_teamspeak2 --disable-teamspeak2
1730 %define _with_ted --enable-ted
1732 %define _with_ted --disable-ted
1736 %define _with_thermal --enable-thermal
1738 %define _with_thermal --disable-thermal
1741 %if %{with_threshold}
1742 %define _with_threshold --enable-threshold
1744 %define _with_threshold --disable-threshold
1747 %if %{with_tokyotyrant}
1748 %define _with_tokyotyrant --enable-tokyotyrant
1750 %define _with_tokyotyrant --disable-tokyotyrant
1753 %if %{with_turbostat}
1754 %define _with_turbostat --enable-turbostat
1756 %define _with_turbostat --disable-turbostat
1759 %if %{with_unixsock}
1760 %define _with_unixsock --enable-unixsock
1762 %define _with_unixsock --disable-unixsock
1766 %define _with_uptime --enable-uptime
1768 %define _with_uptime --disable-uptime
1772 %define _with_users --enable-users
1774 %define _with_users --disable-users
1778 %define _with_uuid --enable-uuid
1780 %define _with_uuid --disable-uuid
1784 %define _with_varnish --enable-varnish
1786 %define _with_varnish --disable-varnish
1790 %define _with_vmem --enable-vmem
1792 %define _with_vmem --disable-vmem
1796 %define _with_vserver --enable-vserver
1798 %define _with_vserver --disable-vserver
1801 %if %{with_wireless}
1802 %define _with_wireless --enable-wireless
1804 %define _with_wireless --disable-wireless
1807 %if %{with_write_graphite}
1808 %define _with_write_graphite --enable-write_graphite
1810 %define _with_write_graphite --disable-write_graphite
1813 %if %{with_write_http}
1814 %define _with_write_http --enable-write_http
1816 %define _with_write_http --disable-write_http
1819 %if %{with_write_kafka}
1820 %define _with_write_kafka --enable-write_kafka
1822 %define _with_write_kafka --disable-write_kafka
1825 %if %{with_write_log}
1826 %define _with_write_log --enable-write_log
1828 %define _with_write_log --disable-write_log
1831 %if %{with_write_mongodb}
1832 %define _with_write_mongodb --enable-write_mongodb
1834 %define _with_write_mongodb --disable-write_mongodb
1837 %if %{with_write_prometheus}
1838 %define _with_write_prometheus --enable-write_prometheus
1840 %define _with_write_prometheus --disable-write_prometheus
1843 %if %{with_write_redis}
1844 %define _with_write_redis --enable-write_redis
1846 %define _with_write_redis --disable-write_redis
1849 %if %{with_write_riemann}
1850 %define _with_write_riemann --enable-write_riemann
1852 %define _with_write_riemann --disable-write_riemann
1855 %if %{with_write_sensu}
1856 %define _with_write_sensu --enable-write_sensu
1858 %define _with_write_sensu --disable-write_sensu
1861 %if %{with_write_syslog}
1862 %define _with_write_syslog --enable-write_syslog
1864 %define _with_write_syslog --disable-write_syslog
1867 %if %{with_write_tsdb}
1868 %define _with_write_tsdb --enable-write_tsdb
1870 %define _with_write_tsdb --disable-write_tsdb
1874 %define _with_xencpu --enable-xencpu
1876 %define _with_xencpu --disable-xencpu
1880 %define _with_xmms --enable-xmms
1882 %define _with_xmms --disable-xmms
1886 %define _with_zfs_arc --enable-zfs_arc
1888 %define _with_zfs_arc --disable-zfs_arc
1892 %define _with_zone --enable-zone
1894 %define _with_zone --disable-zone
1897 %if %{with_zookeeper}
1898 %define _with_zookeeper --enable-zookeeper
1900 %define _with_zookeeper --disable-zookeeper
1904 %define _feature_debug --enable-debug
1906 %define _feature_debug --disable-debug
1909 %configure CFLAGS="%{optflags} -DLT_LAZY_OR_NOW=\"RTLD_LAZY|RTLD_GLOBAL\"" \
1910 %{?_python_config} \
1911 %{?_feature_debug} \
1913 --enable-all-plugins=yes \
1914 --enable-match_empty_counter \
1915 --enable-match_hashed \
1916 --enable-match_regex \
1917 --enable-match_timediff \
1918 --enable-match_value \
1919 --enable-target_notification \
1920 --enable-target_replace \
1921 --enable-target_scale \
1922 --enable-target_set \
1923 --enable-target_v5upgrade \
1924 %{?_with_aggregation} \
1929 %{?_with_apple_sensors} \
1932 %{?_with_barometer} \
1938 %{?_with_conntrack} \
1939 %{?_with_contextswitch} \
1941 %{?_with_cpusleep} \
1944 %{?_with_curl_json} \
1945 %{?_with_curl_xml} \
1952 %{?_with_dpdkevents} \
1953 %{?_with_dpdkstat} \
1959 %{?_with_filecount} \
1965 %{?_with_hugepages} \
1966 %{?_with_intel_pmu} \
1967 %{?_with_intel_rdt} \
1968 %{?_with_interface} \
1971 %{?_with_iptables} \
1976 %{?_with_log_logstash} \
1985 %{?_with_memcachec} \
1986 %{?_with_memcached} \
1991 %{?_with_multimeter} \
1998 %{?_with_notify_desktop} \
1999 %{?_with_notify_email} \
2000 %{?_with_notify_nagios} \
2006 %{?_with_openldap} \
2009 %{?_with_ovs_events} \
2010 %{?_with_ovs_stats} \
2015 %{?_with_postgresql} \
2016 %{?_with_powerdns} \
2017 %{?_with_processes} \
2018 %{?_with_protocols} \
2021 %{?_with_routeros} \
2022 %{?_with_rrdcached} \
2029 %{?_with_snmp_agent} \
2032 %{?_with_synproxy} \
2035 %{?_with_tail_csv} \
2038 %{?_with_tcpconns} \
2039 %{?_with_teamspeak2} \
2042 %{?_with_threshold} \
2043 %{?_with_tokyotyrant} \
2044 %{?_with_turbostat} \
2045 %{?_with_unixsock} \
2054 %{?_with_write_graphite} \
2055 %{?_with_write_http} \
2056 %{?_with_write_http} \
2057 %{?_with_write_kafka} \
2058 %{?_with_write_log} \
2059 %{?_with_write_mongodb} \
2060 %{?_with_write_prometheus} \
2061 %{?_with_write_redis} \
2062 %{?_with_write_riemann} \
2063 %{?_with_write_sensu} \
2064 %{?_with_write_syslog} \
2065 %{?_with_write_tsdb} \
2073 %{__make} %{?_smp_mflags}
2078 %{__make} install DESTDIR=%{buildroot}
2079 %if 0%{?fedora} || 0%{?rhel} >= 7
2080 %{__install} -Dp -m0644 contrib/systemd.collectd.service %{buildroot}%{_unitdir}/collectd.service
2082 %{__install} -Dp -m0755 contrib/redhat/init.d-collectd %{buildroot}%{_initrddir}/collectd
2084 %{__install} -Dp -m0644 src/collectd.conf %{buildroot}%{_sysconfdir}/collectd.conf
2085 %{__install} -d %{buildroot}%{_sharedstatedir}/collectd/
2086 %{__install} -d %{buildroot}%{_sysconfdir}/collectd.d/
2088 %{__mkdir} -p %{buildroot}%{_localstatedir}/www
2089 %{__mkdir} -p %{buildroot}/%{_sysconfdir}/httpd/conf.d
2091 %{__mv} contrib/collection3 %{buildroot}%{_localstatedir}/www
2092 %{__mv} contrib/redhat/collection3.conf %{buildroot}/%{_sysconfdir}/httpd/conf.d/
2094 %{__mv} contrib/php-collection %{buildroot}%{_localstatedir}/www
2095 %{__mv} contrib/redhat/php-collection.conf %{buildroot}/%{_sysconfdir}/httpd/conf.d/
2098 find contrib/ -type f -exec %{__chmod} a-x {} \;
2099 # *.la files shouldn't be distributed.
2100 rm -f %{buildroot}/%{_libdir}/{collectd/,}*.la
2102 # Remove Perl hidden .packlist files.
2103 find %{buildroot} -type f -name .packlist -delete
2104 # Remove Perl temporary file perllocal.pod
2105 find %{buildroot} -type f -name perllocal.pod -delete
2108 rm -f %{buildroot}%{_datadir}/collectd/java/collectd-api.jar
2109 rm -f %{buildroot}%{_datadir}/collectd/java/generic-jmx.jar
2110 rm -f %{buildroot}%{_mandir}/man5/collectd-java.5*
2114 rm -f %{buildroot}%{_mandir}/man5/collectd-lua.5*
2118 rm -f %{buildroot}%{_mandir}/man5/collectd-perl.5*
2119 rm -f %{buildroot}%{_mandir}/man3/Collectd::Unixsock.3pm*
2120 rm -fr %{buildroot}/usr/lib/perl5/
2123 %if ! %{with_postgresql}
2124 rm -f %{buildroot}%{_datadir}/collectd/postgresql_default.conf
2127 %if ! %{with_python}
2128 rm -f %{buildroot}%{_mandir}/man5/collectd-python.5*
2132 rm -f %{buildroot}%{_mandir}/man5/collectd-snmp.5*
2140 %if 0%{?fedora} || 0%{?rhel} >= 7
2141 %systemd_post collectd.service
2143 /sbin/chkconfig --add collectd || :
2147 %if 0%{?fedora} || 0%{?rhel} >= 7
2148 %systemd_preun collectd.service
2150 # stop collectd only when uninstalling
2151 if [ $1 -eq 0 ]; then
2152 /sbin/service collectd stop >/dev/null 2>&1 || :
2153 /sbin/chkconfig --del collectd || :
2158 %if 0%{?fedora} || 0%{?rhel} >= 7
2159 %systemd_postun_with_restart collectd.service
2161 # restart collectd only when upgrading
2162 if [ $1 -eq 1 ]; then
2163 /sbin/service collectd condrestart >/dev/null 2>&1 || :
2167 %post -n libcollectdclient -p /sbin/ldconfig
2168 %postun -n libcollectdclient -p /sbin/ldconfig
2172 %doc AUTHORS COPYING ChangeLog README
2173 %config(noreplace) %{_sysconfdir}/collectd.conf
2174 %if 0%{?fedora} || 0%{?rhel} >= 7
2175 %{_unitdir}/collectd.service
2177 %{_initrddir}/collectd
2179 %{_sbindir}/collectd
2180 %{_sbindir}/collectdmon
2181 %{_datadir}/collectd/types.db
2182 %{_sharedstatedir}/collectd
2183 %{_mandir}/man1/collectd.1*
2184 %{_mandir}/man1/collectdmon.1*
2185 %{_mandir}/man5/collectd-email.5*
2186 %{_mandir}/man5/collectd-exec.5*
2187 %{_mandir}/man5/collectd-threshold.5*
2188 %{_mandir}/man5/collectd-unixsock.5*
2189 %{_mandir}/man5/collectd.conf.5*
2190 %{_mandir}/man5/types.db.5*
2192 # all plugins bundled with the main collectd package
2193 %{_libdir}/%{name}/match_empty_counter.so
2194 %{_libdir}/%{name}/match_hashed.so
2195 %{_libdir}/%{name}/match_regex.so
2196 %{_libdir}/%{name}/match_timediff.so
2197 %{_libdir}/%{name}/match_value.so
2198 %{_libdir}/%{name}/target_notification.so
2199 %{_libdir}/%{name}/target_replace.so
2200 %{_libdir}/%{name}/target_scale.so
2201 %{_libdir}/%{name}/target_set.so
2202 %{_libdir}/%{name}/target_v5upgrade.so
2204 %if %{with_aggregation}
2205 %{_libdir}/%{name}/aggregation.so
2208 %{_libdir}/%{name}/apcups.so
2211 %{_libdir}/%{name}/battery.so
2214 %{_libdir}/%{name}/cgroups.so
2216 %if %{with_conntrack}
2217 %{_libdir}/%{name}/conntrack.so
2219 %if %{with_contextswitch}
2220 %{_libdir}/%{name}/contextswitch.so
2223 %{_libdir}/%{name}/cpu.so
2226 %{_libdir}/%{name}/cpufreq.so
2228 %if %{with_cpusleep}
2229 %{_libdir}/%{name}/cpusleep.so
2232 %{_libdir}/%{name}/csv.so
2235 %{_libdir}/%{name}/df.so
2238 %{_libdir}/%{name}/drbd.so
2241 %{_libdir}/%{name}/ethstat.so
2244 %{_libdir}/%{name}/entropy.so
2247 %{_libdir}/%{name}/exec.so
2250 %{_libdir}/%{name}/fhcount.so
2252 %if %{with_filecount}
2253 %{_libdir}/%{name}/filecount.so
2256 %{_libdir}/%{name}/fscache.so
2258 %if %{with_hugepages}
2259 %{_libdir}/%{name}/hugepages.so
2261 %if %{with_interface}
2262 %{_libdir}/%{name}/interface.so
2265 %{_libdir}/%{name}/ipc.so
2268 %{_libdir}/%{name}/ipvs.so
2271 %{_libdir}/%{name}/irq.so
2274 %{_libdir}/%{name}/load.so
2277 %{_libdir}/%{name}/logfile.so
2280 %{_libdir}/%{name}/madwifi.so
2283 %{_libdir}/%{name}/mbmon.so
2286 %{_libdir}/%{name}/mcelog.so
2289 %{_libdir}/%{name}/md.so
2291 %if %{with_memcached}
2292 %{_libdir}/%{name}/memcached.so
2295 %{_libdir}/%{name}/memory.so
2297 %if %{with_multimeter}
2298 %{_libdir}/%{name}/multimeter.so
2301 %{_libdir}/%{name}/network.so
2304 %{_libdir}/%{name}/nfs.so
2306 %if %{with_notify_nagios}
2307 %{_libdir}/%{name}/notify_nagios.so
2310 %{_libdir}/%{name}/ntpd.so
2313 %{_libdir}/%{name}/numa.so
2316 %{_libdir}/%{name}/openvpn.so
2319 %{_libdir}/%{name}/olsrd.so
2321 %if %{with_powerdns}
2322 %{_libdir}/%{name}/powerdns.so
2324 %if %{with_processes}
2325 %{_libdir}/%{name}/processes.so
2327 %if %{with_protocols}
2328 %{_libdir}/%{name}/protocols.so
2331 %{_libdir}/%{name}/serial.so
2334 %{_libdir}/%{name}/statsd.so
2337 %{_libdir}/%{name}/swap.so
2339 %if %{with_synproxy}
2340 %{_libdir}/%{name}/synproxy.so
2343 %{_libdir}/%{name}/syslog.so
2346 %{_libdir}/%{name}/table.so
2349 %{_libdir}/%{name}/tail.so
2351 %if %{with_tail_csv}
2352 %{_libdir}/%{name}/tail_csv.so
2354 %if %{with_tcpconns}
2355 %{_libdir}/%{name}/tcpconns.so
2357 %if %{with_teamspeak2}
2358 %{_libdir}/%{name}/teamspeak2.so
2361 %{_libdir}/%{name}/ted.so
2364 %{_libdir}/%{name}/thermal.so
2366 %if %{with_threshold}
2367 %{_libdir}/%{name}/threshold.so
2369 %if %{with_turbostat}
2370 %{_libdir}/%{name}/turbostat.so
2372 %if %{with_unixsock}
2373 %{_libdir}/%{name}/unixsock.so
2376 %{_libdir}/%{name}/uptime.so
2379 %{_libdir}/%{name}/users.so
2382 %{_libdir}/%{name}/uuid.so
2385 %{_libdir}/%{name}/vmem.so
2388 %{_libdir}/%{name}/vserver.so
2390 %if %{with_wireless}
2391 %{_libdir}/%{name}/wireless.so
2393 %if %{with_write_graphite}
2394 %{_libdir}/%{name}/write_graphite.so
2396 %if %{with_write_log}
2397 %{_libdir}/%{name}/write_log.so
2399 %if %{with_write_syslog}
2400 %{_libdir}/%{name}/write_syslog.so
2402 %if %{with_write_sensu}
2403 %{_libdir}/%{name}/write_sensu.so
2405 %if %{with_write_tsdb}
2406 %{_libdir}/%{name}/write_tsdb.so
2409 %{_libdir}/%{name}/zfs_arc.so
2411 %if %{with_zookeeper}
2412 %{_libdir}/%{name}/zookeeper.so
2415 %files -n libcollectdclient-devel
2416 %{_includedir}/collectd/client.h
2417 %{_includedir}/collectd/network.h
2418 %{_includedir}/collectd/network_buffer.h
2419 %{_includedir}/collectd/lcc_features.h
2420 %{_libdir}/pkgconfig/libcollectdclient.pc
2421 %{_includedir}/collectd/network_parse.h
2422 %{_includedir}/collectd/server.h
2423 %{_includedir}/collectd/types.h
2424 %{_libdir}/libcollectdclient.so
2426 %files -n libcollectdclient
2427 %{_libdir}/libcollectdclient.so.*
2429 %files -n collectd-utils
2430 %{_bindir}/collectd-nagios
2431 %{_bindir}/collectd-tg
2432 %{_bindir}/collectdctl
2433 %{_mandir}/man1/collectdctl.1*
2434 %{_mandir}/man1/collectd-nagios.1*
2435 %{_mandir}/man1/collectd-tg.1*
2439 %{_libdir}/%{name}/amqp.so
2444 %{_libdir}/%{name}/amqp1.so
2449 %{_libdir}/%{name}/apache.so
2454 %{_libdir}/%{name}/aquaero.so
2459 %{_libdir}/%{name}/ascent.so
2462 %if %{with_barometer}
2464 %{_libdir}/%{name}/barometer.so
2469 %{_libdir}/%{name}/bind.so
2474 %{_libdir}/%{name}/ceph.so
2479 %{_libdir}/%{name}/chrony.so
2484 %{_libdir}/%{name}/curl.so
2487 %if %{with_curl_json}
2489 %{_libdir}/%{name}/curl_json.so
2492 %if %{with_curl_xml}
2494 %{_libdir}/%{name}/curl_xml.so
2499 %{_libdir}/%{name}/disk.so
2504 %{_libdir}/%{name}/dns.so
2509 %{_libdir}/%{name}/dbi.so
2512 %if %{with_dpdkevents}
2514 %{_libdir}/%{name}/dpdkevents.so
2517 %if %{with_dpdkstat}
2519 %{_libdir}/%{name}/dpdkstat.so
2524 %{_libdir}/%{name}/email.so
2529 %{_libdir}/%{name}/gmond.so
2534 %{_libdir}/%{name}/gps.so
2539 %{_libdir}/%{name}/grpc.so
2544 %{_libdir}/%{name}/hddtemp.so
2547 %if %{with_intel_pmu}
2549 %{_libdir}/%{name}/intel_pmu.so
2552 %if %{with_intel_rdt}
2554 %{_libdir}/%{name}/intel_rdt.so
2559 %{_libdir}/%{name}/ipmi.so
2562 %if %{with_iptables}
2564 %{_libdir}/%{name}/iptables.so
2569 %{_datadir}/collectd/java/collectd-api.jar
2570 %{_datadir}/collectd/java/generic-jmx.jar
2571 %{_libdir}/%{name}/java.so
2572 %{_mandir}/man5/collectd-java.5*
2577 %{_libdir}/%{name}/virt.so
2580 %if %{with_log_logstash}
2582 %{_libdir}/%{name}/log_logstash.so
2587 %{_mandir}/man5/collectd-lua*
2588 %{_libdir}/%{name}/lua.so
2593 %{_libdir}/%{name}/lvm.so
2596 %if %{with_memcachec}
2598 %{_libdir}/%{name}/memcachec.so
2603 %{_libdir}/%{name}/mic.so
2608 %{_libdir}/%{name}/modbus.so
2613 %{_libdir}/%{name}/mqtt.so
2618 %{_libdir}/%{name}/mysql.so
2623 %{_libdir}/%{name}/netlink.so
2628 %{_libdir}/%{name}/nginx.so
2631 %if %{with_notify_desktop}
2632 %files notify_desktop
2633 %{_libdir}/%{name}/notify_desktop.so
2636 %if %{with_notify_email}
2638 %{_libdir}/%{name}/notify_email.so
2643 %{_libdir}/%{name}/nut.so
2646 %if %{with_openldap}
2648 %{_libdir}/%{name}/openldap.so
2651 %if %{with_ovs_events}
2653 %{_libdir}/%{name}/ovs_events.so
2656 %if %{with_ovs_stats}
2658 %{_libdir}/%{name}/ovs_stats.so
2663 %{perl_vendorlib}/Collectd.pm
2664 %{perl_vendorlib}/Collectd/
2665 %{_mandir}/man3/Collectd::Unixsock.3pm*
2666 %{_mandir}/man5/collectd-perl.5*
2667 %{_libdir}/%{name}/perl.so
2672 %{_libdir}/%{name}/pinba.so
2677 %{_libdir}/%{name}/ping.so
2680 %if %{with_postgresql}
2682 %{_datadir}/collectd/postgresql_default.conf
2683 %{_libdir}/%{name}/postgresql.so
2688 %{_mandir}/man5/collectd-python*
2689 %{_libdir}/%{name}/python.so
2694 %{_libdir}/%{name}/redis.so
2697 %if %{with_rrdcached}
2699 %{_libdir}/%{name}/rrdcached.so
2704 %{_libdir}/%{name}/rrdtool.so
2709 %{_libdir}/%{name}/sensors.so
2714 %{_libdir}/%{name}/sigrok.so
2719 %{_libdir}/%{name}/smart.so
2724 %{_mandir}/man5/collectd-snmp.5*
2725 %{_libdir}/%{name}/snmp.so
2728 %if %{with_snmp_agent}
2730 %{_libdir}/%{name}/snmp_agent.so
2735 %{_libdir}/%{name}/varnish.so
2738 %if %{with_write_http}
2740 %{_libdir}/%{name}/write_http.so
2743 %if %{with_write_kafka}
2745 %{_libdir}/%{name}/write_kafka.so
2748 %if %{with_write_prometheus}
2749 %files write_prometheus
2750 %{_libdir}/%{name}/write_prometheus.so
2753 %if %{with_write_redis}
2755 %{_libdir}/%{name}/write_redis.so
2758 %if %{with_write_riemann}
2759 %files write_riemann
2760 %{_libdir}/%{name}/write_riemann.so
2765 %{_libdir}/%{name}/xencpu.so
2770 %{_libdir}/%{name}/xmms.so
2774 %{_localstatedir}/www/collection3
2775 %{_sysconfdir}/httpd/conf.d/collection3.conf
2777 %files php-collection
2778 %{_localstatedir}/www/php-collection
2779 %{_sysconfdir}/httpd/conf.d/php-collection.conf
2785 * Thu Sep 28 2017 Jakub Jankowski <shasta@toxcorp.com> - 5.7.1-9
2786 - Fix mbmon/mcelog build options
2788 * Thu Sep 28 2017 xakru <calvinxakru@gmail.com> - 5.7.1-8
2789 - Add new libcollectdclient/network_parse
2790 - Add new libcollectdclient/server
2791 - Add new libcollectdclient/types
2792 - Add new synproxy plugin
2794 * Fri Aug 18 2017 Ruben Kerkhof <ruben@rubenkerkhof.com> - 5.7.1-7
2795 - Add new intel_pmu plugin
2797 * Sun Mar 05 2017 Ruben Kerkhof <ruben@rubenkerkhof.com> - 5.7.1-6
2798 - Move recently added plugins to subpackages
2800 * Sun Mar 05 2017 Ruben Kerkhof <ruben@rubenkerkhof.com> - 5.7.1-5
2801 - Add new ovs_stats plugin
2803 * Sun Mar 05 2017 Ruben Kerkhof <ruben@rubenkerkhof.com> - 5.7.1-4
2804 - Don't enable XFS support on RHEL6, it is missing for i386
2806 * Sun Mar 05 2017 Ruben Kerkhof <ruben@rubenkerkhof.com> - 5.7.1-3
2807 - Add dpdkevents plugin, disabled by default
2809 * Wed Feb 22 2017 Ruben Kerkhof <ruben@rubenkerkhof.com> - 5.7.1-2
2810 - Enable XFS support in df plugin
2811 - Fix bogus date in changelog
2813 * Sun Jan 01 2017 Marc Fournier <marc.fournier@camptocamp.com> - 5.7.1-1
2814 - New upstream version
2816 * Sat Dec 31 2016 Ruben Kerkhof <ruben@rubenkerkhof.com> - 5.7.0-4
2817 - Add new ovs_events plugin
2819 * Sat Dec 31 2016 Ruben Kerkhof <ruben@rubenkerkhof.com> - 5.7.0-3
2820 - Add new mcelog plugin
2822 * Tue Nov 29 2016 Ruben Kerkhof <ruben@rubenkerkhof.com> - 5.7.0-2
2823 - Disable redis plugin on RHEL 6, hiredis has been retired from EPEL6
2825 * Mon Oct 10 2016 Marc Fournier <marc.fournier@camptocamp.com> - 5.7.0-1
2826 - New PRE-RELEASE version
2827 - New plugins enabled by default: hugepages, write_prometheus
2828 - New plugins disabled by default: dpdkstat, intel_rdt
2830 * Mon Oct 10 2016 Victor Demonchy <v.demonchy@criteo.com> - 5.6.1-1
2831 - New upstream version
2833 * Sun Aug 14 2016 Ruben Kerkhof <ruben@rubenkerkhof.com> - 5.6.0-1
2834 - New upstream version
2835 - New plugins enabled by default: chrony, cpusleep, gps, lua, mqtt, notify_nagios
2836 - New plugins disabled by default: grpc, xencpu, zone
2838 * Tue Jul 26 2016 Ruben Kerkhof <ruben@rubenkerkhof.com> - 5.5.2-1
2839 - New upstream version
2840 - Contains fix for CVE-2016-6254
2841 - Change collectd.org url to https
2843 * Sat Jun 04 2016 Ruben Kerkhof <ruben@rubenkerkhof.com> 5.5.1-1
2844 - New upstream version
2846 * Wed May 27 2015 Marc Fournier <marc.fournier@camptocamp.com> 5.5.0-1
2847 - New upstream version
2848 - New plugins enabled by default: ceph, drbd, log_logstash, write_tsdb, smart,
2849 openldap, redis, write_redis, zookeeper, write_log, write_sensu, ipc,
2851 - New plugins disabled by default: barometer, write_kafka
2852 - Enable zfs_arc, now supported on Linux
2853 - Install disk plugin in a dedicated package, as it depends on libudev
2854 - use systemd on EL7, sysvinit on EL6 & EL5
2855 - Install collectdctl, collectd-tg and collectd-nagios in collectd-utils.rpm
2856 - Add build-dependency on libcap-devel
2858 * Mon Aug 19 2013 Marc Fournier <marc.fournier@camptocamp.com> 5.4.2-1
2859 - New upstream version
2860 - Build netlink plugin by default
2861 - Enable cgroups, lvm and statsd plugins
2862 - Enable (but don't build by default) mic, aquaero and sigrok plugins
2863 - Enable modbus, memcachec and xmms plugins on RHEL7
2865 * Tue Aug 06 2013 Marc Fournier <marc.fournier@camptocamp.com> 5.3.1-1
2866 - New upstream version
2867 - Added RHEL5 support:
2868 * conditionally disable plugins not building on this platform
2869 * add/specify some build dependencies and options
2870 * replace some RPM macros not available on this platform
2871 - Removed duplicate --enable-aggregation
2872 - Added some comments & usage examples
2873 - Replaced a couple of "Buildrequires" by "BuildRequires"
2874 - Enabled modbus plugin on RHEL6
2875 - Enabled netlink plugin on RHEL6 and RHEL7
2876 - Allow perl plugin to build on RHEL5
2877 - Add support for RHEL7
2878 - Misc perl-related improvements:
2879 * prevent rpmbuild from extracting dependencies from files in /usr/share/doc
2880 * don't package collection3 and php-collection twice
2881 * keep perl scripts from contrib/ in collectd-contrib
2883 * Wed Apr 10 2013 Marc Fournier <marc.fournier@camptocamp.com> 5.3.0-1
2884 - New upstream version
2885 - Enabled write_riemann plugin
2886 - Enabled tail_csv plugin
2887 - Installed collectd-tc manpage
2889 * Fri Jan 11 2013 Marc Fournier <marc.fournier@camptocamp.com> 5.2.0-3
2890 - remove dependency on libstatgrab, which isn't required on linux
2892 * Thu Jan 03 2013 Marc Fournier <marc.fournier@camptocamp.com> 5.2.0-2
2893 - collection3 and php-collection viewers are now in separate packages
2895 * Fri Dec 21 2012 Marc Fournier <marc.fournier@camptocamp.com> 5.2.0-1
2896 - New upstream version
2897 - Enabled aggregation plugin
2898 - Installed collectd-tc
2899 - Added network.h and network_buffer.h to libcollectdclient-devel
2900 - Moved libxml2-devel and libcurl-devel BRs to relevant plugins sections
2901 - Moved libcollectdclient.so from libcollectdclient-devel to libcollectdclient
2902 - Added rrdcached and redis plugin descriptions
2903 - Mentioned new pf plugin in disabled plugins list
2905 * Sun Nov 18 2012 Ruben Kerkhof <ruben@tilaa.nl> 5.1.0-3
2906 - Follow Fedora Packaging Guidelines in java subpackage
2908 * Sat Nov 17 2012 Ruben Kerkhof <ruben@tilaa.nl> 5.1.0-2
2909 - Move perl stuff to perl_vendorlib
2910 - Replace hardcoded paths with macros
2911 - Remove unnecessary Requires
2912 - Removed .a and .la files
2913 - Some other small cleanups
2915 * Fri Nov 16 2012 Marc Fournier <marc.fournier@camptocamp.com> 5.1.0-1
2916 - New upstream version
2917 - Changes to support 5.1.0
2918 - Enabled all buildable plugins based on libraries available on EL6 + EPEL
2919 - All plugins requiring external libraries are now shipped in separate
2921 - No longer treat Java plugin as an exception, correctly set $JAVA_HOME during
2922 the build process + ensure build deps are installed.
2923 - Dropped per-plugin configuration files, as they tend to diverge from upstream
2925 - Moved perl stuff to /usr/share/perl5/
2926 - Don't alter Interval and ReadThreads by default, let the user change this
2928 - Initscript improvements:
2929 * checks configuration before (re)starting, based on debian's initscript
2930 * use /etc/sysconfig instdead of /etc/default
2931 * include optional $ARGS in arguments passed to collectd.
2932 - Drop collection.cgi from main package, as it's been obsoleted by collection3
2933 - Moved contrib/ to its own package, to avoid cluttering the main package with
2934 non-essential stuff.
2935 - Replaced BuildPrereq by BuildRequires
2937 * Mon Jan 03 2011 Monetate <jason.stelzer@monetate.com> 5.0.1
2938 - New upstream version
2939 - Changes to support 5.0.1
2941 * Mon Jan 04 2010 Rackspace <stu.hood@rackspace.com> 4.9.0
2942 - New upstream version
2943 - Changes to support 4.9.0
2944 - Added support for Java/GenericJMX plugin
2946 * Mon Mar 17 2008 RightScale <support@rightscale.com> 4.3.1
2947 - New upstream version
2948 - Changes to support 4.3.1
2949 - Added More Prereqs to support more plugins
2950 - Added support for perl plugin
2952 * Mon Aug 06 2007 Kjell Randa <Kjell.Randa@broadpark.no> 4.0.6
2953 - New upstream version
2955 * Wed Jul 25 2007 Kjell Randa <Kjell.Randa@broadpark.no> 4.0.5
2957 - Changes to support 4.0.5
2959 * Thu Jan 11 2007 Iain Lea <iain@bricbrac.de> 3.11.0-0
2960 - fixed spec file to build correctly on fedora core
2961 - added improved init.d script to work with chkconfig
2962 - added %%post and %%postun to call chkconfig automatically
2964 * Sun Jul 09 2006 Florian octo Forster <octo@verplant.org> 3.10.0-1
2965 - New upstream version
2967 * Sun Jun 25 2006 Florian octo Forster <octo@verplant.org> 3.9.4-1
2968 - New upstream version
2970 * Thu Jun 01 2006 Florian octo Forster <octo@verplant.org> 3.9.3-1
2971 - New upstream version
2973 * Tue May 09 2006 Florian octo Forster <octo@verplant.org> 3.9.2-1
2974 - New upstream version
2976 * Tue May 09 2006 Florian octo Forster <octo@verplant.org> 3.8.5-1
2977 - New upstream version
2979 * Fri Apr 21 2006 Florian octo Forster <octo@verplant.org> 3.9.1-1
2980 - New upstream version
2982 * Fri Apr 14 2006 Florian octo Forster <octo@verplant.org> 3.9.0-1
2983 - New upstream version
2984 - Added the `apache' package.
2986 * Tue Mar 14 2006 Florian octo Forster <octo@verplant.org> 3.8.2-1
2987 - New upstream version
2989 * Mon Mar 13 2006 Florian octo Forster <octo@verplant.org> 3.8.1-1
2990 - New upstream version
2992 * Thu Mar 09 2006 Florian octo Forster <octo@verplant.org> 3.8.0-1
2993 - New upstream version
2995 * Sat Feb 18 2006 Florian octo Forster <octo@verplant.org> 3.7.2-1
2996 - Include `tape.so' so the build doesn't terminate because of missing files..
2997 - New upstream version
2999 * Sat Feb 04 2006 Florian octo Forster <octo@verplant.org> 3.7.1-1
3000 - New upstream version
3002 * Mon Jan 30 2006 Florian octo Forster <octo@verplant.org> 3.7.0-1
3003 - New upstream version
3004 - Removed the extra `hddtemp' package
3006 * Tue Jan 24 2006 Florian octo Forster <octo@verplant.org> 3.6.2-1
3007 - New upstream version
3009 * Fri Jan 20 2006 Florian octo Forster <octo@verplant.org> 3.6.1-1
3010 - New upstream version
3012 * Fri Jan 20 2006 Florian octo Forster <octo@verplant.org> 3.6.0-1
3013 - New upstream version
3014 - Added config file, `collectd.conf(5)', `df.so'
3015 - Added package `collectd-mysql', dependency on `mysqlclient10 | mysql'
3017 * Wed Dec 07 2005 Florian octo Forster <octo@verplant.org> 3.5.0-1
3018 - New upstream version
3020 * Sat Nov 26 2005 Florian octo Forster <octo@verplant.org> 3.4.0-1
3021 - New upstream version
3023 * Sat Nov 05 2005 Florian octo Forster <octo@verplant.org> 3.3.0-1
3024 - New upstream version
3026 * Wed Oct 26 2005 Florian octo Forster <octo@verplant.org> 3.2.0-1
3027 - New upstream version
3028 - Added statement to remove the `*.la' files. This fixes a problem when
3029 `Unpackaged files terminate build' is in effect.
3030 - Added `processes.so*' to the main package
3032 * Fri Oct 14 2005 Florian octo Forster <octo@verplant.org> 3.1.0-1
3033 - New upstream version
3034 - Added package `collectd-hddtemp'
3036 * Fri Sep 30 2005 Florian octo Forster <octo@verplant.org> 3.0.0-1
3037 - New upstream version
3038 - Split the package into `collectd' and `collectd-sensors'
3040 * Fri Sep 16 2005 Florian octo Forster <octo@verplant.org> 2.1.0-1
3041 - New upstream version
3043 * Sat Sep 10 2005 Florian octo Forster <octo@verplant.org> 2.0.0-1
3044 - New upstream version
3046 * Mon Aug 29 2005 Florian octo Forster <octo@verplant.org> 1.8.0-1
3047 - New upstream version
3049 * Thu Aug 25 2005 Florian octo Forster <octo@verplant.org> 1.7.0-1
3050 - New upstream version
3052 * Sun Aug 21 2005 Florian octo Forster <octo@verplant.org> 1.6.0-1
3053 - New upstream version
3055 * Sun Jul 17 2005 Florian octo Forster <octo@verplant.org> 1.5.1-1
3056 - New upstream version
3058 * Sun Jul 17 2005 Florian octo Forster <octo@verplant.org> 1.5-1
3059 - New upstream version
3061 * Mon Jul 11 2005 Florian octo Forster <octo@verplant.org> 1.4.2-1
3062 - New upstream version
3064 * Sat Jul 09 2005 Florian octo Forster <octo@verplant.org> 1.4-1
3065 - Built on RedHat 7.3