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_connectivity 0%{!?_without_connectivity:1}
57 %define with_conntrack 0%{!?_without_conntrack:1}
58 %define with_contextswitch 0%{!?_without_contextswitch:1}
59 %define with_cpu 0%{!?_without_cpu:1}
60 %define with_cpufreq 0%{!?_without_cpufreq:1}
61 %define with_cpusleep 0%{!?_without_cpusleep:1}
62 %define with_csv 0%{!?_without_csv:1}
63 %define with_curl 0%{!?_without_curl:1}
64 %define with_curl_json 0%{!?_without_curl_json:1}
65 %define with_curl_xml 0%{!?_without_curl_xml:1}
66 %define with_dbi 0%{!?_without_dbi:1}
67 %define with_df 0%{!?_without_df:1}
68 %define with_disk 0%{!?_without_disk:1}
69 %define with_dns 0%{!?_without_dns:1}
70 %define with_drbd 0%{!?_without_drbd:1}
71 %define with_email 0%{!?_without_email:1}
72 %define with_entropy 0%{!?_without_entropy:1}
73 %define with_ethstat 0%{!?_without_ethstat:1}
74 %define with_exec 0%{!?_without_exec:1}
75 %define with_fhcount 0%{!?_without_fhcount:1}
76 %define with_filecount 0%{!?_without_filecount:1}
77 %define with_fscache 0%{!?_without_fscache:1}
78 %define with_gmond 0%{!?_without_gmond:1}
79 %define with_gps 0%{!?_without_gps:1}
80 %define with_hddtemp 0%{!?_without_hddtemp:1}
81 %define with_hugepages 0%{!?_without_hugepages:1}
82 %define with_interface 0%{!?_without_interface:1}
83 %define with_ipc 0%{!?_without_ipc:1}
84 %define with_ipmi 0%{!?_without_ipmi:1}
85 %define with_iptables 0%{!?_without_iptables:1}
86 %define with_ipvs 0%{!?_without_ipvs:1}
87 %define with_irq 0%{!?_without_irq:1}
88 %define with_java 0%{!?_without_java:1}
89 %define with_load 0%{!?_without_load:1}
90 %define with_log_logstash 0%{!?_without_log_logstash:1}
91 %define with_logfile 0%{!?_without_logfile:1}
92 %define with_lua 0%{!?_without_lua:1}
93 %define with_lvm 0%{!?_without_lvm:1}
94 %define with_madwifi 0%{!?_without_madwifi:1}
95 %define with_mbmon 0%{!?_without_mbmon:1}
96 %define with_mcelog 0%{!?_without_mcelog:1}
97 %define with_md 0%{!?_without_md:1}
98 %define with_memcachec 0%{!?_without_memcachec:1}
99 %define with_memcached 0%{!?_without_memcached:1}
100 %define with_memory 0%{!?_without_memory:1}
101 %define with_modbus 0%{!?_without_modbus:1}
102 %define with_mqtt 0%{!?_without_mqtt:1}
103 %define with_multimeter 0%{!?_without_multimeter:1}
104 %define with_mysql 0%{!?_without_mysql:1}
105 %define with_netlink 0%{!?_without_netlink:1}
106 %define with_network 0%{!?_without_network:1}
107 %define with_nfs 0%{!?_without_nfs:1}
108 %define with_nginx 0%{!?_without_nginx:1}
109 %define with_notify_desktop 0%{!?_without_notify_desktop:1}
110 %define with_notify_email 0%{!?_without_notify_email:1}
111 %define with_notify_nagios 0%{!?_without_notify_nagios:1}
112 %define with_ntpd 0%{!?_without_ntpd:1}
113 %define with_numa 0%{!?_without_numa:1}
114 %define with_nut 0%{!?_without_nut:1}
115 %define with_olsrd 0%{!?_without_olsrd:1}
116 %define with_openldap 0%{!?_without_openldap:1}
117 %define with_openvpn 0%{!?_without_openvpn:1}
118 %define with_ovs_events 0%{!?_without_ovs_events:1}
119 %define with_ovs_stats 0%{!?_without_ovs_stats:1}
120 %define with_pcie_errors 0%{!?_without_pcie_errors:1}
121 %define with_perl 0%{!?_without_perl:1}
122 %define with_pinba 0%{!?_without_pinba:1}
123 %define with_ping 0%{!?_without_ping:1}
124 %define with_postgresql 0%{!?_without_postgresql:1}
125 %define with_powerdns 0%{!?_without_powerdns:1}
126 %define with_processes 0%{!?_without_processes:1}
127 %define with_protocols 0%{!?_without_protocols:1}
128 %define with_python 0%{!?_without_python:1}
129 %define with_redis 0%{!?_without_redis:1}
130 %define with_rrdcached 0%{!?_without_rrdcached:1}
131 %define with_rrdtool 0%{!?_without_rrdtool:1}
132 %define with_sensors 0%{!?_without_sensors:1}
133 %define with_serial 0%{!?_without_serial:1}
134 %define with_smart 0%{!?_without_smart:1}
135 %define with_snmp 0%{!?_without_snmp:1}
136 %define with_snmp_agent 0%{!?_without_snmp_agent:1}
137 %define with_statsd 0%{!?_without_statsd:1}
138 %define with_swap 0%{!?_without_swap:1}
139 %define with_synproxy 0%{!?_without_synproxy:0}
140 %define with_sysevent 0%{!?_without_sysevent:1}
141 %define with_syslog 0%{!?_without_syslog:1}
142 %define with_table 0%{!?_without_table:1}
143 %define with_tail 0%{!?_without_tail:1}
144 %define with_tail_csv 0%{!?_without_tail_csv:1}
145 %define with_tcpconns 0%{!?_without_tcpconns:1}
146 %define with_teamspeak2 0%{!?_without_teamspeak2:1}
147 %define with_ted 0%{!?_without_ted:1}
148 %define with_thermal 0%{!?_without_thermal:1}
149 %define with_threshold 0%{!?_without_threshold:1}
150 %define with_turbostat 0%{!?_without_turbostat:1}
151 %define with_unixsock 0%{!?_without_unixsock:1}
152 %define with_uptime 0%{!?_without_uptime:1}
153 %define with_users 0%{!?_without_users:1}
154 %define with_uuid 0%{!?_without_uuid:1}
155 %define with_varnish 0%{!?_without_varnish:1}
156 %define with_virt 0%{!?_without_virt:1}
157 %define with_vmem 0%{!?_without_vmem:1}
158 %define with_vserver 0%{!?_without_vserver:1}
159 %define with_wireless 0%{!?_without_wireless:1}
160 %define with_write_graphite 0%{!?_without_write_graphite:1}
161 %define with_write_http 0%{!?_without_write_http:1}
162 %define with_write_log 0%{!?_without_write_log:1}
163 %define with_write_prometheus 0%{!?_without_write_prometheus:1}
164 %define with_write_redis 0%{!?_without_write_redis:1}
165 %define with_write_riemann 0%{!?_without_write_riemann:1}
166 %define with_write_stackdriver 0%{!?_without_write_stackdriver:1}
167 %define with_write_sensu 0%{!?_without_write_sensu:1}
168 %define with_write_syslog 0%{!?_without_write_syslog:1}
169 %define with_write_tsdb 0%{!?_without_write_tsdb:1}
170 %define with_xmms 0%{!?_without_xmms:0%{?_has_xmms}}
171 %define with_zfs_arc 0%{!?_without_zfs_arc:1}
172 %define with_zookeeper 0%{!?_without_zookeeper:1}
174 # Plugins not built by default because of dependencies on libraries not
175 # available in RHEL or EPEL:
177 # plugin apple_sensors disabled, requires a Mac
178 %define with_apple_sensors 0%{!?_without_apple_sensors:0}
179 # plugin aquaero disabled, requires a libaquaero5
180 %define with_aquaero 0%{!?_without_aquaero:0}
181 # plugin barometer disabled, requires a libi2c
182 %define with_barometer 0%{!?_without_barometer:0}
183 # plugin dpdkevents disabled, requires libdpdk
184 %define with_dpdkevents 0%{!?_without_dpdkevents:0}
185 # plugin dpdkstat disabled, requires libdpdk
186 %define with_dpdkstat 0%{!?_without_dpdkstat:0}
187 # plugin grpc disabled, requires protobuf-compiler >= 3.0
188 %define with_grpc 0%{!?_without_grpc:0}
189 # plugin lpar disabled, requires AIX
190 %define with_lpar 0%{!?_without_lpar:0}
191 # plugin intel_pmu disabled, requires libjevents
192 %define with_intel_pmu 0%{!?_without_intel_pmu:0}
193 # plugin intel_rdt disabled, requires intel-cmt-cat
194 %define with_intel_rdt 0%{!?_without_intel_rdt:0}
195 # plugin mic disabled, requires Mic
196 %define with_mic 0%{!?_without_mic:0}
197 # plugin netapp disabled, requires libnetapp
198 %define with_netapp 0%{!?_without_netapp:0}
199 # plugin onewire disabled, requires libowfs
200 %define with_onewire 0%{!?_without_onewire:0}
201 # plugin oracle disabled, requires Oracle
202 %define with_oracle 0%{!?_without_oracle:0}
203 # plugin oracle disabled, requires BSD
204 %define with_pf 0%{!?_without_pf:0}
205 # plugin routeros disabled, requires librouteros
206 %define with_routeros 0%{!?_without_routeros:0}
207 # plugin sigrok disabled, requires libsigrok
208 %define with_sigrok 0%{!?_without_sigrok:0}
209 # plugin tape disabled, requires libkstat
210 %define with_tape 0%{!?_without_tape:0}
211 # plugin tokyotyrant disabled, requires tcrdb.h
212 %define with_tokyotyrant 0%{!?_without_tokyotyrant:0}
213 # plugin write_kafka disabled, requires librdkafka
214 %define with_write_kafka 0%{!?_without_write_kafka:0}
215 # plugin write_mongodb disabled, requires libmongoc
216 %define with_write_mongodb 0%{!?_without_write_mongodb:0}
217 # plugin xencpu disabled, requires xen-devel from non-default repo
218 %define with_xencpu 0%{!?_without_xencpu:0}
219 # plugin zone disabled, requires Solaris
220 %define with_zone 0%{!?_without_zone:0}
221 # plugin gpu_nvidia requires cuda-nvml-dev
222 # get it from https://developer.nvidia.com/cuda-downloads
223 # then install cuda-nvml-dev-10-1 or other version
224 %define with_gpu_nvidia 0%{!?_without_gpu_nvidia:0}
225 # not sure why this one's failing
226 %define with_write_stackdriver 0%{!?_without_write_stackdriver:0}
228 # Plugins not buildable on RHEL < 6
229 %if 0%{?rhel} && 0%{?rhel} < 6
231 %define with_curl_json 0
232 %define with_log_logstash 0
234 %define with_ethstat 0
236 %define with_iptables 0
239 %define with_modbus 0
240 %define with_netlink 0
243 %define with_turbostat 0
244 %define with_write_prometheus 0
245 %define with_write_redis 0
246 %define with_write_riemann 0
249 # Plugins not buildable on RHEL < 7
250 %if 0%{?rhel} && 0%{?rhel} < 7
251 %define with_connectivity 0
252 %define with_cpusleep 0
255 %define with_ovs_events 0
256 %define with_ovs_stats 0
258 %define with_rrdcached 0
259 %define with_sysevent 0
260 %define with_write_redis 0
261 %define with_write_riemann 0
265 Summary: Statistics collection and monitoring daemon
269 URL: https://collectd.org
270 Source: https://collectd.org/files/%{name}-%{version}.tar.bz2
272 Group: System Environment/Daemons
273 BuildRoot: %{_tmppath}/%{name}-%{version}-root
274 BuildRequires: libgcrypt-devel, kernel-headers, libcap-devel, which
275 Vendor: collectd development team <collectd@verplant.org>
277 %if 0%{?fedora} || 0%{?rhel} >= 7
278 BuildRequires: xfsprogs-devel
280 BuildRequires: systemd
282 Requires(post): chkconfig
283 Requires(preun): chkconfig, initscripts
284 Requires(postun): initscripts
288 collectd is a small daemon which collects system information periodically and
289 provides mechanisms to monitor and store the values in a variety of ways. It
290 is written in C for performance. Since the daemon doesn't need to start up
291 every time it wants to update the values it's very fast and easy on the
292 system. Also, the statistics are very fine grained since the files are updated
293 every 10 seconds by default.
297 Summary: AMQP 0.9 plugin for collectd
298 Group: System Environment/Daemons
299 Requires: %{name}%{?_isa} = %{version}-%{release}
300 BuildRequires: librabbitmq-devel
302 The AMQP 0.9 plugin transmits or receives values collected by collectd via the
303 Advanced Message Queuing Protocol v0.9 (AMQP).
308 Summary: AMQP 1.0 plugin for collectd
309 Group: System Environment/Daemons
310 Requires: %{name}%{?_isa} = %{version}-%{release}
311 BuildRequires: qpid-proton-c-devel
313 The AMQP 1.0 plugin transmits or receives values collected by collectd via the
314 Advanced Message Queuing Protocol v1.0 (AMQP1).
319 Summary: Apache plugin for collectd
320 Group: System Environment/Daemons
321 Requires: %{name}%{?_isa} = %{version}-%{release}
322 BuildRequires: curl-devel
324 This plugin collects data provided by Apache's `mod_status'.
329 Summary: aquaero plugin for collectd
330 Group: System Environment/Daemons
331 Requires: %{name}%{?_isa} = %{version}-%{release}
333 Various sensors in the Aquaero 5 watercooling board made by Aquacomputer.
338 Summary: Ascent plugin for collectd
339 Group: System Environment/Daemons
340 Requires: %{name}%{?_isa} = %{version}-%{release}
341 BuildRequires: libxml2-devel, curl-devel
343 The Ascent plugin reads and parses the statistics page of Ascent, a free and
344 open-source server software for the game World of Warcraft by Blizzard
348 %if %{with_barometer}
350 Summary: barometer plugin for collectd
351 Group: System Environment/Daemons
352 Requires: %{name}%{?_isa} = %{version}-%{release}
353 %description barometer
354 Collects pressure and temperature from digital barometers.
359 Summary: Bind plugin for collectd
360 Group: System Environment/Daemons
361 Requires: %{name}%{?_isa} = %{version}-%{release}
362 BuildRequires: libxml2-devel, curl-devel
364 The BIND plugin retrieves this information that's encoded in XML and provided
365 via HTTP and submits the values to collectd.
370 Summary: Ceph plugin for collectd
371 Group: System Environment/Daemons
372 Requires: %{name}%{?_isa} = %{version}-%{release}
373 BuildRequires: yajl-devel
375 Ceph plugin for collectd
380 Summary: Chrony plugin for collectd
381 Group: System Environment/Daemons
382 Requires: %{name}%{?_isa} = %{version}-%{release}
384 Chrony plugin for collectd
387 %if %{with_connectivity}
388 %package connectivity
389 Summary: Connectivity plugin for collectd
390 Group: System Environment/Daemons
391 Requires: %{name}%{?_isa} = %{version}-%{release}
392 BuildRequires: libmnl-devel, yajl-devel
393 %description connectivity
394 Monitors network interface up/down status via netlink library.
399 Summary: Curl plugin for collectd
400 Group: System Environment/Daemons
401 Requires: %{name}%{?_isa} = %{version}-%{release}
402 BuildRequires: curl-devel
404 The cURL plugin uses libcurl to read files and then parses them according to
408 %if %{with_curl_json}
410 Summary: Curl_json plugin for collectd
411 Group: System Environment/Daemons
412 Requires: %{name}%{?_isa} = %{version}-%{release}
413 BuildRequires: curl-devel, yajl-devel
414 %description curl_json
415 The cURL-JSON plugin queries JavaScript Object Notation (JSON) data using the
416 cURL library and parses it according to the user's configuration.
421 Summary: Curl_xml plugin for collectd
422 Group: System Environment/Daemons
423 Requires: %{name}%{?_isa} = %{version}-%{release}
424 BuildRequires: curl-devel, libxml2-devel
425 %description curl_xml
426 The cURL-XML plugin reads files using libcurl and parses it as Extensible
427 Markup Language (XML).
432 Summary: DBI plugin for collectd
433 Group: System Environment/Daemons
434 Requires: %{name}%{?_isa} = %{version}-%{release}
435 BuildRequires: libdbi-devel
437 The DBI plugin uses libdbi, a database abstraction library, to execute SQL
438 statements on a database and read back the result.
443 Summary: disk plugin for collectd
444 Group: System Environment/Daemons
445 Requires: %{name}%{?_isa} = %{version}-%{release}
446 %{?_has_libudev:BuildRequires: libudev-devel}
448 The "disk" plugin collects information about the usage of physical disks and
449 logical disks (partitions).
454 Summary: DNS plugin for collectd
455 Group: System Environment/Daemons
456 Requires: %{name}%{?_isa} = %{version}-%{release}, libpcap >= 1.0
457 BuildRequires: libpcap-devel >= 1.0
459 The DNS plugin has a similar functionality to dnstop: It uses libpcap to get a
460 copy of all traffic from/to port UDP/53 (that's the DNS port), interprets the
461 packets and collects statistics of your DNS traffic.
466 Summary: Email plugin for collectd
467 Group: System Environment/Daemons
468 Requires: %{name}%{?_isa} = %{version}-%{release}, spamassassin
470 This plugin collects data provided by spamassassin.
475 Summary: Gmond plugin for collectd
476 Group: System Environment/Daemons
477 Requires: %{name}%{?_isa} = %{version}-%{release}
478 BuildRequires: ganglia-devel
480 The gmond plugin subscribes to a Multicast group to receive data from gmond,
481 the client daemon of the Ganglia project.
486 Summary: GPS plugin for collectd
487 Group: System Environment/Daemons
488 Requires: %{name}%{?_isa} = %{version}-%{release}
489 BuildRequires: gpsd-devel
491 This plugin monitor gps related data through gpsd.
496 Summary: GRPC plugin for collectd
497 Group: System Environment/Daemons
498 Requires: %{name}%{?_isa} = %{version}-%{release}
499 BuildRequires: protobuf-compiler
501 This plugin embeds a gRPC server into Collectd.
506 Summary: Hddtemp plugin for collectd
507 Group: System Environment/Daemons
508 Requires: %{name}%{?_isa} = %{version}-%{release}, hddtemp
510 The HDDTemp plugin collects the temperature of hard disks. The temperatures are
511 provided via SMART and queried by the external hddtemp daemon.
514 %if %{with_intel_pmu}
516 Summary: Intel PMU plugin for collectd
517 Group: System Environment/Daemons
518 Requires: %{name}%{?_isa} = %{version}-%{release}
519 %description intel_pmu
520 The intel_pmu plugin reads performance counters provided by the Linux
521 kernel perf interface.
524 %if %{with_intel_rdt}
526 Summary: Intel RDT plugin for collectd
527 Group: System Environment/Daemons
528 Requires: %{name}%{?_isa} = %{version}-%{release}
529 BuildRequires: intel-cmt-cat
530 %description intel_rdt
531 The intel_rdt plugin collects information provided by monitoring features of
532 Intel Resource Director Technology (Intel(R) RDT).
537 Summary: IPMI plugin for collectd
538 Group: System Environment/Daemons
539 Requires: %{name}%{?_isa} = %{version}-%{release}
540 BuildRequires: OpenIPMI-devel
542 The IPMI plugin uses the OpenIPMI library to read hardware sensors from servers
543 using the Intelligent Platform Management Interface (IPMI).
548 Summary: IPtables plugin for collectd
549 Group: System Environment/Daemons
550 Requires: %{name}%{?_isa} = %{version}-%{release}
551 BuildRequires: iptables-devel
552 %description iptables
553 The IPtables plugin can gather statistics from your ip_tables based packet
554 filter (aka. firewall) for both the IPv4 and the IPv6 protocol. It can collect
555 the byte- and packet-counters of selected rules and submit them to collectd.
560 Summary: Java plugin for collectd
561 Group: System Environment/Daemons
562 Requires: %{name}%{?_isa} = %{version}-%{release}
563 BuildRequires: java-devel >= 1.6, jpackage-utils >= 1.6
564 Requires: java >= 1.6, jpackage-utils >= 1.6
566 This plugin for collectd allows plugins to be written in Java and executed
570 %if %{with_log_logstash}
571 %package log_logstash
572 Summary: log_logstash plugin for collectd
573 Group: System Environment/Daemons
574 Requires: %{name}%{?_isa} = %{version}-%{release}
575 BuildRequires: yajl-devel
576 %description log_logstash
577 This plugin logs in logstash JSON format
582 Summary: Lua plugin for collectd
583 Group: System Environment/Daemons
584 Requires: %{name}%{?_isa} = %{version}-%{release}
585 BuildRequires: lua-devel
587 The Lua plugin embeds a Lua interpreter into collectd and exposes the
588 application programming interface (API) to Lua scripts.
593 Summary: LVM plugin for collectd
594 Group: System Environment/Daemons
595 Requires: %{name}%{?_isa} = %{version}-%{release}
596 BuildRequires: lvm2-devel
598 This plugin collects size of “Logical Volumes” (LV) and “Volume Groups” (VG)
599 of Linux' “Logical Volume Manager” (LVM).
604 Summary: Mcelog plugin for collectd
605 Group: System Environment/Daemons
606 Requires: %{name}%{?_isa} = %{version}-%{release}
608 This plugin monitors machine check exceptions reported by mcelog and generates
609 appropriate notifications when machine check exceptions are detected.
612 %if %{with_memcachec}
614 Summary: Memcachec plugin for collectd
615 Group: System Environment/Daemons
616 Requires: %{name}%{?_isa} = %{version}-%{release}
617 BuildRequires: libmemcached-devel
618 %description memcachec
619 The Memcachec plugin uses libmemcached to read statistics from a Memcached
620 instance. Note that another plugin, named `memcached', exists and does a
621 similar job, without requiring the installation of libmemcached.
626 Summary: mic plugin for collectd
627 Group: System Environment/Daemons
628 Requires: %{name}%{?_isa} = %{version}-%{release}
630 The mic plugin collects CPU usage, memory usage, temperatures and power
631 consumption from Intel Many Integrated Core (MIC) CPUs.
636 Summary: modbus plugin for collectd
637 Group: System Environment/Daemons
638 Requires: %{name}%{?_isa} = %{version}-%{release}
639 BuildRequires: libmodbus-devel
641 The modbus plugin collects values from Modbus/TCP enabled devices
646 Summary: MySQL plugin for collectd
647 Group: System Environment/Daemons
648 Requires: %{name}%{?_isa} = %{version}-%{release}
649 BuildRequires: mysql-devel
651 MySQL querying plugin. This plugin provides data of issued commands, called
652 handlers and database traffic.
657 Summary: mqtt plugin for collectd
658 Group: System Environment/Daemons
659 Requires: %{name}%{?_isa} = %{version}-%{release}
660 BuildRequires: mosquitto-devel
662 The MQTT plugin publishes and subscribes to MQTT topics.
667 Summary: netlink plugin for collectd
668 Group: System Environment/Daemons
669 Requires: %{name}%{?_isa} = %{version}-%{release}
670 BuildRequires: libmnl-devel, iproute-devel
672 The netlink plugin collects detailed network interface and routing statistics.
677 Summary: Nginx plugin for collectd
678 Group: System Environment/Daemons
679 Requires: %{name}%{?_isa} = %{version}-%{release}
680 BuildRequires: curl-devel
682 This plugin gets data provided by nginx.
685 %if %{with_notify_desktop}
686 %package notify_desktop
687 Summary: Notify_desktop plugin for collectd
688 Group: System Environment/Daemons
689 Requires: %{name}%{?_isa} = %{version}-%{release}
690 BuildRequires: libnotify-devel, gtk2-devel
691 %description notify_desktop
692 The Notify Desktop plugin uses libnotify to display notifications to the user
693 via the desktop notification specification, i. e. on an X display.
696 %if %{with_notify_email}
697 %package notify_email
698 Summary: Notify_email plugin for collectd
699 Group: System Environment/Daemons
700 Requires: %{name}%{?_isa} = %{version}-%{release}
701 BuildRequires: libesmtp-devel
702 %description notify_email
703 The Notify Email plugin uses libESMTP to send notifications to a configured
709 Summary: Nut plugin for collectd
710 Group: System Environment/Daemons
711 Requires: %{name}%{?_isa} = %{version}-%{release}
712 BuildRequires: nut-devel
714 This plugin for collectd provides Network UPS Tools support.
719 Summary: Openldap plugin for collectd
720 Group: System Environment/Daemons
721 Requires: %{name}%{?_isa} = %{version}-%{release}
722 BuildRequires: openldap-devel
723 %description openldap
724 This plugin reads monitoring information from OpenLDAP's cn=Monitor subtree.
727 %if %{with_ovs_events}
729 Summary: Open vSwitch events plugin for collectd
730 Group: System Environment/Daemons
731 Requires: %{name}%{?_isa} = %{version}-%{release}
732 BuildRequires: yajl-devel
733 %description ovs_events
734 This plugin monitors the link status of Open vSwitch (OVS) connected
735 interfaces, dispatches the values to collectd and sends notifications
736 whenever a link state change occurs in the OVS database.
739 %if %{with_ovs_stats}
741 Summary: Open vSwitch statistics plugin for collectd
742 Group: System Environment/Daemons
743 Requires: %{name}%{?_isa} = %{version}-%{release}
744 BuildRequires: yajl-devel
745 %description ovs_stats
746 This plugin collects statictics of OVS connected bridges and
752 Summary: Perl plugin for collectd
753 Group: System Environment/Daemons
754 Requires: %{name}%{?_isa} = %{version}-%{release}
755 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
756 %if 0%{?rhel} && 0%{?rhel} < 6
759 BuildRequires: perl-ExtUtils-Embed
762 The Perl plugin embeds a Perl interpreter into collectd and exposes the
763 application programming interface (API) to Perl-scripts.
766 %if %{with_pcie_errors}
768 Summary: PCI Express errors plugin for collectd
769 Group: System Environment/Daemons
770 Requires: %{name}%{?_isa} = %{version}-%{release}
771 %description pcie_errors
772 The pcie_errors plugin collects PCI Express errors from Device Status in Capability
773 structure and from Advanced Error Reporting Extended Capability.
778 Summary: Pinba plugin for collectd
779 Group: System Environment/Daemons
780 Requires: %{name}%{?_isa} = %{version}-%{release}
781 BuildRequires: protobuf-c-devel
783 The Pinba plugin receives and dispatches timing values from Pinba, a profiling
789 Summary: Ping plugin for collectd
790 Group: System Environment/Daemons
791 Requires: %{name}%{?_isa} = %{version}-%{release}
792 BuildRequires: liboping-devel
794 The Ping plugin measures network latency using ICMP “echo requests”, usually
798 %if %{with_postgresql}
800 Summary: PostgreSQL plugin for collectd
801 Group: System Environment/Daemons
802 Requires: %{name}%{?_isa} = %{version}-%{release}
803 BuildRequires: postgresql-devel
804 %description postgresql
805 The PostgreSQL plugin connects to and executes SQL statements on a PostgreSQL
811 Summary: Python plugin for collectd
812 Group: System Environment/Daemons
813 Requires: %{name}%{?_isa} = %{version}-%{release}
814 %if 0%{?rhel} && 0%{?rhel} < 6
815 BuildRequires: python26-devel
817 BuildRequires: python-devel
820 The Python plugin embeds a Python interpreter into collectd and exposes the
821 application programming interface (API) to Python-scripts.
826 Summary: Redis plugin for collectd
827 Group: System Environment/Daemons
828 Requires: %{name}%{?_isa} = %{version}-%{release}
829 BuildRequires: hiredis-devel
831 The Redis plugin connects to one or more instances of Redis, a key-value store,
832 and collects usage information using the hiredis library.
835 %if %{with_rrdcached}
837 Summary: RRDCached plugin for collectd
838 Group: System Environment/Daemons
839 Requires: %{name}%{?_isa} = %{version}-%{release}, rrdtool >= 1.4
840 BuildRequires: rrdtool-devel
841 %description rrdcached
842 The RRDCacheD plugin connects to the “RRD caching daemon”, rrdcached and
843 submits updates for RRD files to that daemon.
848 Summary: RRDtool plugin for collectd
849 Group: System Environment/Daemons
850 Requires: %{name}%{?_isa} = %{version}-%{release}
851 BuildRequires: rrdtool-devel
853 The RRDtool plugin writes values to RRD-files using librrd.
858 Summary: Sensors plugin for collectd
859 Group: System Environment/Daemons
860 Requires: %{name}%{?_isa} = %{version}-%{release}
861 BuildRequires: lm_sensors-devel
863 This plugin for collectd provides querying of sensors supported by lm_sensors.
868 Summary: sigrok plugin for collectd
869 Group: System Environment/Daemons
870 Requires: %{name}%{?_isa} = %{version}-%{release}
872 Uses libsigrok as a backend, allowing any sigrok-supported device to have its
873 measurements fed to collectd. This includes multimeters, sound level meters,
874 thermometers, and much more.
879 Summary: SMART plugin for collectd
880 Group: System Environment/Daemons
881 Requires: %{name}%{?_isa} = %{version}-%{release}
882 BuildRequires: libatasmart-devel
884 Collect SMART statistics, notably load cycle count, temperature and bad
890 Summary: SNMP plugin for collectd
891 Group: System Environment/Daemons
892 Requires: %{name}%{?_isa} = %{version}-%{release}
893 BuildRequires: net-snmp-devel
895 This plugin for collectd allows querying of network equipment using SNMP.
898 %if %{with_snmp_agent}
900 Summary: SNMP AgentX plugin for collectd
901 Group: System Environment/Daemons
902 Requires: %{name}%{?_isa} = %{version}-%{release}
903 BuildRequires: net-snmp-devel
904 %description snmp_agent
905 This plugin for collectd to support AgentX integration.
910 Summary: Rsyslog event plugin for collectd
911 Group: System Environment/Daemons
912 Requires: %{name}%{?_isa} = %{version}-%{release}
913 BuildRequires: yajl-devel
914 %description sysevent
915 Monitors rsyslog for system events.
920 Summary: Varnish plugin for collectd
921 Group: System Environment/Daemons
922 Requires: %{name}%{?_isa} = %{version}-%{release}
923 BuildRequires: varnish-libs-devel
925 The Varnish plugin collects information about Varnish, an HTTP accelerator.
930 Summary: Virt plugin for collectd
931 Group: System Environment/Daemons
932 Requires: %{name}%{?_isa} = %{version}-%{release}
933 BuildRequires: libvirt-devel
935 This plugin collects information from virtualized guests.
938 %if %{with_write_http}
940 Summary: Write-HTTP plugin for collectd
941 Group: System Environment/Daemons
942 Requires: %{name}%{?_isa} = %{version}-%{release}
943 BuildRequires: curl-devel
944 %description write_http
945 The Write-HTTP plugin sends the values collected by collectd to a web-server
946 using HTTP POST requests.
949 %if %{with_write_kafka}
951 Summary: Write-kafka plugin for collectd
952 Group: System Environment/Daemons
953 Requires: %{name}%{?_isa} = %{version}-%{release}
954 BuildRequires: librdkafka-devel
955 %description write_kafka
956 The write_kafka plugin sends values to kafka, a distributed messaging system.
959 %if %{with_write_prometheus}
960 %package write_prometheus
961 Summary: Write-prometheus plugin for collectd
962 Group: System Environment/Daemons
963 Requires: %{name}%{?_isa} = %{version}-%{release}
964 BuildRequires: libmicrohttpd-devel
965 %description write_prometheus
966 The Write Prometheus plugin exposes collected values using an embedded HTTP
967 server, turning the collectd daemon into a Prometheus exporter.
970 %if %{with_write_redis}
972 Summary: Write-Redis plugin for collectd
973 Group: System Environment/Daemons
974 Requires: %{name}%{?_isa} = %{version}-%{release}
975 BuildRequires: hiredis-devel
976 %description write_redis
977 The Write Redis plugin stores values in Redis, a “data structures server”.
980 %if %{with_write_riemann}
981 %package write_riemann
982 Summary: riemann plugin for collectd
983 Group: System Environment/Daemons
984 Requires: %{name}%{?_isa} = %{version}-%{release}
985 BuildRequires: riemann-c-client-devel >= 1.6
986 %description write_riemann
987 The riemann plugin submits values to Riemann, an event stream processor.
990 %if %{with_write_stackdriver}
991 %package write_stackdriver
992 Summary: stackdriver plugin for collectd
993 Group: System Environment/Daemons
994 Requires: %{name}%{?_isa} = %{version}-%{release}
995 BuildRequires: curl-devel, yajl-devel, openssl-devel
996 %description write_stackdriver
997 The write_stackdriver collectd plugin writes metrics to the
998 Google Stackdriver Monitoring service.
1001 %if %{with_gpu_nvidia}
1003 Summary: stackdriver plugin for collectd
1004 Group: System Environment/Daemons
1005 Requires: %{name}%{?_isa} = %{version}-%{release}
1006 BuildRequires: cuda-nvml-dev-10-1
1007 %description gpu_nvidia
1008 The gpu_nvidia collectd plugin collects NVidia GPU metrics.
1013 Summary: xencpu plugin for collectd
1014 Group: System Environment/Daemons
1015 Requires: %{name}%{?_isa} = %{version}-%{release}
1016 BuildRequires: xen-devel
1018 The xencpu plugin collects CPU statistics from Xen.
1023 Summary: XMMS plugin for collectd
1024 Group: System Environment/Daemons
1025 Requires: %{name}%{?_isa} = %{version}-%{release}
1026 BuildRequires: xmms-devel
1028 The xmms plugin collects information from the XMMS music player.
1031 %package collection3
1032 Summary: Web-based viewer for collectd
1033 Group: System Environment/Daemons
1034 Requires: %{name}%{?_isa} = %{version}-%{release}
1036 %description collection3
1037 collection3 is a graphing front-end for the RRD files created by and filled
1038 with collectd. It is written in Perl and should be run as an CGI-script.
1039 Graphs are generated on-the-fly, so no cron job or similar is necessary.
1041 %package php-collection
1042 Summary: collect php webfrontent
1043 Group: System Environment/Daemons
1044 Requires: collectd = %{version}-%{release}
1047 Requires: php-rrdtool
1048 %description php-collection
1049 PHP graphing frontend for RRD files created by and filled with collectd.
1052 Summary: Contrib files for collectd
1053 Group: System Environment/Daemons
1054 Requires: %{name}%{?_isa} = %{version}-%{release}
1055 %description contrib
1056 All the files found under contrib/ in the source tree are bundled in this
1059 %package -n libcollectdclient
1060 Summary: Collectd client library
1061 Group: System Environment/Daemons
1062 %description -n libcollectdclient
1063 Collectd client library
1065 %package -n libcollectdclient-devel
1066 Summary: Development files for libcollectdclient
1067 Group: System Environment/Daemons
1069 Requires: libcollectdclient%{?_isa} = %{version}-%{release}
1070 %description -n libcollectdclient-devel
1071 Development files for libcollectdclient
1073 %package -n collectd-utils
1074 Summary: Collectd utilities
1075 Group: System Environment/Daemons
1076 Requires: libcollectdclient%{?_isa} = %{version}-%{release}
1077 Requires: collectd%{?_isa} = %{version}-%{release}
1078 %description -n collectd-utils
1085 %if %{with_aggregation}
1086 %define _with_aggregation --enable-aggregation
1088 %define _with_aggregation --disable-aggregation
1092 %define _with_amqp --enable-amqp
1094 %define _with_amqp --disable-amqp
1098 %define _with_amqp1 --enable-amqp1
1100 %define _with_amqp1 --disable-amqp1
1104 %define _with_apache --enable-apache
1106 %define _with_apache --disable-apache
1110 %define _with_apcups --enable-apcups
1112 %define _with_apcups --disable-apcups
1115 %if %{with_apple_sensors}
1116 %define _with_apple_sensors --enable-apple_sensors
1118 %define _with_apple_sensors --disable-apple_sensors
1122 %define _with_aquaero --enable-aquaero
1124 %define _with_aquaero --disable-aquaero
1128 %define _with_ascent --enable-ascent
1130 %define _with_ascent --disable-ascent
1133 %if %{with_barometer}
1134 %define _with_barometer --enable-barometer
1136 %define _with_barometer --disable-barometer
1140 %define _with_battery --enable-battery
1142 %define _with_battery --disable-battery
1146 %define _with_bind --enable-bind
1148 %define _with_bind --disable-bind
1152 %define _with_cgroups --enable-cgroups
1154 %define _with_cgroups --disable-cgroups
1158 %define _with_chrony --enable-chrony
1160 %define _with_chrony --disable-chrony
1163 %if %{with_connectivity}
1164 %define _with_connectivity --enable-connectivity
1166 %define _with_connectivity --disable-connectivity
1169 %if %{with_conntrack}
1170 %define _with_conntrack --enable-conntrack
1172 %define _with_conntrack --disable-conntrack
1175 %if %{with_contextswitch}
1176 %define _with_contextswitch --enable-contextswitch
1178 %define _with_contextswitch --disable-contextswitch
1182 %define _with_cpu --enable-cpu
1184 %define _with_cpu --disable-cpu
1188 %define _with_cpufreq --enable-cpufreq
1190 %define _with_cpufreq --disable-cpufreq
1193 %if %{with_cpusleep}
1194 %define _with_cpusleep --enable-cpusleep
1196 %define _with_cpusleep --disable-cpusleep
1200 %define _with_csv --enable-csv
1202 %define _with_csv --disable-csv
1206 %define _with_ceph --enable-ceph
1208 %define _with_ceph --disable-ceph
1212 %define _with_curl --enable-curl
1214 %define _with_curl --disable-curl
1217 %if %{with_curl_json}
1218 %define _with_curl_json --enable-curl_json
1220 %define _with_curl_json --disable-curl_json
1223 %if %{with_curl_xml}
1224 %define _with_curl_xml --enable-curl_xml
1226 %define _with_curl_xml --disable-curl_xml
1230 %define _with_dbi --enable-dbi
1232 %define _with_dbi --disable-dbi
1236 %define _with_df --enable-df
1238 %define _with_df --disable-df
1242 %define _with_disk --enable-disk
1244 %define _with_disk --disable-disk
1248 %define _with_dns --enable-dns
1250 %define _with_dns --disable-dns
1254 %define _with_drbd --enable-drbd
1256 %define _with_drbd --disable-drbd
1259 %if %{with_dpdkevents}
1260 %define _with_dpdkevents --enable-dpdkevents
1262 %define _with_dpdkevents --disable-dpdkevents
1265 %if %{with_dpdkstat}
1266 %define _with_dpdkstat --enable-dpdkstat
1268 %define _with_dpdkstat --disable-dpdkstat
1272 %define _with_email --enable-email
1274 %define _with_email --disable-email
1278 %define _with_entropy --enable-entropy
1280 %define _with_entropy --disable-entropy
1284 %define _with_ethstat --enable-ethstat
1286 %define _with_ethstat --disable-ethstat
1290 %define _with_exec --enable-exec
1292 %define _with_exec --disable-exec
1296 %define _with_fhcount --enable-fhcount
1298 %define _with_fhcount --disable-fhcount
1301 %if %{with_filecount}
1302 %define _with_filecount --enable-filecount
1304 %define _with_filecount --disable-filecount
1308 %define _with_fscache --enable-fscache
1310 %define _with_fscache --disable-fscache
1314 %define _with_gmond --enable-gmond
1316 %define _with_gmond --disable-gmond
1320 %define _with_gps --enable-gps
1322 %define _with_gps --disable-gps
1326 %define _with_grpc --enable-grpc
1328 %define _with_grpc --disable-grpc
1332 %define _with_hddtemp --enable-hddtemp
1334 %define _with_hddtemp --disable-hddtemp
1337 %if %{with_hugepages}
1338 %define _with_hugepages --enable-hugepages
1340 %define _with_hugepages --disable-hugepages
1343 %if %{with_intel_pmu}
1344 %define _with_intel_pmu --enable-intel_pmu
1346 %define _with_intel_pmu --disable-intel_pmu
1349 %if %{with_intel_rdt}
1350 %define _with_intel_rdt --enable-intel_rdt
1352 %define _with_intel_rdt --disable-intel_rdt
1355 %if %{with_interface}
1356 %define _with_interface --enable-interface
1358 %define _with_interface --disable-interface
1362 %define _with_ipc --enable-ipc
1364 %define _with_ipc --disable-ipc
1368 %define _with_ipmi --enable-ipmi
1370 %define _with_ipmi --disable-ipmi
1373 %if %{with_iptables}
1374 %define _with_iptables --enable-iptables
1376 %define _with_iptables --disable-iptables
1380 %define _with_ipvs --enable-ipvs
1382 %define _with_ipvs --disable-ipvs
1386 %define _with_irq --enable-irq
1388 %define _with_irq --disable-irq
1392 %define _with_java --enable-java --with-java=%{java_home}/
1394 %define _with_java --disable-java
1398 %define _with_virt --enable-virt
1400 %define _with_virt --disable-virt
1404 %define _with_load --enable-load
1406 %define _with_load --disable-load
1410 %define _with_logfile --enable-logfile
1412 %define _with_logfile --disable-logfile
1415 %if %{with_log_logstash}
1416 %define _with_log_logstash --enable-log_logstash
1418 %define _with_log_logstash --disable-log_logstash
1422 %define _with_lpar --enable-lpar
1424 %define _with_lpar --disable-lpar
1428 %define _with_lua --enable-lua
1430 %define _with_lua --disable-lua
1434 %define _with_lvm --enable-lvm
1436 %define _with_lvm --disable-lvm
1440 %define _with_madwifi --enable-madwifi
1442 %define _with_madwifi --disable-madwifi
1446 %define _with_mbmon --enable-mbmon
1448 %define _with_mbmon --disable-mbmon
1452 %define _with_mcelog --enable-mcelog
1454 %define _with_mcelog --disable-mcelog
1458 %define _with_md --enable-md
1460 %define _with_md --disable-md
1463 %if %{with_memcachec}
1464 %define _with_memcachec --enable-memcachec
1466 %define _with_memcachec --disable-memcachec
1469 %if %{with_memcached}
1470 %define _with_memcached --enable-memcached
1472 %define _with_memcached --disable-memcached
1476 %define _with_memory --enable-memory
1478 %define _with_memory --disable-memory
1482 %define _with_mic --enable-mic
1484 %define _with_mic --disable-mic
1488 %define _with_modbus --enable-modbus
1490 %define _with_modbus --disable-modbus
1493 %if %{with_multimeter}
1494 %define _with_multimeter --enable-multimeter
1496 %define _with_multimeter --disable-multimeter
1500 %define _with_mqtt --enable-mqtt
1502 %define _with_mqtt --disable-mqtt
1506 %define _with_mysql --enable-mysql
1508 %define _with_mysql --disable-mysql
1512 %define _with_netapp --enable-netapp
1514 %define _with_netapp --disable-netapp
1518 %define _with_netlink --enable-netlink
1520 %define _with_netlink --disable-netlink
1524 %define _with_network --enable-network
1526 %define _with_network --disable-network
1530 %define _with_nfs --enable-nfs
1532 %define _with_nfs --disable-nfs
1536 %define _with_nginx --enable-nginx
1538 %define _with_nginx --disable-nginx
1541 %if %{with_notify_desktop}
1542 %define _with_notify_desktop --enable-notify_desktop
1544 %define _with_notify_desktop --disable-notify_desktop
1547 %if %{with_notify_email}
1548 %define _with_notify_email --enable-notify_email
1550 %define _with_notify_email --disable-notify_email
1553 %if %{with_notify_nagios}
1554 %define _with_notify_nagios --enable-notify_nagios
1556 %define _with_notify_nagios --disable-notify_nagios
1560 %define _with_ntpd --enable-ntpd
1562 %define _with_ntpd --disable-ntpd
1566 %define _with_numa --enable-numa
1568 %define _with_numa --disable-numa
1572 %define _with_nut --enable-nut
1574 %define _with_nut --disable-nut
1578 %define _with_olsrd --enable-olsrd
1580 %define _with_olsrd --disable-olsrd
1584 %define _with_onewire --enable-onewire
1586 %define _with_onewire --disable-onewire
1589 %if %{with_openldap}
1590 %define _with_openldap --enable-openldap
1592 %define _with_openldap --disable-openldap
1596 %define _with_openvpn --enable-openvpn
1598 %define _with_openvpn --disable-openvpn
1602 %define _with_oracle --enable-oracle
1604 %define _with_oracle --disable-oracle
1607 %if %{with_ovs_events}
1608 %define _with_ovs_events --enable-ovs_events
1610 %define _with_ovs_events --disable-ovs_events
1613 %if %{with_ovs_stats}
1614 %define _with_ovs_stats --enable-ovs_stats
1616 %define _with_ovs_stats --disable-ovs_stats
1620 %define _with_perl --enable-perl --with-perl-bindings="INSTALLDIRS=vendor"
1622 %define _with_perl --disable-perl
1625 %if %{with_pcie_errors}
1626 %define _with_pcie_errors --enable-pcie_errors
1628 %define _with_pcie_errors --disable-pcie_errors
1632 %define _with_pf --enable-pf
1634 %define _with_pf --disable-pf
1638 %define _with_pinba --enable-pinba
1640 %define _with_pinba --disable-pinba
1644 %define _with_ping --enable-ping
1646 %define _with_ping --disable-ping
1649 %if %{with_postgresql}
1650 %define _with_postgresql --enable-postgresql
1652 %define _with_postgresql --disable-postgresql
1655 %if %{with_powerdns}
1656 %define _with_powerdns --enable-powerdns
1658 %define _with_powerdns --disable-powerdns
1661 %if %{with_processes}
1662 %define _with_processes --enable-processes
1664 %define _with_processes --disable-processes
1667 %if %{with_protocols}
1668 %define _with_protocols --enable-protocols
1670 %define _with_protocols --disable-protocols
1674 %if 0%{?rhel} && 0%{?rhel} < 6
1675 %define _with_python --enable-python --with-python=%{_bindir}/python2.6
1676 %define _python_config PYTHON_CONFIG="%{_bindir}/python2.6-config"
1678 %define _with_python --enable-python
1681 %define _with_python --disable-python
1685 %define _with_redis --enable-redis
1687 %define _with_redis --disable-redis
1690 %if %{with_routeros}
1691 %define _with_routeros --enable-routeros
1693 %define _with_routeros --disable-routeros
1696 %if %{with_rrdcached}
1697 %define _with_rrdcached --enable-rrdcached
1699 %define _with_rrdcached --disable-rrdcached
1703 %define _with_rrdtool --enable-rrdtool
1705 %define _with_rrdtool --disable-rrdtool
1709 %define _with_sensors --enable-sensors
1711 %define _with_sensors --disable-sensors
1715 %define _with_serial --enable-serial
1717 %define _with_serial --disable-serial
1721 %define _with_sigrok --enable-sigrok
1723 %define _with_sigrok --disable-sigrok
1727 %define _with_smart --enable-smart
1729 %define _with_smart --disable-smart
1733 %define _with_snmp --enable-snmp
1735 %define _with_snmp --disable-snmp
1738 %if %{with_snmp_agent}
1739 %define _with_snmp_agent --enable-snmp_agent
1741 %define _with_snmp_agent --disable-snmp_agent
1745 %define _with_statsd --enable-statsd
1747 %define _with_statsd --disable-statsd
1751 %define _with_swap --enable-swap
1753 %define _with_swap --disable-swap
1756 %if %{with_synproxy}
1757 %define _with_synproxy --enable-synproxy
1759 %define _with_synproxy --disable-synproxy
1762 %if %{with_sysevent}
1763 %define _with_sysevent --enable-sysevent
1765 %define _with_sysevent --disable-sysevent
1769 %define _with_syslog --enable-syslog
1771 %define _with_syslog --disable-syslog
1775 %define _with_table --enable-table
1777 %define _with_table --disable-table
1781 %define _with_tail --enable-tail
1783 %define _with_tail --disable-tail
1786 %if %{with_tail_csv}
1787 %define _with_tail_csv --enable-tail_csv
1789 %define _with_tail_csv --disable-tail_csv
1793 %define _with_tape --enable-tape
1795 %define _with_tape --disable-tape
1798 %if %{with_tcpconns}
1799 %define _with_tcpconns --enable-tcpconns
1801 %define _with_tcpconns --disable-tcpconns
1804 %if %{with_teamspeak2}
1805 %define _with_teamspeak2 --enable-teamspeak2
1807 %define _with_teamspeak2 --disable-teamspeak2
1811 %define _with_ted --enable-ted
1813 %define _with_ted --disable-ted
1817 %define _with_thermal --enable-thermal
1819 %define _with_thermal --disable-thermal
1822 %if %{with_threshold}
1823 %define _with_threshold --enable-threshold
1825 %define _with_threshold --disable-threshold
1828 %if %{with_tokyotyrant}
1829 %define _with_tokyotyrant --enable-tokyotyrant
1831 %define _with_tokyotyrant --disable-tokyotyrant
1834 %if %{with_turbostat}
1835 %define _with_turbostat --enable-turbostat
1837 %define _with_turbostat --disable-turbostat
1840 %if %{with_unixsock}
1841 %define _with_unixsock --enable-unixsock
1843 %define _with_unixsock --disable-unixsock
1847 %define _with_uptime --enable-uptime
1849 %define _with_uptime --disable-uptime
1853 %define _with_users --enable-users
1855 %define _with_users --disable-users
1859 %define _with_uuid --enable-uuid
1861 %define _with_uuid --disable-uuid
1865 %define _with_varnish --enable-varnish
1867 %define _with_varnish --disable-varnish
1871 %define _with_vmem --enable-vmem
1873 %define _with_vmem --disable-vmem
1877 %define _with_vserver --enable-vserver
1879 %define _with_vserver --disable-vserver
1882 %if %{with_wireless}
1883 %define _with_wireless --enable-wireless
1885 %define _with_wireless --disable-wireless
1888 %if %{with_write_graphite}
1889 %define _with_write_graphite --enable-write_graphite
1891 %define _with_write_graphite --disable-write_graphite
1894 %if %{with_write_http}
1895 %define _with_write_http --enable-write_http
1897 %define _with_write_http --disable-write_http
1900 %if %{with_write_kafka}
1901 %define _with_write_kafka --enable-write_kafka
1903 %define _with_write_kafka --disable-write_kafka
1906 %if %{with_write_log}
1907 %define _with_write_log --enable-write_log
1909 %define _with_write_log --disable-write_log
1912 %if %{with_write_mongodb}
1913 %define _with_write_mongodb --enable-write_mongodb
1915 %define _with_write_mongodb --disable-write_mongodb
1918 %if %{with_write_prometheus}
1919 %define _with_write_prometheus --enable-write_prometheus
1921 %define _with_write_prometheus --disable-write_prometheus
1924 %if %{with_write_redis}
1925 %define _with_write_redis --enable-write_redis
1927 %define _with_write_redis --disable-write_redis
1930 %if %{with_write_riemann}
1931 %define _with_write_riemann --enable-write_riemann
1933 %define _with_write_riemann --disable-write_riemann
1936 %if %{with_write_stackdriver}
1937 %define _with_write_stackdriver --enable-write_stackdriver
1939 %define _with_write_stackdriver --disable-write_stackdriver
1942 %if %{with_gpu_nvidia}
1943 %define _with_gpu_nvidia --enable-gpu_nvidia
1945 %define _with_gpu_nvidia --disable-gpu_nvidia
1948 %if %{with_write_sensu}
1949 %define _with_write_sensu --enable-write_sensu
1951 %define _with_write_sensu --disable-write_sensu
1954 %if %{with_write_syslog}
1955 %define _with_write_syslog --enable-write_syslog
1957 %define _with_write_syslog --disable-write_syslog
1960 %if %{with_write_tsdb}
1961 %define _with_write_tsdb --enable-write_tsdb
1963 %define _with_write_tsdb --disable-write_tsdb
1967 %define _with_xencpu --enable-xencpu
1969 %define _with_xencpu --disable-xencpu
1973 %define _with_xmms --enable-xmms
1975 %define _with_xmms --disable-xmms
1979 %define _with_zfs_arc --enable-zfs_arc
1981 %define _with_zfs_arc --disable-zfs_arc
1985 %define _with_zone --enable-zone
1987 %define _with_zone --disable-zone
1990 %if %{with_zookeeper}
1991 %define _with_zookeeper --enable-zookeeper
1993 %define _with_zookeeper --disable-zookeeper
1997 %define _feature_debug --enable-debug
1999 %define _feature_debug --disable-debug
2002 %configure CFLAGS="%{optflags} -DLT_LAZY_OR_NOW=\"RTLD_LAZY|RTLD_GLOBAL\"" \
2003 %{?_python_config} \
2004 %{?_feature_debug} \
2006 --enable-all-plugins=yes \
2007 --enable-match_empty_counter \
2008 --enable-match_hashed \
2009 --enable-match_regex \
2010 --enable-match_timediff \
2011 --enable-match_value \
2012 --enable-target_notification \
2013 --enable-target_replace \
2014 --enable-target_scale \
2015 --enable-target_set \
2016 --enable-target_v5upgrade \
2017 %{?_with_aggregation} \
2022 %{?_with_apple_sensors} \
2025 %{?_with_barometer} \
2031 %{?_with_connectivity} \
2032 %{?_with_conntrack} \
2033 %{?_with_contextswitch} \
2035 %{?_with_cpusleep} \
2038 %{?_with_curl_json} \
2039 %{?_with_curl_xml} \
2046 %{?_with_dpdkevents} \
2047 %{?_with_dpdkstat} \
2053 %{?_with_filecount} \
2059 %{?_with_hugepages} \
2060 %{?_with_intel_pmu} \
2061 %{?_with_intel_rdt} \
2062 %{?_with_interface} \
2065 %{?_with_iptables} \
2070 %{?_with_log_logstash} \
2079 %{?_with_memcachec} \
2080 %{?_with_memcached} \
2085 %{?_with_multimeter} \
2092 %{?_with_notify_desktop} \
2093 %{?_with_notify_email} \
2094 %{?_with_notify_nagios} \
2100 %{?_with_openldap} \
2103 %{?_with_ovs_events} \
2104 %{?_with_ovs_stats} \
2106 %{?_with_pcie_errors} \
2110 %{?_with_postgresql} \
2111 %{?_with_powerdns} \
2112 %{?_with_processes} \
2113 %{?_with_protocols} \
2116 %{?_with_routeros} \
2117 %{?_with_rrdcached} \
2124 %{?_with_snmp_agent} \
2127 %{?_with_synproxy} \
2128 %{?_with_sysevent} \
2131 %{?_with_tail_csv} \
2134 %{?_with_tcpconns} \
2135 %{?_with_teamspeak2} \
2138 %{?_with_threshold} \
2139 %{?_with_tokyotyrant} \
2140 %{?_with_turbostat} \
2141 %{?_with_unixsock} \
2150 %{?_with_write_graphite} \
2151 %{?_with_write_http} \
2152 %{?_with_write_http} \
2153 %{?_with_write_kafka} \
2154 %{?_with_write_log} \
2155 %{?_with_write_mongodb} \
2156 %{?_with_write_prometheus} \
2157 %{?_with_write_redis} \
2158 %{?_with_write_riemann} \
2159 %{?_with_write_stackdriver} \
2160 %{?_with_gpu_nvidia} \
2161 %{?_with_write_sensu} \
2162 %{?_with_write_syslog} \
2163 %{?_with_write_tsdb} \
2171 %{__make} %{?_smp_mflags}
2176 %{__make} install DESTDIR=%{buildroot}
2177 %if 0%{?fedora} || 0%{?rhel} >= 7
2178 %{__install} -Dp -m0644 contrib/systemd.collectd.service %{buildroot}%{_unitdir}/collectd.service
2180 %{__install} -Dp -m0755 contrib/redhat/init.d-collectd %{buildroot}%{_initrddir}/collectd
2182 %{__install} -Dp -m0644 src/collectd.conf %{buildroot}%{_sysconfdir}/collectd.conf
2183 %{__install} -d %{buildroot}%{_sharedstatedir}/collectd/
2184 %{__install} -d %{buildroot}%{_sysconfdir}/collectd.d/
2186 %{__mkdir} -p %{buildroot}%{_localstatedir}/www
2187 %{__mkdir} -p %{buildroot}/%{_sysconfdir}/httpd/conf.d
2189 %{__mv} contrib/collection3 %{buildroot}%{_localstatedir}/www
2190 %{__mv} contrib/redhat/collection3.conf %{buildroot}/%{_sysconfdir}/httpd/conf.d/
2192 %{__mv} contrib/php-collection %{buildroot}%{_localstatedir}/www
2193 %{__mv} contrib/redhat/php-collection.conf %{buildroot}/%{_sysconfdir}/httpd/conf.d/
2196 find contrib/ -type f -exec %{__chmod} a-x {} \;
2197 # *.la files shouldn't be distributed.
2198 rm -f %{buildroot}/%{_libdir}/{collectd/,}*.la
2200 # Remove Perl hidden .packlist files.
2201 find %{buildroot} -type f -name .packlist -delete
2202 # Remove Perl temporary file perllocal.pod
2203 find %{buildroot} -type f -name perllocal.pod -delete
2206 rm -f %{buildroot}%{_datadir}/collectd/java/collectd-api.jar
2207 rm -f %{buildroot}%{_datadir}/collectd/java/generic-jmx.jar
2208 rm -f %{buildroot}%{_mandir}/man5/collectd-java.5*
2212 rm -f %{buildroot}%{_mandir}/man5/collectd-lua.5*
2216 rm -f %{buildroot}%{_mandir}/man5/collectd-perl.5*
2217 rm -f %{buildroot}%{_mandir}/man3/Collectd::Unixsock.3pm*
2218 rm -fr %{buildroot}/usr/lib/perl5/
2221 %if ! %{with_postgresql}
2222 rm -f %{buildroot}%{_datadir}/collectd/postgresql_default.conf
2225 %if ! %{with_python}
2226 rm -f %{buildroot}%{_mandir}/man5/collectd-python.5*
2230 rm -f %{buildroot}%{_mandir}/man5/collectd-snmp.5*
2238 %if 0%{?fedora} || 0%{?rhel} >= 7
2239 %systemd_post collectd.service
2241 /sbin/chkconfig --add collectd || :
2245 %if 0%{?fedora} || 0%{?rhel} >= 7
2246 %systemd_preun collectd.service
2248 # stop collectd only when uninstalling
2249 if [ $1 -eq 0 ]; then
2250 /sbin/service collectd stop >/dev/null 2>&1 || :
2251 /sbin/chkconfig --del collectd || :
2256 %if 0%{?fedora} || 0%{?rhel} >= 7
2257 %systemd_postun_with_restart collectd.service
2259 # restart collectd only when upgrading
2260 if [ $1 -eq 1 ]; then
2261 /sbin/service collectd condrestart >/dev/null 2>&1 || :
2265 %post -n libcollectdclient -p /sbin/ldconfig
2266 %postun -n libcollectdclient -p /sbin/ldconfig
2270 %doc AUTHORS COPYING ChangeLog README
2271 %config(noreplace) %{_sysconfdir}/collectd.conf
2272 %if 0%{?fedora} || 0%{?rhel} >= 7
2273 %{_unitdir}/collectd.service
2275 %{_initrddir}/collectd
2277 %{_sbindir}/collectd
2278 %{_sbindir}/collectdmon
2279 %{_datadir}/collectd/types.db
2280 %{_sharedstatedir}/collectd
2281 %{_mandir}/man1/collectd.1*
2282 %{_mandir}/man1/collectdmon.1*
2283 %{_mandir}/man5/collectd-email.5*
2284 %{_mandir}/man5/collectd-exec.5*
2285 %{_mandir}/man5/collectd-threshold.5*
2286 %{_mandir}/man5/collectd-unixsock.5*
2287 %{_mandir}/man5/collectd.conf.5*
2288 %{_mandir}/man5/types.db.5*
2290 # all plugins bundled with the main collectd package
2291 %{_libdir}/%{name}/match_empty_counter.so
2292 %{_libdir}/%{name}/match_hashed.so
2293 %{_libdir}/%{name}/match_regex.so
2294 %{_libdir}/%{name}/match_timediff.so
2295 %{_libdir}/%{name}/match_value.so
2296 %{_libdir}/%{name}/target_notification.so
2297 %{_libdir}/%{name}/target_replace.so
2298 %{_libdir}/%{name}/target_scale.so
2299 %{_libdir}/%{name}/target_set.so
2300 %{_libdir}/%{name}/target_v5upgrade.so
2302 %if %{with_aggregation}
2303 %{_libdir}/%{name}/aggregation.so
2306 %{_libdir}/%{name}/apcups.so
2309 %{_libdir}/%{name}/battery.so
2312 %{_libdir}/%{name}/cgroups.so
2314 %if %{with_conntrack}
2315 %{_libdir}/%{name}/conntrack.so
2317 %if %{with_contextswitch}
2318 %{_libdir}/%{name}/contextswitch.so
2321 %{_libdir}/%{name}/cpu.so
2324 %{_libdir}/%{name}/cpufreq.so
2326 %if %{with_cpusleep}
2327 %{_libdir}/%{name}/cpusleep.so
2330 %{_libdir}/%{name}/csv.so
2333 %{_libdir}/%{name}/df.so
2336 %{_libdir}/%{name}/drbd.so
2339 %{_libdir}/%{name}/ethstat.so
2342 %{_libdir}/%{name}/entropy.so
2345 %{_libdir}/%{name}/exec.so
2348 %{_libdir}/%{name}/fhcount.so
2350 %if %{with_filecount}
2351 %{_libdir}/%{name}/filecount.so
2354 %{_libdir}/%{name}/fscache.so
2356 %if %{with_hugepages}
2357 %{_libdir}/%{name}/hugepages.so
2359 %if %{with_interface}
2360 %{_libdir}/%{name}/interface.so
2363 %{_libdir}/%{name}/ipc.so
2366 %{_libdir}/%{name}/ipvs.so
2369 %{_libdir}/%{name}/irq.so
2372 %{_libdir}/%{name}/load.so
2375 %{_libdir}/%{name}/logfile.so
2378 %{_libdir}/%{name}/madwifi.so
2381 %{_libdir}/%{name}/mbmon.so
2384 %{_libdir}/%{name}/mcelog.so
2387 %{_libdir}/%{name}/md.so
2389 %if %{with_memcached}
2390 %{_libdir}/%{name}/memcached.so
2393 %{_libdir}/%{name}/memory.so
2395 %if %{with_multimeter}
2396 %{_libdir}/%{name}/multimeter.so
2399 %{_libdir}/%{name}/network.so
2402 %{_libdir}/%{name}/nfs.so
2404 %if %{with_notify_nagios}
2405 %{_libdir}/%{name}/notify_nagios.so
2408 %{_libdir}/%{name}/ntpd.so
2411 %{_libdir}/%{name}/numa.so
2414 %{_libdir}/%{name}/openvpn.so
2417 %{_libdir}/%{name}/olsrd.so
2419 %if %{with_powerdns}
2420 %{_libdir}/%{name}/powerdns.so
2422 %if %{with_processes}
2423 %{_libdir}/%{name}/processes.so
2425 %if %{with_protocols}
2426 %{_libdir}/%{name}/protocols.so
2429 %{_libdir}/%{name}/serial.so
2432 %{_libdir}/%{name}/statsd.so
2435 %{_libdir}/%{name}/swap.so
2437 %if %{with_synproxy}
2438 %{_libdir}/%{name}/synproxy.so
2441 %{_libdir}/%{name}/syslog.so
2444 %{_libdir}/%{name}/table.so
2447 %{_libdir}/%{name}/tail.so
2449 %if %{with_tail_csv}
2450 %{_libdir}/%{name}/tail_csv.so
2452 %if %{with_tcpconns}
2453 %{_libdir}/%{name}/tcpconns.so
2455 %if %{with_teamspeak2}
2456 %{_libdir}/%{name}/teamspeak2.so
2459 %{_libdir}/%{name}/ted.so
2462 %{_libdir}/%{name}/thermal.so
2464 %if %{with_threshold}
2465 %{_libdir}/%{name}/threshold.so
2467 %if %{with_turbostat}
2468 %{_libdir}/%{name}/turbostat.so
2470 %if %{with_unixsock}
2471 %{_libdir}/%{name}/unixsock.so
2474 %{_libdir}/%{name}/uptime.so
2477 %{_libdir}/%{name}/users.so
2480 %{_libdir}/%{name}/uuid.so
2483 %{_libdir}/%{name}/vmem.so
2486 %{_libdir}/%{name}/vserver.so
2488 %if %{with_wireless}
2489 %{_libdir}/%{name}/wireless.so
2491 %if %{with_write_graphite}
2492 %{_libdir}/%{name}/write_graphite.so
2494 %if %{with_write_log}
2495 %{_libdir}/%{name}/write_log.so
2497 %if %{with_write_syslog}
2498 %{_libdir}/%{name}/write_syslog.so
2500 %if %{with_write_sensu}
2501 %{_libdir}/%{name}/write_sensu.so
2503 %if %{with_write_tsdb}
2504 %{_libdir}/%{name}/write_tsdb.so
2507 %{_libdir}/%{name}/zfs_arc.so
2509 %if %{with_zookeeper}
2510 %{_libdir}/%{name}/zookeeper.so
2513 %files -n libcollectdclient-devel
2514 %{_includedir}/collectd/client.h
2515 %{_includedir}/collectd/network.h
2516 %{_includedir}/collectd/network_buffer.h
2517 %{_includedir}/collectd/lcc_features.h
2518 %{_libdir}/pkgconfig/libcollectdclient.pc
2519 %{_includedir}/collectd/network_parse.h
2520 %{_includedir}/collectd/server.h
2521 %{_includedir}/collectd/types.h
2522 %{_libdir}/libcollectdclient.so
2524 %files -n libcollectdclient
2525 %{_libdir}/libcollectdclient.so.*
2527 %files -n collectd-utils
2528 %{_bindir}/collectd-nagios
2529 %{_bindir}/collectd-tg
2530 %{_bindir}/collectdctl
2531 %{_mandir}/man1/collectdctl.1*
2532 %{_mandir}/man1/collectd-nagios.1*
2533 %{_mandir}/man1/collectd-tg.1*
2537 %{_libdir}/%{name}/amqp.so
2542 %{_libdir}/%{name}/amqp1.so
2547 %{_libdir}/%{name}/apache.so
2552 %{_libdir}/%{name}/aquaero.so
2557 %{_libdir}/%{name}/ascent.so
2560 %if %{with_barometer}
2562 %{_libdir}/%{name}/barometer.so
2567 %{_libdir}/%{name}/bind.so
2572 %{_libdir}/%{name}/ceph.so
2577 %{_libdir}/%{name}/chrony.so
2580 %if %{with_connectivity}
2582 %{_libdir}/%{name}/connectivity.so
2587 %{_libdir}/%{name}/curl.so
2590 %if %{with_curl_json}
2592 %{_libdir}/%{name}/curl_json.so
2595 %if %{with_curl_xml}
2597 %{_libdir}/%{name}/curl_xml.so
2602 %{_libdir}/%{name}/disk.so
2607 %{_libdir}/%{name}/dns.so
2612 %{_libdir}/%{name}/dbi.so
2615 %if %{with_dpdkevents}
2617 %{_libdir}/%{name}/dpdkevents.so
2620 %if %{with_dpdkstat}
2622 %{_libdir}/%{name}/dpdkstat.so
2627 %{_libdir}/%{name}/email.so
2632 %{_libdir}/%{name}/gmond.so
2637 %{_libdir}/%{name}/gps.so
2642 %{_libdir}/%{name}/grpc.so
2647 %{_libdir}/%{name}/hddtemp.so
2650 %if %{with_intel_pmu}
2652 %{_libdir}/%{name}/intel_pmu.so
2655 %if %{with_intel_rdt}
2657 %{_libdir}/%{name}/intel_rdt.so
2662 %{_libdir}/%{name}/ipmi.so
2665 %if %{with_iptables}
2667 %{_libdir}/%{name}/iptables.so
2672 %{_datadir}/collectd/java/collectd-api.jar
2673 %{_datadir}/collectd/java/generic-jmx.jar
2674 %{_libdir}/%{name}/java.so
2675 %{_mandir}/man5/collectd-java.5*
2680 %{_libdir}/%{name}/virt.so
2683 %if %{with_log_logstash}
2685 %{_libdir}/%{name}/log_logstash.so
2690 %{_mandir}/man5/collectd-lua*
2691 %{_libdir}/%{name}/lua.so
2696 %{_libdir}/%{name}/lvm.so
2699 %if %{with_memcachec}
2701 %{_libdir}/%{name}/memcachec.so
2706 %{_libdir}/%{name}/mic.so
2711 %{_libdir}/%{name}/modbus.so
2716 %{_libdir}/%{name}/mqtt.so
2721 %{_libdir}/%{name}/mysql.so
2726 %{_libdir}/%{name}/netlink.so
2731 %{_libdir}/%{name}/nginx.so
2734 %if %{with_notify_desktop}
2735 %files notify_desktop
2736 %{_libdir}/%{name}/notify_desktop.so
2739 %if %{with_notify_email}
2741 %{_libdir}/%{name}/notify_email.so
2746 %{_libdir}/%{name}/nut.so
2749 %if %{with_openldap}
2751 %{_libdir}/%{name}/openldap.so
2754 %if %{with_ovs_events}
2756 %{_libdir}/%{name}/ovs_events.so
2759 %if %{with_ovs_stats}
2761 %{_libdir}/%{name}/ovs_stats.so
2766 %{perl_vendorlib}/Collectd.pm
2767 %{perl_vendorlib}/Collectd/
2768 %{_mandir}/man3/Collectd::Unixsock.3pm*
2769 %{_mandir}/man5/collectd-perl.5*
2770 %{_libdir}/%{name}/perl.so
2773 %if %{with_pcie_errors}
2775 %{_libdir}/%{name}/pcie_errors.so
2780 %{_libdir}/%{name}/pinba.so
2785 %{_libdir}/%{name}/ping.so
2788 %if %{with_postgresql}
2790 %{_datadir}/collectd/postgresql_default.conf
2791 %{_libdir}/%{name}/postgresql.so
2796 %{_mandir}/man5/collectd-python*
2797 %{_libdir}/%{name}/python.so
2802 %{_libdir}/%{name}/redis.so
2805 %if %{with_rrdcached}
2807 %{_libdir}/%{name}/rrdcached.so
2812 %{_libdir}/%{name}/rrdtool.so
2817 %{_libdir}/%{name}/sensors.so
2822 %{_libdir}/%{name}/sigrok.so
2827 %{_libdir}/%{name}/smart.so
2832 %{_mandir}/man5/collectd-snmp.5*
2833 %{_libdir}/%{name}/snmp.so
2836 %if %{with_snmp_agent}
2838 %{_libdir}/%{name}/snmp_agent.so
2841 %if %{with_sysevent}
2843 %{_libdir}/%{name}/sysevent.so
2848 %{_libdir}/%{name}/varnish.so
2851 %if %{with_write_http}
2853 %{_libdir}/%{name}/write_http.so
2856 %if %{with_write_kafka}
2858 %{_libdir}/%{name}/write_kafka.so
2861 %if %{with_write_prometheus}
2862 %files write_prometheus
2863 %{_libdir}/%{name}/write_prometheus.so
2866 %if %{with_write_redis}
2868 %{_libdir}/%{name}/write_redis.so
2871 %if %{with_write_riemann}
2872 %files write_riemann
2873 %{_libdir}/%{name}/write_riemann.so
2876 %if %{with_write_stackdriver}
2877 %files write_stackdriver
2878 %{_libdir}/%{name}/write_stackdriver.so
2881 %if %{with_gpu_nvidia}
2882 %files write_gpu_nvidia
2883 %{_libdir}/%{name}/write_gpu_nvidia.so
2888 %{_libdir}/%{name}/xencpu.so
2893 %{_libdir}/%{name}/xmms.so
2897 %{_localstatedir}/www/collection3
2898 %{_sysconfdir}/httpd/conf.d/collection3.conf
2900 %files php-collection
2901 %{_localstatedir}/www/php-collection
2902 %{_sysconfdir}/httpd/conf.d/php-collection.conf
2908 * Fri Jun 14 2019 Fabien Wernli <rpmbuild@faxmodem.org> - 5.9.0-1
2909 - add code for write_stackdriver (disabled for now)
2910 - add code for gpu_nvidia (disabled for now)
2913 * Thu Sep 28 2017 Jakub Jankowski <shasta@toxcorp.com> - 5.7.1-9
2914 - Fix mbmon/mcelog build options
2916 * Thu Sep 28 2017 xakru <calvinxakru@gmail.com> - 5.7.1-8
2917 - Add new libcollectdclient/network_parse
2918 - Add new libcollectdclient/server
2919 - Add new libcollectdclient/types
2920 - Add new synproxy plugin
2922 * Fri Aug 18 2017 Ruben Kerkhof <ruben@rubenkerkhof.com> - 5.7.1-7
2923 - Add new intel_pmu plugin
2925 * Sun Mar 05 2017 Ruben Kerkhof <ruben@rubenkerkhof.com> - 5.7.1-6
2926 - Move recently added plugins to subpackages
2928 * Sun Mar 05 2017 Ruben Kerkhof <ruben@rubenkerkhof.com> - 5.7.1-5
2929 - Add new ovs_stats plugin
2931 * Sun Mar 05 2017 Ruben Kerkhof <ruben@rubenkerkhof.com> - 5.7.1-4
2932 - Don't enable XFS support on RHEL6, it is missing for i386
2934 * Sun Mar 05 2017 Ruben Kerkhof <ruben@rubenkerkhof.com> - 5.7.1-3
2935 - Add dpdkevents plugin, disabled by default
2937 * Wed Feb 22 2017 Ruben Kerkhof <ruben@rubenkerkhof.com> - 5.7.1-2
2938 - Enable XFS support in df plugin
2939 - Fix bogus date in changelog
2941 * Sun Jan 01 2017 Marc Fournier <marc.fournier@camptocamp.com> - 5.7.1-1
2942 - New upstream version
2944 * Sat Dec 31 2016 Ruben Kerkhof <ruben@rubenkerkhof.com> - 5.7.0-4
2945 - Add new ovs_events plugin
2947 * Sat Dec 31 2016 Ruben Kerkhof <ruben@rubenkerkhof.com> - 5.7.0-3
2948 - Add new mcelog plugin
2950 * Tue Nov 29 2016 Ruben Kerkhof <ruben@rubenkerkhof.com> - 5.7.0-2
2951 - Disable redis plugin on RHEL 6, hiredis has been retired from EPEL6
2953 * Mon Oct 10 2016 Marc Fournier <marc.fournier@camptocamp.com> - 5.7.0-1
2954 - New PRE-RELEASE version
2955 - New plugins enabled by default: hugepages, write_prometheus
2956 - New plugins disabled by default: dpdkstat, intel_rdt
2958 * Mon Oct 10 2016 Victor Demonchy <v.demonchy@criteo.com> - 5.6.1-1
2959 - New upstream version
2961 * Sun Aug 14 2016 Ruben Kerkhof <ruben@rubenkerkhof.com> - 5.6.0-1
2962 - New upstream version
2963 - New plugins enabled by default: chrony, cpusleep, gps, lua, mqtt, notify_nagios
2964 - New plugins disabled by default: grpc, xencpu, zone
2966 * Tue Jul 26 2016 Ruben Kerkhof <ruben@rubenkerkhof.com> - 5.5.2-1
2967 - New upstream version
2968 - Contains fix for CVE-2016-6254
2969 - Change collectd.org url to https
2971 * Sat Jun 04 2016 Ruben Kerkhof <ruben@rubenkerkhof.com> 5.5.1-1
2972 - New upstream version
2974 * Wed May 27 2015 Marc Fournier <marc.fournier@camptocamp.com> 5.5.0-1
2975 - New upstream version
2976 - New plugins enabled by default: ceph, drbd, log_logstash, write_tsdb, smart,
2977 openldap, redis, write_redis, zookeeper, write_log, write_sensu, ipc,
2979 - New plugins disabled by default: barometer, write_kafka
2980 - Enable zfs_arc, now supported on Linux
2981 - Install disk plugin in a dedicated package, as it depends on libudev
2982 - use systemd on EL7, sysvinit on EL6 & EL5
2983 - Install collectdctl, collectd-tg and collectd-nagios in collectd-utils.rpm
2984 - Add build-dependency on libcap-devel
2986 * Mon Aug 19 2013 Marc Fournier <marc.fournier@camptocamp.com> 5.4.2-1
2987 - New upstream version
2988 - Build netlink plugin by default
2989 - Enable cgroups, lvm and statsd plugins
2990 - Enable (but don't build by default) mic, aquaero and sigrok plugins
2991 - Enable modbus, memcachec and xmms plugins on RHEL7
2993 * Tue Aug 06 2013 Marc Fournier <marc.fournier@camptocamp.com> 5.3.1-1
2994 - New upstream version
2995 - Added RHEL5 support:
2996 * conditionally disable plugins not building on this platform
2997 * add/specify some build dependencies and options
2998 * replace some RPM macros not available on this platform
2999 - Removed duplicate --enable-aggregation
3000 - Added some comments & usage examples
3001 - Replaced a couple of "Buildrequires" by "BuildRequires"
3002 - Enabled modbus plugin on RHEL6
3003 - Enabled netlink plugin on RHEL6 and RHEL7
3004 - Allow perl plugin to build on RHEL5
3005 - Add support for RHEL7
3006 - Misc perl-related improvements:
3007 * prevent rpmbuild from extracting dependencies from files in /usr/share/doc
3008 * don't package collection3 and php-collection twice
3009 * keep perl scripts from contrib/ in collectd-contrib
3011 * Wed Apr 10 2013 Marc Fournier <marc.fournier@camptocamp.com> 5.3.0-1
3012 - New upstream version
3013 - Enabled write_riemann plugin
3014 - Enabled tail_csv plugin
3015 - Installed collectd-tc manpage
3017 * Fri Jan 11 2013 Marc Fournier <marc.fournier@camptocamp.com> 5.2.0-3
3018 - remove dependency on libstatgrab, which isn't required on linux
3020 * Thu Jan 03 2013 Marc Fournier <marc.fournier@camptocamp.com> 5.2.0-2
3021 - collection3 and php-collection viewers are now in separate packages
3023 * Fri Dec 21 2012 Marc Fournier <marc.fournier@camptocamp.com> 5.2.0-1
3024 - New upstream version
3025 - Enabled aggregation plugin
3026 - Installed collectd-tc
3027 - Added network.h and network_buffer.h to libcollectdclient-devel
3028 - Moved libxml2-devel and libcurl-devel BRs to relevant plugins sections
3029 - Moved libcollectdclient.so from libcollectdclient-devel to libcollectdclient
3030 - Added rrdcached and redis plugin descriptions
3031 - Mentioned new pf plugin in disabled plugins list
3033 * Sun Nov 18 2012 Ruben Kerkhof <ruben@tilaa.nl> 5.1.0-3
3034 - Follow Fedora Packaging Guidelines in java subpackage
3036 * Sat Nov 17 2012 Ruben Kerkhof <ruben@tilaa.nl> 5.1.0-2
3037 - Move perl stuff to perl_vendorlib
3038 - Replace hardcoded paths with macros
3039 - Remove unnecessary Requires
3040 - Removed .a and .la files
3041 - Some other small cleanups
3043 * Fri Nov 16 2012 Marc Fournier <marc.fournier@camptocamp.com> 5.1.0-1
3044 - New upstream version
3045 - Changes to support 5.1.0
3046 - Enabled all buildable plugins based on libraries available on EL6 + EPEL
3047 - All plugins requiring external libraries are now shipped in separate
3049 - No longer treat Java plugin as an exception, correctly set $JAVA_HOME during
3050 the build process + ensure build deps are installed.
3051 - Dropped per-plugin configuration files, as they tend to diverge from upstream
3053 - Moved perl stuff to /usr/share/perl5/
3054 - Don't alter Interval and ReadThreads by default, let the user change this
3056 - Initscript improvements:
3057 * checks configuration before (re)starting, based on debian's initscript
3058 * use /etc/sysconfig instdead of /etc/default
3059 * include optional $ARGS in arguments passed to collectd.
3060 - Drop collection.cgi from main package, as it's been obsoleted by collection3
3061 - Moved contrib/ to its own package, to avoid cluttering the main package with
3062 non-essential stuff.
3063 - Replaced BuildPrereq by BuildRequires
3065 * Mon Jan 03 2011 Monetate <jason.stelzer@monetate.com> 5.0.1
3066 - New upstream version
3067 - Changes to support 5.0.1
3069 * Mon Jan 04 2010 Rackspace <stu.hood@rackspace.com> 4.9.0
3070 - New upstream version
3071 - Changes to support 4.9.0
3072 - Added support for Java/GenericJMX plugin
3074 * Mon Mar 17 2008 RightScale <support@rightscale.com> 4.3.1
3075 - New upstream version
3076 - Changes to support 4.3.1
3077 - Added More Prereqs to support more plugins
3078 - Added support for perl plugin
3080 * Mon Aug 06 2007 Kjell Randa <Kjell.Randa@broadpark.no> 4.0.6
3081 - New upstream version
3083 * Wed Jul 25 2007 Kjell Randa <Kjell.Randa@broadpark.no> 4.0.5
3085 - Changes to support 4.0.5
3087 * Thu Jan 11 2007 Iain Lea <iain@bricbrac.de> 3.11.0-0
3088 - fixed spec file to build correctly on fedora core
3089 - added improved init.d script to work with chkconfig
3090 - added %%post and %%postun to call chkconfig automatically
3092 * Sun Jul 09 2006 Florian octo Forster <octo@verplant.org> 3.10.0-1
3093 - New upstream version
3095 * Sun Jun 25 2006 Florian octo Forster <octo@verplant.org> 3.9.4-1
3096 - New upstream version
3098 * Thu Jun 01 2006 Florian octo Forster <octo@verplant.org> 3.9.3-1
3099 - New upstream version
3101 * Tue May 09 2006 Florian octo Forster <octo@verplant.org> 3.9.2-1
3102 - New upstream version
3104 * Tue May 09 2006 Florian octo Forster <octo@verplant.org> 3.8.5-1
3105 - New upstream version
3107 * Fri Apr 21 2006 Florian octo Forster <octo@verplant.org> 3.9.1-1
3108 - New upstream version
3110 * Fri Apr 14 2006 Florian octo Forster <octo@verplant.org> 3.9.0-1
3111 - New upstream version
3112 - Added the `apache' package.
3114 * Tue Mar 14 2006 Florian octo Forster <octo@verplant.org> 3.8.2-1
3115 - New upstream version
3117 * Mon Mar 13 2006 Florian octo Forster <octo@verplant.org> 3.8.1-1
3118 - New upstream version
3120 * Thu Mar 09 2006 Florian octo Forster <octo@verplant.org> 3.8.0-1
3121 - New upstream version
3123 * Sat Feb 18 2006 Florian octo Forster <octo@verplant.org> 3.7.2-1
3124 - Include `tape.so' so the build doesn't terminate because of missing files..
3125 - New upstream version
3127 * Sat Feb 04 2006 Florian octo Forster <octo@verplant.org> 3.7.1-1
3128 - New upstream version
3130 * Mon Jan 30 2006 Florian octo Forster <octo@verplant.org> 3.7.0-1
3131 - New upstream version
3132 - Removed the extra `hddtemp' package
3134 * Tue Jan 24 2006 Florian octo Forster <octo@verplant.org> 3.6.2-1
3135 - New upstream version
3137 * Fri Jan 20 2006 Florian octo Forster <octo@verplant.org> 3.6.1-1
3138 - New upstream version
3140 * Fri Jan 20 2006 Florian octo Forster <octo@verplant.org> 3.6.0-1
3141 - New upstream version
3142 - Added config file, `collectd.conf(5)', `df.so'
3143 - Added package `collectd-mysql', dependency on `mysqlclient10 | mysql'
3145 * Wed Dec 07 2005 Florian octo Forster <octo@verplant.org> 3.5.0-1
3146 - New upstream version
3148 * Sat Nov 26 2005 Florian octo Forster <octo@verplant.org> 3.4.0-1
3149 - New upstream version
3151 * Sat Nov 05 2005 Florian octo Forster <octo@verplant.org> 3.3.0-1
3152 - New upstream version
3154 * Wed Oct 26 2005 Florian octo Forster <octo@verplant.org> 3.2.0-1
3155 - New upstream version
3156 - Added statement to remove the `*.la' files. This fixes a problem when
3157 `Unpackaged files terminate build' is in effect.
3158 - Added `processes.so*' to the main package
3160 * Fri Oct 14 2005 Florian octo Forster <octo@verplant.org> 3.1.0-1
3161 - New upstream version
3162 - Added package `collectd-hddtemp'
3164 * Fri Sep 30 2005 Florian octo Forster <octo@verplant.org> 3.0.0-1
3165 - New upstream version
3166 - Split the package into `collectd' and `collectd-sensors'
3168 * Fri Sep 16 2005 Florian octo Forster <octo@verplant.org> 2.1.0-1
3169 - New upstream version
3171 * Sat Sep 10 2005 Florian octo Forster <octo@verplant.org> 2.0.0-1
3172 - New upstream version
3174 * Mon Aug 29 2005 Florian octo Forster <octo@verplant.org> 1.8.0-1
3175 - New upstream version
3177 * Thu Aug 25 2005 Florian octo Forster <octo@verplant.org> 1.7.0-1
3178 - New upstream version
3180 * Sun Aug 21 2005 Florian octo Forster <octo@verplant.org> 1.6.0-1
3181 - New upstream version
3183 * Sun Jul 17 2005 Florian octo Forster <octo@verplant.org> 1.5.1-1
3184 - New upstream version
3186 * Sun Jul 17 2005 Florian octo Forster <octo@verplant.org> 1.5-1
3187 - New upstream version
3189 * Mon Jul 11 2005 Florian octo Forster <octo@verplant.org> 1.4.2-1
3190 - New upstream version
3192 * Sat Jul 09 2005 Florian octo Forster <octo@verplant.org> 1.4-1
3193 - Built on RedHat 7.3