%{?python_enable_dependency_generator} %global _hardened_build 1 %global __provides_exclude_from ^%{_libdir}/collectd/.*\\.so$ %undefine _strict_symbol_defs_build %global enable_amqp_09 1 # x86_64 required for building dpdk # dpdkstat feature requires dpdk >= 16.11 %ifarch x86_64 # dpdk-* disabled, it's not recommended to use in combintation with # ovs https://github.com/collectd/collectd/pull/2613 %global enable_dpdkstat 0 %global enable_dpdkevents 0 %else %global enable_dpdkstat 0 %global enable_dpdkevents 0 %endif %global enable_ganglia 0 # pmu requires libjevents to be available %global enable_intel_pmu 0 # lvm uses deprecated interface %global enable_lvm 0 # pinba plugin collects stuff from specific php extension %global enable_pinba 0 %global enable_ovs_events 1 %global enable_ovs_stats 1 %global enable_write_redis 0 %global enable_write_syslog 1 # mic disabled, MicAccessAPI required %global enable_mic 0 %ifarch x86_64 %global enable_intel_rdt 0 %else %global enable_intel_rdt 0 %endif %global enable_libaquaero5 0 %global enable_write_kafka 1 %global enable_prometheus 1 %global enable_riemann 0 %global enable_web 0 # pulls in X as dep %global enable_notify_desktop 0 Summary: Statistics collection daemon for filling RRD files Name: collectd Version: 5.8.1 Release: 8%{?dist} License: MIT and GPLv2 Group: System Environment/Daemons URL: https://collectd.org/ Source0: https://collectd.org/files/%{name}-%{version}.tar.bz2 Source1: collectd-httpd.conf Source2: collectd.service Source11: default-plugins-cpu.conf Source12: default-plugins-interface.conf Source13: default-plugins-load.conf Source14: default-plugins-memory.conf Source15: default-plugins-syslog.conf Source83: mcelog.conf Source84: pmu.conf Source85: write_prometheus.conf Source86: libvirt.conf Source87: hugepages.conf Source88: ovs-events.conf Source89: ovs-stats.conf Source90: rdt.conf Source91: apache.conf Source92: email.conf Source93: mysql.conf Source94: nginx.conf Source95: sensors.conf Source96: snmp.conf Source97: rrdtool.conf Patch0001: 0001-Include-collectd.d-and-disable-default-loading.patch Patch0002: 0002-Merge-pull-request-2618-from-ajssmith-amqp1_dev1_bra.patch Patch0003: 0003-Merge-pull-request-2837-from-abays-fix-collectd-tg-d.patch Patch0004: 0004-2705-Notification-nested-metadata-10.patch Patch0005: 0005-procevent-plugin-initial-commit.patch Patch0006: 0006-check-fscanf-return-value-in-process_check.patch Patch0007: 0007-Merge-pull-request-2-from-atyronesmith-procevent.patch Patch0008: 0008-Procevent-plugin-notifications.patch Patch0009: 0009-Clarify-wanted-netlink-proc-msgs.patch Patch0010: 0010-payload-logic-clean-up-leak-fixes.patch Patch0011: 0011-Use-ignorelist_t-and-fix-leaks.patch Patch0012: 0012-Fix-mutex-lock-in-read_event.patch Patch0013: 0013-Check-ignorelist-during-init.patch Patch0014: 0014-Procevent-RPM-specfile.patch Patch0015: 0015-Drain-netlink-socket-before-sleeping-then-filter-rep.patch Patch0016: 0016-clang-formatting.patch Patch0017: 0017-Use-long-type-for-most-PID-values.patch Patch0018: 0018-Remove-types.db-entry-and-change-RegexProcess-conf-o.patch Patch0019: 0019-Use-a-separate-dequeue-thread-to-dispatch-notificati.patch Patch0020: 0020-Additional-mutex-styling-changes.patch Patch0021: 0021-More-styling-remove-superfluous-dequeue-thread-error.patch Patch0022: 0022-Handled-interrupted-socket-reads.patch Patch0023: 0023-sysevent-plugin-initial-commit.patch Patch0024: 0024-Use-snprintf-instead-of-sprintf.patch Patch0025: 0025-clang-formatting.patch Patch0026: 0026-require-libyajl2-to-build-sysevent-plugin.patch Patch0027: 0027-require-libyajl2-to-build-sysevent-plugin-part-2.patch Patch0028: 0028-VES-enabled-sysvent-plugin.patch Patch0029: 0029-Only-declare-rsyslog-keys-if-yajl2-present.patch Patch0030: 0030-clang-formatting.patch Patch0031: 0031-Remove-bogus-include.patch Patch0032: 0032-Move-misplaced-yajl_gen_map_close.patch Patch0033: 0033-clang-formatting.patch Patch0034: 0034-Sysevent-RPM-specfile.patch Patch0035: 0035-Check-for-malloc-failures.patch Patch0036: 0036-clang-formatting.patch Patch0037: 0037-Add-dequeue-thread-styling-changes.patch Patch0038: 0038-connectivity-plugin-initial-commit.patch Patch0039: 0039-Merge-pull-request-1-from-atyronesmith-connectivity.patch Patch0040: 0040-connectivity-notifications.patch Patch0041: 0041-Clarify-wanted-netlink-interface-msgs.patch Patch0042: 0042-snake-case-for-iface-list-payload-simplification.patch Patch0043: 0043-monitor-all-interfaces-by-default.patch Patch0044: 0044-Use-ignorelist-malloc-fix-conf-clarification.patch Patch0045: 0045-Properly-detect-which-interfaces-to-monitor.patch Patch0046: 0046-Connectivity-RPM-specfile.patch Patch0047: 0047-Spec-file-typo-fixes.patch Patch0048: 0048-Add-libmnl-devel-req-for-connectivity.patch Patch0049: 0049-Use-a-separate-dequeue-thread-to-dispatch-notificati.patch Patch0050: 0050-octo-code-review-changes.patch Patch0051: 0051-More-styling-remove-superfluous-dequeue-thread-error.patch Patch0052: 0052-Handled-interrupted-socket-reads.patch Patch0053: 0053-Cleanup-cherrypick-issues.patch Patch0054: 0054-daemon-common.h-Add-the-STRERROR-and-STRERRNO-macros.patch Patch0055: 0055-Backport-bonded-devices-plus-add-l-stats.patch Patch0056: 0056-Add-the-write_syslog-plugin.patch BuildRequires: perl-devel BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(ExtUtils::Embed) BuildRequires: libgcrypt-devel BuildRequires: git BuildRequires: automake Requires(post): systemd Requires(preun): systemd Requires(postun): systemd %if !0%{?enable_lvm} Obsoletes: %{name}-lvm < %{version}-%{release} %endif %if !0%{?enable_notify_desktop} Obsoletes: %{name}-notify_desktop < %{version}-%{release} %endif %if !0%{?enable_web} Obsoletes: %{name}-web < %{version}-%{release} %endif %if !0%{?enable_pinba} Obsoletes: %{name}-pinba < %{version}-%{release} %endif %if !0%{?enable_riemann} Obsoletes: %{name}-write_riemann < %{version}-%{release} %endif Requires(post): systemd Requires(preun): systemd Requires(postun): systemd %description collectd is a small daemon written in C for performance. It reads various system statistics and updates RRD files, creating them if necessary. Since the daemon doesn't need to startup every time it wants to update the files it's very fast and easy on the system. Also, the statistics are very fine grained since the files are updated every 10 seconds. %if 0%{?enable_amqp_09} %package amqp Summary: AMQP 0.9 plugin for collectd Group: System Environment/Daemons Requires: %{name}%{?_isa} = %{version}-%{release} BuildRequires: librabbitmq-devel %description amqp This plugin can be used to communicate with other instances of collectd or third party applications using an AMQP-0.9 message broker. %endif %package amqp1 Summary: Sends JSON-encoded data to an Advanced Message Queuing Protocol BuildRequires: qpid-proton-c-devel Requires: %{name}%{?_isa} = %{version}-%{release} %description amqp1 Sends JSON-encoded data to an Advanced Message Queuing Protocol (AMQP) 1.0 server, such as Qpid Dispatch Router or Apache Artemis Broker. %package apache Summary: Apache plugin for collectd Group: System Environment/Daemons Requires: %{name}%{?_isa} = %{version}-%{release} %description apache This plugin collects data provided by Apache's 'mod_status'. %package ascent Summary: Ascent plugin for collectd Group: System Environment/Daemons Requires: %{name}%{?_isa} = %{version}-%{release} BuildRequires: curl-devel BuildRequires: libxml2-devel %description ascent This plugin collects data about an Ascent server, a free server for the "World of Warcraft" game. %package bind Summary: Bind plugin for collectd Group: System Environment/Daemons Requires: %{name}%{?_isa} = %{version}-%{release} BuildRequires: curl-devel BuildRequires: libxml2-devel %description bind This plugin retrieves statistics from the BIND dns server. %package ceph Summary: Ceph plugin for collectd Group: System Environment/Daemons Requires: %{name}%{?_isa} = %{version}-%{release} BuildRequires: yajl-devel %description ceph This plugin collects data from Ceph. %package chrony Summary: Chrony plugin for collectd Group: System Environment/Daemons Requires: %{name}%{?_isa} = %{version}-%{release} %description chrony Chrony plugin for collectd %package -n collectd-utils Summary: Collectd utilities Group: System Environment/Daemons Requires: libcollectdclient%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release} %description -n collectd-utils Collectd utilities %package connectivity Summary: Monitors network interface up/down status via netlink library Group: System Environment/Daemons Requires: %{name}%{?_isa} = %{version}-%{release} %description connectivity Plugin that monitors network interface up/down status via netlink library %package curl Summary: Curl plugin for collectd Group: System Environment/Daemons Requires: %{name}%{?_isa} = %{version}-%{release} BuildRequires: curl-devel %description curl This plugin reads webpages with curl %package curl_json Summary: Curl JSON plugin for collectd Group: System Environment/Daemons Requires: %{name}%{?_isa} = %{version}-%{release} BuildRequires: curl-devel BuildRequires: yajl-devel %description curl_json This plugin retrieves JSON data via curl. %package curl_xml Summary: Curl XML plugin for collectd Group: System Environment/Daemons Requires: %{name}%{?_isa} = %{version}-%{release} BuildRequires: curl-devel BuildRequires: libxml2-devel %description curl_xml This plugin retrieves XML data via curl. %package dbi Summary: DBI plugin for collectd Group: System Environment/Daemons Requires: %{name}%{?_isa} = %{version}-%{release} BuildRequires: libdbi-devel %description dbi This plugin uses the dbi library to connect to various databases, execute SQL statements and read back the results. %package disk Summary: Disk plugin for collectd Group: System Environment/Daemons Requires: %{name}%{?_isa} = %{version}-%{release} BuildRequires: systemd-devel %description disk This plugin collects statistics of harddisk and, where supported, partitions. %package dns Summary: DNS traffic analysis plugin for collectd Group: System Environment/Daemons Requires: %{name}%{?_isa} = %{version}-%{release} BuildRequires: libpcap-devel %description dns This plugin collects DNS traffic data. %if 0%{?enable_dpdkstat} == 1 %package dpdkstat Summary: DPDKstat plugin for collectd Requires: %{name}%{?_isa} = %{version}-%{release} BuildRequires: dpdk-devel %description dpdkstat This plugin collects data from dpdkstat %endif %if 0%{?enable_dpdkevents} == 1 %package dpdkevents Summary: DPDKevents plugin for collectd Requires: %{name}%{?_isa} = %{version}-%{release} BuildRequires: dpdk-devel >= 16.07 %description dpdkevents Dpdkevents plugin collects and reports following events from DPDK based applications: - link status of network ports bound with DPDK - keep alive events related to DPDK logical cores %endif %package drbd Summary: DRBD plugin for collectd Group: System Environment/Daemons Requires: %{name}%{?_isa} = %{version}-%{release} %description drbd This plugin collects data from DRBD. %package email Summary: Email plugin for collectd Group: System Environment/Daemons Requires: %{name}%{?_isa} = %{version}-%{release} %description email This plugin collects data provided by spamassassin. %package generic-jmx Summary: Generic JMX plugin for collectd Group: System Environment/Daemons Requires: %{name}%{?_isa} = %{version}-%{release} %description generic-jmx This plugin collects data provided by JMX. %package hugepages Summary: Number of hugepages on Linux Requires: %{name}%{?_isa} = %{version}-%{release} %description hugepages This plugin reports the number of used and free hugepages on Linux. %ifarch x86_64 %if %{?enable_intel_pmu} > 0 %package pmu Summary: Intel PMU plugin for collectd Group: System Environment/Daemons Requires: %{name}%{?_isa} = %{version}-%{release} BuildRequires: jevents-devel %description pmu The intel_pmu plugin collects information about system performance counters using kernel Linux perf interface. %endif %endif %ifarch x86_64 %if %{?enable_intel_rdt} > 0 %package rdt Summary: Intel RDT plugin for collectd Group: System Environment/Daemons Requires: %{name}%{?_isa} = %{version}-%{release} BuildRequires: intel-cmt-cat-devel %description rdt The intel_rdt plugin collects information provided by monitoring features of Intel Resource Director Technology (Intel(R) RDT). %endif %endif %package ipmi Summary: IPMI plugin for collectd Group: System Environment/Daemons Requires: %{name}%{?_isa} = %{version}-%{release} BuildRequires: OpenIPMI-devel %description ipmi This plugin for collectd provides IPMI support. %package iptables Summary: Iptables plugin for collectd Group: System Environment/Daemons Requires: %{name}%{?_isa} = %{version}-%{release} BuildRequires: iptables-devel %description iptables This plugin collects data from iptables counters. %package ipvs Summary: IPVS plugin for collectd Group: System Environment/Daemons Requires: %{name}%{?_isa} = %{version}-%{release} %description ipvs This plugin collects data from IPVS. %package java Summary: Java bindings for collectd Group: System Environment/Daemons Requires: %{name}%{?_isa} = %{version}-%{release} BuildRequires: java-devel BuildRequires: jpackage-utils %description java These are the Java bindings for collectd. %package -n libcollectdclient Summary: Collectd client library Group: System Environment/Daemons %description -n libcollectdclient Collectd client library. %package -n libcollectdclient-devel Summary: Development files for libcollectdclient Group: System Environment/Daemons Requires: libcollectdclient%{?_isa} = %{version}-%{release} %description -n libcollectdclient-devel Development files for libcollectdclient. %package log_logstash Summary: Logstash plugin for collectd Group: System Environment/Daemons Requires: %{name}%{?_isa} = %{version}-%{release} BuildRequires: yajl-devel %description log_logstash This plugin formats messages as JSON events for Logstash %if 0%{?enable_lvm} %package lvm Summary: LVM plugin for collectd Group: System Environment/Daemons Requires: %{name}%{?_isa} = %{version}-%{release} BuildRequires: lvm2-devel %description lvm This plugin collects information from lvm %endif %package mcelog Summary: Machine Check Exceptions notifications Requires: %{name}%{?_isa} = %{version}-%{release} %description mcelog This plugin monitors machine check exceptions reported by mcelog and generates appropriate notifications when machine check exceptions are detected. %package memcachec Summary: Memcachec plugin for collectd Group: System Environment/Daemons Requires: %{name}%{?_isa} = %{version}-%{release} BuildRequires: libmemcached-devel %description memcachec This plugin connects to a memcached server, queries one or more given pages and parses the returned data according to user specification. %if 0%{?enable_mic} > 0 %package mic Summary: mic plugin for collectd Group: System Environment/Daemons Requires: %{name}%{?_isa} = %{version}-%{release} # BuildRequires: MicAccessApi %description mic The mic plugin collects CPU usage, memory usage, temperatures and power consumption from Intel Many Integrated Core (MIC) CPUs. %endif %package mysql Summary: MySQL plugin for collectd Group: System Environment/Daemons Requires: %{name}%{?_isa} = %{version}-%{release} BuildRequires: mariadb-connector-c-devel %description mysql MySQL querying plugin. This plugin provides data of issued commands, called handlers and database traffic. %package netlink Summary: Netlink plugin for collectd Group: System Environment/Daemons Requires: %{name}%{?_isa} = %{version}-%{release} BuildRequires: iproute-static BuildRequires: libmnl-devel %description netlink This plugin uses a netlink socket to query the Linux kernel about statistics of various interface and routing aspects. %package nginx Summary: Nginx plugin for collectd Group: System Environment/Daemons Requires: %{name}%{?_isa} = %{version}-%{release} %description nginx This plugin collects data provided by Nginx. %if 0%{?enable_notify_desktop} > 0 %package notify_desktop Summary: Notify desktop plugin for collectd Group: System Environment/Daemons Requires: %{name}%{?_isa} = %{version}-%{release} BuildRequires: libnotify-devel %description notify_desktop This plugin sends a desktop notification to a notification daemon, as defined in the Desktop Notification Specification. %endif %package notify_email Summary: Notify email plugin for collectd Group: System Environment/Daemons Requires: %{name}%{?_isa} = %{version}-%{release} BuildRequires: libesmtp-devel %description notify_email This plugin uses the ESMTP library to send notifications to a configured email address. %package openldap Summary: OpenLDAP plugin for collectd Group: System Environment/Daemons Requires: %{name}%{?_isa} = %{version}-%{release} BuildRequires: openldap-devel %description openldap This plugin for collectd reads monitoring information from OpenLDAP's cn=Monitor subtree. %if 0%{?enable_ovs_events} > 0 %package ovs-events Summary: Open vSwitch events plugin for collectd Group: System Environment/Daemons Requires: %{name}%{?_isa} = %{version}-%{release} BuildRequires: yajl-devel Provides: %{name}-ovs_events = %{version}-%{release} %description ovs-events This plugin monitors the link status of Open vSwitch (OVS) connected interfaces, dispatches the values to collectd and sends notifications whenever a link state change occurs in the OVS database. %endif %if 0%{?enable_ovs_stats} > 0 %package ovs-stats Summary: Open vSwitch statsevents plugin for collectd Group: System Environment/Daemons Requires: %{name}%{?_isa} = %{version}-%{release} BuildRequires: yajl-devel Provides: %{name}-ovs_stats = %{version}-%{release} %description ovs-stats The plugin collects the statistics of OVS connected bridges and interfaces. %endif %package -n perl-Collectd Summary: Perl bindings for collectd Group: System Environment/Daemons Requires: %{name}%{?_isa} = %{version}-%{release} Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description -n perl-Collectd This package contains the Perl bindings and plugin for collectd. %if 0%{?enable_pinba} > 0 %package pinba Summary: Pinba plugin for collectd Group: System Environment/Daemons Requires: %{name}%{?_isa} = %{version}-%{release} BuildRequires: protobuf-c-devel %description pinba This plugin receives profiling information from Pinba, an extension for the PHP interpreter. %endif %package ping Summary: Ping plugin for collectd Group: System Environment/Daemons Requires: %{name}%{?_isa} = %{version}-%{release} BuildRequires: liboping-devel %description ping This plugin for collectd provides network latency statistics. %package postgresql Summary: PostgreSQL plugin for collectd Group: System Environment/Daemons Requires: %{name}%{?_isa} = %{version}-%{release} BuildRequires: postgresql-devel %description postgresql PostgreSQL querying plugin. This plugins provides data of issued commands, called handlers and database traffic. %package procevent Summary: Plugin that monitors process starts/stops via netlink library Requires: %{name}%{?_isa} = %{version}-%{release} %description procevent Plugin that monitors process starts/stops via netlink library %package python Summary: Python plugin for collectd Group: System Environment/Daemons Requires: %{name}%{?_isa} = %{version}-%{release} BuildRequires: python3-devel %description python The Python plugin embeds a Python interpreter into Collectd and exposes the application programming interface (API) to Python-scripts. %package rrdcached Summary: RRDCacheD plugin for collectd Group: System Environment/Daemons Requires: %{name}%{?_isa} = %{version}-%{release} BuildRequires: rrdtool-devel %description rrdcached This plugin uses the RRDtool accelerator daemon, rrdcached(1), to store values to RRD files in an efficient manner. %package rrdtool Summary: RRDTool plugin for collectd Group: System Environment/Daemons Requires: %{name}%{?_isa} = %{version}-%{release} BuildRequires: rrdtool-devel %description rrdtool This plugin for collectd provides rrdtool support. %ifnarch ppc sparc sparc64 %package sensors Summary: Libsensors module for collectd Group: System Environment/Daemons Requires: %{name}%{?_isa} = %{version}-%{release} BuildRequires: lm_sensors-devel %description sensors This plugin for collectd provides querying of sensors supported by lm_sensors. %endif %package smart Summary: SMART plugin for collectd Group: System Environment/Daemons Requires: %{name}%{?_isa} = %{version}-%{release} BuildRequires: libatasmart-devel %description smart This plugin for collectd collects SMART statistics, notably load cycle count, temperature and bad sectors. %package snmp Summary: SNMP module for collectd Group: System Environment/Daemons Requires: %{name}%{?_isa} = %{version}-%{release} BuildRequires: net-snmp-devel %description snmp This plugin for collectd provides querying of net-snmp. %package snmp-agent Summary: SNMP agent module for collectd Group: System Environment/Daemons Requires: %{name}%{?_isa} = %{version}-%{release} BuildRequires: net-snmp-devel Provides: %{name}-snmp_agent = %{version}-%{release} %description snmp-agent Receives and handles queries from SNMP master agent and returns the data collected by read plugins. Handles requests only for OIDs specified in configuration file. To handle SNMP queries the plugin gets data from collectd and translates requested values from collectd's internal format to SNMP format. %package sysevent Summary: Plugin that monitors rsyslog for system events Requires: %{name}%{?_isa} = %{version}-%{release} %description sysevent Plugin that monitors rsyslog for system events %ifarch %ix86 x86_64 %package turbostat Summary: Turbostat module for collectd Group: System Environment/Daemons Requires: %{name}%{?_isa} = %{version}-%{release} BuildRequires: libcap-devel %description turbostat This plugin for collectd reads CPU frequency and C-state residency on modern Intel turbo-capable processors. %endif %ifnarch ppc sparc sparc64 %package virt Summary: Libvirt plugin for collectd Group: System Environment/Daemons Requires: %{name}%{?_isa} = %{version}-%{release} BuildRequires: libvirt-devel BuildRequires: libxml2-devel %description virt This plugin collects information from virtualized guests. %endif %if 0%{?enable_web} %package web Summary: Contrib web interface to viewing rrd files Group: System Environment/Daemons Requires: %{name}%{?_isa} = %{version}-%{release} Requires: collectd-rrdtool = %{version}-%{release} Requires: perl-HTML-Parser, perl-Regexp-Common, rrdtool-perl, httpd %description web This package will allow for a simple web interface to view rrd files created by collectd. %endif %package write_http Summary: HTTP output plugin for collectd Group: System Environment/Daemons Requires: %{name}%{?_isa} = %{version}-%{release} BuildRequires: curl-devel Provides: %{name}-write-http = %{version}-%{release} %description write_http Write metrics via HTTP POST. %if 0%{?enable_write_kafka} > 0 %package write_kafka Summary: Kafka output plugin for collectd Group: System Environment/Daemons Requires: %{name}%{?_isa} = %{version}-%{release} BuildRequires: librdkafka-devel Provides: %{name}-write-kafka = %{version}-%{release} %description write_kafka This sends values to Kafka, a distributed messaging system. %endif %if 0%{?enable_prometheus} %package write_prometheus Summary: Prometheus output plugin for collectd Group: System Environment/Daemons Requires: %{name}%{?_isa} = %{version}-%{release} BuildRequires: libmicrohttpd-devel BuildRequires: protobuf-c-devel Provides: %{name}-write-prometheus = %{version}-%{release} %description write_prometheus This plugin exposes collected values using an embedded HTTP server, turning the collectd daemon into a Prometheus exporter. %endif %if 0%{?enable_write_redis} %package write_redis Summary: Redis output plugin for collectd Group: System Environment/Daemons Requires: %{name}%{?_isa} = %{version}-%{release} BuildRequires: hiredis-devel %description write_redis This plugin can send data to Redis. %endif %if 0%{?enable_riemann} %package write_riemann Summary: Riemann output plugin for collectd Group: System Environment/Daemons Requires: %{name}%{?_isa} = %{version}-%{release} BuildRequires: protobuf-c-devel BuildRequires: libtool-ltdl-devel BuildRequires: riemann-c-client-devel Provides: %{name}-write-riemann = %{version}-%{release} %description write_riemann This plugin can send data to Riemann. %endif %if 0%{?enable_write_syslog} %package write_syslog Summary: syslog output plugin for collectd Group: System Environment/Daemons Requires: %{name}%{?_isa} = %{version}-%{release} Provides: %{name}-write-syslog = %{version}-%{release} %description write_syslog This plugin can send data to syslog. %endif %package write_sensu Summary: Sensu output plugin for collectd Group: System Environment/Daemons Requires: %{name}%{?_isa} = %{version}-%{release} Provides: %{name}-write-sensu = %{version}-%{release} %description write_sensu This plugin can send data to Sensu. %package write_tsdb Summary: OpenTSDB output plugin for collectd Group: System Environment/Daemons Requires: %{name}%{?_isa} = %{version}-%{release} Provides: %{name}-write-tsdb = %{version}-%{release} %description write_tsdb This plugin can send data to OpenTSDB. %package zookeeper Summary: Zookeeper plugin for collectd Group: System Environment/Daemons Requires: %{name}%{?_isa} = %{version}-%{release} %description zookeeper This is a collectd plugin that reads data from Zookeeper's MNTR command. %if 0%{?enable_web} %package collection3 Summary: Web-based viewer for collectd Group: System Environment/Daemons Requires: %{name}%{?_isa} = %{version}-%{release} Requires: httpd %description collection3 collection3 is a graphing front-end for the RRD files created by and filled with collectd. It is written in Perl and should be run as an CGI-script. Graphs are generated on-the-fly, so no cron job or similar is necessary. %endif %prep %autosetup -v -p1 -S git # recompile generated files touch src/pinba.proto %build export CFLAGS="$RPM_OPT_FLAGS -fPIE -Wno-deprecated-declarations" export CPPFLAGS="$RPM_OPT_FLAGS -fPIE -Wno-deprecated-declarations" export LDFLAGS="-Wl,-z,relro,-z,now -pie" # rebuild configure and friends autoheader aclocal -I m4 libtoolize --copy --force automake --add-missing --copy autoconf %configure \ --disable-dependency-tracking \ --disable-silent-rules \ --disable-barometer \ --without-included-ltdl \ --enable-all-plugins \ --disable-static \ --disable-apple_sensors \ --disable-aquaero \ --disable-synproxy \ %if 0%{?enable_lvm} --enable-lvm \ %else --disable-lvm \ %endif --disable-lpar \ --disable-netapp \ --disable-nut \ --disable-oracle \ --disable-pf \ --disable-routeros \ %ifarch ppc sparc sparc64 --disable-sensors \ %endif --disable-sigrok \ --disable-tape \ --disable-tokyotyrant \ %ifnarch %ix86 x86_64 --disable-turbostat \ %endif %if 0%{?enable_notify_desktop} > 0 --enable-notify_desktop \ %else --disable-notify_desktop \ %endif %if 0%{?enable_write_kafka} > 0 --enable-write_kafka \ %else --disable-write_kafka \ %endif --disable-write_mongodb \ --with-libiptc \ --with-java=%{java_home}/ \ %if 0%{?enable_pinba} > 0 --with-pinba \ %else --disable-pinba \ %endif --enable-python \ --with-perl-bindings=INSTALLDIRS=vendor \ --disable-gmond \ --disable-xmms \ --disable-modbus \ --disable-onewire \ --disable-redis \ %if 0%{?enable_write_redis} > 0 --enable-write_redis \ %else --disable-write_redis \ %endif %if 0%{?enable_write_syslog} > 0 --enable-write_syslog \ %else --disable-write_syslog \ %endif --disable-varnish \ %if 0%{?enable_amqp_09} ==0 --disable-amqp \ %else --enable-amqp \ %endif %if 0%{?enable_dpdkevents}==0 --disable-dpdkevents \ %endif %if 0%{?enable_dpdkstat}==0 --disable-dpdkstat \ %endif %if 0%{?enable_intel_pmu}==0 --disable-intel_pmu \ %else --enable-intel_pmu \ %endif %if 0%{?enable_intel_rdt}==0 --disable-intel_rdt \ %else --enable-intel_rdt \ %endif --disable-xencpu \ %if 0%{?enable_prometheus}==0 --disable-write_prometheus \ %else --enable-write_prometheus \ %endif %if 0%{?enable_ovs_events}==0 --disable-ovs_events \ %else --enable-ovs_events \ %endif %if 0%{?enable_ovs_stats}==0 --disable-ovs_stats \ %else --enable-ovs_stats \ %endif --disable-zone \ %if 0%{?enable_riemann}==0 --disable-write_riemann \ %endif %if 0%{?enable_mic}==0 --disable-mic \ %else --enable-mic \ %endif --disable-mqtt \ --disable-lua \ --disable-gps \ --disable-grpc \ --disable-werror \ AR_FLAGS="-cr" %if 0%{?enable_dpdkstat} > 0 # dpdkstat plugin requires ssse3 instruction set make CFLAGS+='-mssse3' %{?_smp_mflags} %else make %{?_smp_mflags} %endif %install rm -rf contrib/SpamAssassin make install DESTDIR="%{buildroot}" install -Dp -m0644 src/collectd.conf %{buildroot}%{_sysconfdir}/collectd.conf install -Dp -m0644 %{SOURCE2} %{buildroot}%{_unitdir}/collectd.service install -d -m0755 %{buildroot}%{_localstatedir}/lib/collectd/rrd install -d -m0755 %{buildroot}%{_datadir}/collectd/collection3/ install -d -m0755 %{buildroot}%{_sysconfdir}/httpd/conf.d/ find contrib/ -type f -exec chmod a-x {} \; # Remove Perl hidden .packlist files. find %{buildroot} -name .packlist -delete # Remove Perl temporary file perllocal.pod find %{buildroot} -name perllocal.pod -delete %if 0%{?enable_web} # copy web interface cp -ad contrib/collection3/* %{buildroot}%{_datadir}/collectd/collection3/ cp -pv %{buildroot}%{_datadir}/collectd/collection3/etc/collection.conf %{buildroot}%{_sysconfdir}/collection.conf ln -rsf %{_sysconfdir}/collection.conf %{buildroot}%{_datadir}/collectd/collection3/etc/collection.conf cp -pv %{SOURCE1} %{buildroot}%{_sysconfdir}/httpd/conf.d/collectd.conf chmod +x %{buildroot}%{_datadir}/collectd/collection3/bin/*.cgi %endif # Move the Perl examples to a separate directory. mkdir perl-examples find contrib -name '*.p[lm]' -exec mv {} perl-examples/ \; # Move config contribs mkdir -p %{buildroot}%{_sysconfdir}/collectd.d/ cp %{SOURCE11} %{buildroot}%{_sysconfdir}/collectd.d/90-default-plugins-cpu.conf cp %{SOURCE12} %{buildroot}%{_sysconfdir}/collectd.d/90-default-plugins-interface.conf cp %{SOURCE13} %{buildroot}%{_sysconfdir}/collectd.d/90-default-plugins-load.conf cp %{SOURCE14} %{buildroot}%{_sysconfdir}/collectd.d/90-default-plugins-memory.conf cp %{SOURCE15} %{buildroot}%{_sysconfdir}/collectd.d/90-default-plugins-syslog.conf cp %{SOURCE83} %{buildroot}%{_sysconfdir}/collectd.d/mcelog.conf cp %{SOURCE84} %{buildroot}%{_sysconfdir}/collectd.d/pmu.conf cp %{SOURCE85} %{buildroot}%{_sysconfdir}/collectd.d/write_prometheus.conf cp %{SOURCE86} %{buildroot}%{_sysconfdir}/collectd.d/libvirt.conf cp %{SOURCE87} %{buildroot}%{_sysconfdir}/collectd.d/hugepages.conf cp %{SOURCE88} %{buildroot}%{_sysconfdir}/collectd.d/ovs-events.conf cp %{SOURCE89} %{buildroot}%{_sysconfdir}/collectd.d/ovs-stats.conf cp %{SOURCE90} %{buildroot}%{_sysconfdir}/collectd.d/rdt.conf cp %{SOURCE91} %{buildroot}%{_sysconfdir}/collectd.d/apache.conf cp %{SOURCE92} %{buildroot}%{_sysconfdir}/collectd.d/email.conf cp %{SOURCE93} %{buildroot}%{_sysconfdir}/collectd.d/mysql.conf cp %{SOURCE94} %{buildroot}%{_sysconfdir}/collectd.d/nginx.conf cp %{SOURCE95} %{buildroot}%{_sysconfdir}/collectd.d/sensors.conf cp %{SOURCE96} %{buildroot}%{_sysconfdir}/collectd.d/snmp.conf cp %{SOURCE97} %{buildroot}%{_sysconfdir}/collectd.d/rrdtool.conf # configs for subpackaged plugins %ifnarch s390 s390x for p in dns ipmi perl ping postgresql %else for p in dns ipmi libvirt perl ping postgresql %endif do cat > %{buildroot}%{_sysconfdir}/collectd.d/$p.conf < 0 %files dpdkevents %{_libdir}/collectd/dpdkevents.so %endif %if 0%{?enable_dpdkstat} > 0 %files dpdkstat %{_libdir}/collectd/dpdkstat.so %endif %files drbd %{_libdir}/collectd/drbd.so %files email %{_libdir}/collectd/email.so %config(noreplace) %{_sysconfdir}/collectd.d/email.conf %doc %{_mandir}/man5/collectd-email.5* %files generic-jmx %{_datadir}/collectd/java/generic-jmx.jar %files hugepages %{_libdir}/collectd/hugepages.so %config(noreplace) %{_sysconfdir}/collectd.d/hugepages.conf %files ipmi %{_libdir}/collectd/ipmi.so %config(noreplace) %{_sysconfdir}/collectd.d/ipmi.conf %files iptables %{_libdir}/collectd/iptables.so %files ipvs %{_libdir}/collectd/ipvs.so %files java %{_libdir}/collectd/java.so %dir %{_datadir}/collectd/java/ %{_datadir}/collectd/java/collectd-api.jar %doc %{_mandir}/man5/collectd-java.5* %files log_logstash %{_libdir}/collectd/log_logstash.so %if 0%{?enable_lvm} %files lvm %{_libdir}/collectd/lvm.so %endif %files mcelog %{_libdir}/collectd/mcelog.so %config(noreplace) %{_sysconfdir}/collectd.d/mcelog.conf %files memcachec %{_libdir}/collectd/memcachec.so %files mysql %{_libdir}/collectd/mysql.so %config(noreplace) %{_sysconfdir}/collectd.d/mysql.conf %files netlink %{_libdir}/collectd/netlink.so %files nginx %{_libdir}/collectd/nginx.so %config(noreplace) %{_sysconfdir}/collectd.d/nginx.conf %if 0%{?enable_notify_desktop} > 0 %files notify_desktop %{_libdir}/collectd/notify_desktop.so %endif %files notify_email %{_libdir}/collectd/notify_email.so %files openldap %{_libdir}/collectd/openldap.so %if 0%{?enable_ovs_events} > 0 %files ovs-events %{_libdir}/%{name}/ovs_events.so %config(noreplace) %{_sysconfdir}/collectd.d/ovs-events.conf %endif %if 0%{?enable_ovs_stats} > 0 %files ovs-stats %{_libdir}/%{name}/ovs_stats.so %config(noreplace) %{_sysconfdir}/collectd.d/ovs-stats.conf %endif %files -n perl-Collectd %doc perl-examples/* %{_libdir}/collectd/perl.so %{perl_vendorlib}/Collectd.pm %{perl_vendorlib}/Collectd/ %config(noreplace) %{_sysconfdir}/collectd.d/perl.conf %doc %{_mandir}/man5/collectd-perl.5* %doc %{_mandir}/man3/Collectd::Unixsock.3pm* %if 0%{?enable_pinba} > 0 %files pinba %{_libdir}/collectd/pinba.so %endif %files ping %{_libdir}/collectd/ping.so %config(noreplace) %{_sysconfdir}/collectd.d/ping.conf %files postgresql %{_libdir}/collectd/postgresql.so %config(noreplace) %{_sysconfdir}/collectd.d/postgresql.conf %{_datadir}/collectd/postgresql_default.conf %files procevent %{_libdir}/collectd/procevent.so %files python %{_libdir}/collectd/python.so %doc %{_mandir}/man5/collectd-python.5* %if 0%{?enable_intel_pmu} > 0 %files pmu %{_libdir}/collectd/intel_pmu.so %config(noreplace) %{_sysconfdir}/collectd.d/pmu.conf %endif %if 0%{?enable_intel_rdt} > 0 %files rdt %{_libdir}/collectd/intel_rdt.so %config(noreplace) %{_sysconfdir}/collectd.d/rdt.conf %endif %files rrdcached %{_libdir}/collectd/rrdcached.so %files rrdtool %{_libdir}/collectd/rrdtool.so %config(noreplace) %{_sysconfdir}/collectd.d/rrdtool.conf %ifnarch ppc sparc sparc64 %files sensors %{_libdir}/collectd/sensors.so %config(noreplace) %{_sysconfdir}/collectd.d/sensors.conf %endif %files smart %{_libdir}/collectd/smart.so %files snmp %{_libdir}/collectd/snmp.so %config(noreplace) %{_sysconfdir}/collectd.d/snmp.conf %doc %{_mandir}/man5/collectd-snmp.5* %files snmp-agent %{_libdir}/collectd/snmp_agent.so %files sysevent %{_libdir}/collectd/sysevent.so %ifarch %ix86 x86_64 %files turbostat %{_libdir}/collectd/turbostat.so %endif %ifnarch ppc sparc sparc64 %files virt %{_libdir}/collectd/virt.so %config(noreplace) %{_sysconfdir}/collectd.d/libvirt.conf %endif %if 0%{?enable_web} %files web %{_datadir}/collectd/collection3/ %config(noreplace) %{_sysconfdir}/httpd/conf.d/collectd.conf %config(noreplace) %{_sysconfdir}/collection.conf %endif %files write_http %{_libdir}/collectd/write_http.so %if 0%{?enable_write_kafka} > 0 %files write_kafka %{_libdir}/%{name}/write_kafka.so %endif %if 0%{?enable_prometheus} %files write_prometheus %{_libdir}/collectd/write_prometheus.so %config(noreplace) %{_sysconfdir}/collectd.d/write_prometheus.conf %endif %if 0%{?enable_write_redis} %files write_redis %{_libdir}/collectd/write_redis.so %endif %if 0%{?enable_riemann} %files write_riemann %{_libdir}/collectd/write_riemann.so %endif %if 0%{?enable_write_syslog} %files write_syslog %{_libdir}/collectd/write_syslog.so %endif %files write_sensu %{_libdir}/collectd/write_sensu.so %files write_tsdb %{_libdir}/collectd/write_tsdb.so %files zookeeper %{_libdir}/collectd/zookeeper.so %changelog * Thu Mar 14 2019 Jon Schlueter 5.8.1-8 - add Provides collect-snmp_agent for compatiblity * Wed Mar 13 2019 Shreshtha Joshi - 5.8.1-7 - enable mysql plugin * Thu Mar 07 2019 Yaakov Selkowitz - 5.8.1-6 - Enable iptables plugin on aarch64 for RHEL 8 * Wed Mar 06 2019 Lon Hohberger - 5.8.1-5 - Rebuild for new architectures * Tue Mar 05 2019 Shreshtha Joshi - 5.8.1-4 - RHEL8-isms - disable mysql plugin * Mon Feb 04 2019 Matthias Runge - 5.8.1-3 - add write_syslog plugin. (rhbz#1658203) * Thu Dec 13 2018 Matthias Runge - 5.8.1-2 - add addditional stats to ovs_stats (rhbz#1544767) * Mon Dec 03 2018 Matthias Runge - 5.8.1-1 - rebase to 5.8.1 (rhbz#1644274) * Tue Nov 27 2018 Matthias Runge - 5.8.0-13 - enable amqp 0.9 plugin (rhbz#1584080) - don't load mcelog by default, when the plugin is installed (rhbz#1640807) * Thu Jul 12 2018 Matthias Runge - 5.8.0-12 - enable write-kafka plugin (rhbz#1593858) - fix timestamps in collectd-tg - fix warning in write_prometheus * Fri Jun 22 2018 Matthias Runge - 5.8.0-11 - enable service assurance patches - merge spec changes from centos-opstools * Wed May 16 2018 Jason Joyce - 5.8.0-10 - Adding obsolete write_riemann * Tue May 15 2018 Jason Joyce - 5.8.0-9 - Adding obsoletes for lvm, notify_desktop, web * Fri Apr 20 2018 Matthias Runge - 5.8.0-8 - make sure, RELRO and PIE are enabled * Mon Apr 09 2018 Matthias Runge - 5.8.0-6 - add default config for libvirt plugin (rhbz#1562591) * Thu Feb 22 2018 Matthias Runge - 5.8.0-5 - exclude configs from main package * Tue Feb 20 2018 Matthias Runge - 5.8.0-4 - provide configs for rdt, hugepages, ovs-stats, and ovs-events * Thu Jan 25 2018 Matthias Runge - 5.8.0-3.1 - add config for rdt plugin * Thu Dec 21 2017 Matthias Runge - 5.8.0-3 - disable dpdk- plugins (rhbz#1528273) * Wed Dec 06 2017 Matthias Runge - 5.8.0-2 - fix ovs_stats and ovs_events crash - fix crash with ceph (rhbz#1516285) * Mon Nov 20 2017 Matthias Runge - 5.8.0-1 - enable ovs_stats, ovs_events - disable lvm - enable dpdkstats and dpdkevents * Mon Oct 30 2017 - Yedidyah Bar David - 5.7.2-3 - build 5.7.2-3 * Sun Oct 01 2017 - Yedidyah Bar David - 5.7.2-2 - Move LoadPlugin of default plugins to .d * Mon Jul 17 2017 Matthias Runge - 5.7.2-2 - enable RDT monitoring * Wed Jun 07 2017 Matthias Runge - 5.7.2-1 - rebase to 5.7.2 * Thu May 04 2017 Matthias Runge - 5.7.1-5 - disable desktop notifications * Tue May 02 2017 Matthias Runge - 5.7.1-4 - harden build * Tue Apr 18 2017 Matthias Runge - 5.7.1-3 - Fix endless loop DOS in parse_packet() (CVE-2017-7401) * Tue Apr 11 2017 Sandro Bonazzola - 5.7.1-2 - Disabled iptables plugin on aarch64 for now. Kernel headers issue. * Thu Feb 09 2017 Matthias Runge - 5.7.1-1 - rebase to 5.7.1 - enable dpdkstats * Fri Jan 13 2017 Matthias Runge - 5.7.0-2 - enable write_riemann * Fri Dec 09 2016 Matthias Runge - 5.6.2-1 - rebase to 5.6.2 * Mon Nov 07 2016 Matthias Runge - 5.6.1-1 - rebase to 5.6.1 * Wed Jun 15 2016 Matthias Runge - 5.5.1-12 - Suppress spammy debug messages of exec plugin Upstream commit 53de2cf4 * Tue May 17 2016 Matthias Runge - 5.5.1-11 - disable librabbit support * Fri May 13 2016 Matthias Runge - 5.5.1-10 - remove onewire.conf to avoid false error on start * Wed May 11 2016 Matthias Runge - 5.5.1-9 - disable ganglia, modbus, xmms, nut, onewire, redis, varnish plugins * Sat Apr 30 2016 Kevin Fenzi - 5.5.1-8 - Rebuild for librrd * Fri Apr 15 2016 Ruben Kerkhof - 5.5.1-7 - Rebase modbus patch * Fri Apr 15 2016 Ruben Kerkhof - 5.5.1-6 - Use Type=notify in systemd unit now that collectd support it. - Uncomment accidentally commented Requires for collectd-utils * Sat Feb 27 2016 Ruben Kerkhof - 5.5.1-5 - Enable zfs_arc plugin now that it supports ZoL. - Move disk plugin to subpackage. - Move log_logstash plugin to subpackage. - Move write_http plugin to subpackage. - Move utils to subpackage. - Finally create subpackage for libcollectdclient. - Modbus: avoid enabling libmodbus's debug flag by default * Sat Feb 27 2016 Ruben Kerkhof - 5.5.1-4 - Disable deprecation warnings in vserver plugin for now. The upcoming glibc 2.24 deprecates readdir_r. Reported upstream in #1566 * Fri Feb 26 2016 Ruben Kerkhof - 5.5.1-3 - Disable -Werror Fixes build failures due to deprecation warnings turned into errors. * Wed Feb 03 2016 Fedora Release Engineering - 5.5.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Sat Jan 30 2016 Ruben Kerkhof 5.5.1-1 - Rediff patch - Use fully versioned dependencies on main package * Sat Jan 30 2016 Ruben Kerkhof 5.5.1-0 - Upstream released new version * Sun Dec 06 2015 Ruben Kerkhof 5.5.0-11 - Fix regression in swap plugin (#1261237) - Replace my patch for Varnish 4.1 with upstream patches * Sat Oct 31 2015 Ruben Kerkhof 5.5.0-10 - Fix build against Varnish 4.1 (#1275413) * Sun Oct 25 2015 Peter Robinson 5.5.0-9 - Use %%license - Fix build on PPC64 and PPC64LE - Minor spec cleanups * Tue Sep 08 2015 Ruben Kerkhof 5.5.0-8 - Rebuild for hiredis soname bump - Drop hardened_build macro, it's the default now * Sat Jul 25 2015 Ruben Kerkhof 5.5.0-7 - Silence build noise by setting AR_FLAGS: ar: `u' modifier ignored since `D' is the default (see `U') * Sun Jul 05 2015 Ruben Kerkhof 5.5.0-6 - Disable iptables plugin, libiptc is broken (#1239213) * Sun Jul 05 2015 Ruben Kerkhof 5.5.0-5 - Turbostat plugin doesn't need net-snmp * Mon Jun 22 2015 Ruben Kerkhof 5.5.0-4 - Enable Redis plugin - Reduce diff with EPEL spec - Remove unused collection.conf * Wed Jun 17 2015 Fedora Release Engineering - 5.5.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Mon Jun 15 2015 Ruben Kerkhof 5.5.0-2 - Rebuild for new OneWire version * Fri Jun 05 2015 Ruben Kerkhof 5.5.0-1 - Upstream released new version - New plugins for Ceph, DRBD, SMART, turbostat, Redis and more * Fri Jun 05 2015 Jitka Plesnikova - 5.4.2-5 - Perl 5.22 rebuild * Tue Apr 21 2015 Remi Collet 5.4.2-4 - rebuild for new librabbitmq * Sun Apr 12 2015 Ruben Kerkhof 5.4.2-3 - Rebuilt for new Ganglia version * Sun Mar 01 2015 Ruben Kerkhof 5.4.2-2 - Remove workaround for perl / python module loading This was fixed by upstream commit f131f0347f58 in 2009 * Fri Feb 27 2015 Ruben Kerkhof 5.4.2-1 - Upstream released new version - Drop BuildRequires on owfs-capi, fixed in owfs - Drop collectd-fix-colors-in-collection.conf.patch, fixed upstream - Drop collectd-lvm-do-not-segfault-when-there-are-no-vgs.patch, fixed upstream * Tue Feb 10 2015 Ruben Kerkhof 5.4.1-15 - OneWire libraries are in owfs-capi package * Tue Feb 10 2015 Ruben Kerkhof 5.4.1-14 - Rebuilt for new OneWire version * Wed Feb 04 2015 Ruben Kerkhof 5.4.1-13 - Exclude onewire.conf from main collectd package * Tue Dec 09 2014 Ruben Kerkhof 5.4.1-12 - Improve the systemd unit a bit * Thu Nov 06 2014 Ruben Kerkhof 5.4.1-11 - Fix building with varnish 4 * Thu Oct 16 2014 Ruben Kerkhof 5.4.1-10 - Rebuilt for new OneWire version * Thu Aug 28 2014 Jitka Plesnikova - 5.4.1-9 - Perl 5.20 rebuild * Sat Aug 16 2014 Fedora Release Engineering - 5.4.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Fri Aug 08 2014 Ruben Kerkhof 5.4.1-7 - Rebuild for new protobuf-c again * Wed Jul 23 2014 Ruben Kerkhof - 5.4.1-6 - Enable onewire plugin (patch from Tomasz Torcz) - Rebuild for new protobuf-c (#1126752) * Sat Jun 07 2014 Ruben Kerkhof - 5.4.1-5 - Fix 404 while loading stylesheet in collection3 - Restore symlink to /etc/collection.conf * Sat Jun 07 2014 Fedora Release Engineering - 5.4.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Wed Jun 04 2014 Ruben Kerkhof 5.4.1-3 - Enable nut plugin again - Disable varnish plugin (#1099363) - Don't build libcollectd client with -Werror for now (https://github.com/collectd/collectd/issues/632) - LVM plugin: don't segfault when there are no vgs * Mon Mar 03 2014 Ruben Kerkhof 5.4.1-2 - Disable nut plugin (#1071919) * Tue Jan 28 2014 Ruben Kerkhof 5.4.1-1 - Upstream released new version: http://collectd.org/news.shtml#news95 * Thu Jan 23 2014 Kevin Fenzi 5.4.0-3 - Rebuild for new libdbi * Sat Dec 14 2013 Ruben Kerkhof 5.4.0-2 - Enable memcached plugin (#1036422) - Stop running autoreconf * Sun Sep 15 2013 Ruben Kerkhof 5.4.0-1 - Update to 5.4.0 http://mailman.verplant.org/pipermail/collectd/2013-August/005906.html - Enable new cgroups, statsd and lvm plugins * Sat Aug 03 2013 Fedora Release Engineering - 5.3.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Jul 17 2013 Petr Pisar - 5.3.0-4 - Perl 5.18 rebuild * Mon Jun 03 2013 Kevin Fenzi 5.3.0-3 - Rebuild for new ganglia * Mon May 27 2013 Ruben Kerkhof 5.3.0-2 - BuildRequire static version of iproute (#967214) * Sat Apr 27 2013 Ruben Kerkhof 5.3.0-1 - update to 5.3.0 http://mailman.verplant.org/pipermail/collectd/2013-April/005749.html - enable all plugins we can enable - filter plugins from Provides - use new systemd macros (#850062) - modernize specfile * Mon Apr 22 2013 Alan Pevec 5.2.2-1 - update to 5.2.2 http://mailman.verplant.org/pipermail/collectd/2013-April/005749.html - build with PIE flags rhbz#954322 * Mon Feb 04 2013 Alan Pevec 5.2.1-1 - update to 5.2.1 http://mailman.verplant.org/pipermail/collectd/2013-January/005577.html * Mon Nov 26 2012 Alan Pevec 5.2.0-1 - update to 5.2.0 from Steve Traylen rhbz#877721 * Wed Nov 21 2012 Alan Pevec 5.1.1-1 - update to 5.1.1 - spec cleanups from Ruben Kerkhof - fix postgresql_default.conf location rhbz#681615 - fix broken configuration for httpd 2.4 rhbz#871385 * Mon Nov 19 2012 Alan Pevec 5.0.5-1 - new upstream version 5.0.5 http://mailman.verplant.org/pipermail/collectd/2012-November/005465.html * Mon Sep 17 2012 Alan Pevec 5.0.4-1 - New upstream release, version bump to 5 (#743894) from Andrew Elwell * Wed Jul 18 2012 Fedora Release Engineering - 4.10.7-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Mon Jun 11 2012 Petr Pisar - 4.10.7-2 - Perl 5.16 rebuild * Tue Apr 03 2012 Alan Pevec 4.10.7-1 - new upstream release 4.10.7 http://mailman.verplant.org/pipermail/collectd/2012-April/005045.html * Wed Feb 29 2012 Alan Pevec 4.10.6-1 - new upstream release 4.10.6 http://mailman.verplant.org/pipermail/collectd/2012-February/004932.html * Thu Jan 12 2012 Fedora Release Engineering - 4.10.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Mon Nov 28 2011 Alan Pevec 4.10.4-1 - new upstream version 4.10.4 http://mailman.verplant.org/pipermail/collectd/2011-October/004777.html - collectd-web config file DataDir value wrong rhbz#719809 - Python plugin doesn't work rhbz#739593 - Add systemd service file. (thanks Paul P. Komkoff Jr) rhbz#754460 * Fri Jul 29 2011 Kevin Fenzi - 4.10.3-8 - Rebuild for new snmp again. * Thu Jul 21 2011 Petr Sabata - 4.10.3-7 - Perl mass rebuild * Wed Jul 20 2011 Petr Sabata - 4.10.3-6 - Perl mass rebuild * Fri Jul 08 2011 Kevin Fenzi - 4.10.3-5 - Rebuild for new snmp * Thu Jun 16 2011 Marcela Mašláňová - 4.10.3-4 - Perl mass rebuild * Tue May 03 2011 Dan Horák - 4.10.3-3 - fix build on s390(x) * Tue Apr 19 2011 Alan Pevec 4.10.3-2 - re-enable nut plugin rhbz#465729 rhbz#691380 * Tue Mar 29 2011 Alan Pevec 4.10.3-1 - new upstream version 4.10.3 http://collectd.org/news.shtml#news87 - disable nut 2.6 which fails collectd check: libupsclient . . . . no (symbol upscli_connect not found) * Wed Mar 23 2011 Dan Horák - 4.10.2-4 - rebuilt for mysql 5.5.10 (soname bump in libmysqlclient) * Tue Feb 08 2011 Fedora Release Engineering - 4.10.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Fri Jan 07 2011 Dan Horák 4.10.2-2 - no nut on s390(x) * Thu Dec 16 2010 Alan Pevec 4.10.2-1 - New upstream version 4.10.2 - http://collectd.org/news.shtml#news86 - explicitly disable/enable all plugins, fixes FTBFS bz#660936 * Thu Nov 04 2010 Alan Pevec 4.10.1-1 - New upstream version 4.10.1 http://collectd.org/news.shtml#news85 * Sat Oct 30 2010 Richard W.M. Jones 4.10.0-3 - Bump and rebuild for updated libnetsnmp.so. * Wed Sep 29 2010 jkeating - 4.10.0-2 - Rebuilt for gcc bug 634757 * Sun Sep 19 2010 Robert Scheck 4.10.0-1 - New upstream version 4.10.0 (thanks to Mike McGrath) * Tue Jun 08 2010 Alan Pevec 4.9.2-1 - New upstream version 4.9.2 http://collectd.org/news.shtml#news83 * Thu Apr 29 2010 Marcela Maslanova - 4.9.1-3 - Mass rebuild with perl-5.12.0 * Fri Mar 26 2010 Alan Pevec 4.9.1-2 - enable ping plugin bz#541744 * Mon Mar 08 2010 Lubomir Rintel 4.9.1-1 - New upstream version 4.9.1 http://collectd.org/news.shtml#news81 * Tue Feb 16 2010 Alan Pevec 4.8.3-1 - New upstream version 4.8.3 http://collectd.org/news.shtml#news81 - FTBFS bz#564943 - system libiptc is not usable and owniptc fails to compile: add a patch from upstream iptables.git to fix owniptc compilation * Fri Dec 4 2009 Stepan Kasal - 4.8.1-3 - rebuild against perl 5.10.1 * Fri Nov 27 2009 Alan Pevec 4.8.1-2 - use Fedora libiptc, owniptc in collectd sources fails to compile * Wed Nov 25 2009 Alan Pevec 4.8.1-1 - update to 4.8.1 (Florian La Roche) bz# 516276 - disable ping plugin until liboping is packaged bz# 541744 * Fri Sep 11 2009 Tom "spot" Callaway 4.6.5-1 - update to 4.6.5 - disable ppc/ppc64 due to compile error * Wed Sep 02 2009 Alan Pevec 4.6.4-1 - fix condrestart: on upgrade collectd is not restarted, bz# 516273 - collectd does not re-connect to libvirtd, bz# 480997 - fix unpackaged files https://bugzilla.redhat.com/show_bug.cgi?id=516276#c4 - New upstream version 4.6.4 http://collectd.org/news.shtml#news69 * Fri Aug 21 2009 Tomas Mraz - 4.6.2-5 - rebuilt with new openssl * Thu Aug 6 2009 Richard W.M. Jones - 4.6.2-4 - Force rebuild to test FTBFS issue. - lib/collectd/types.db seems to have moved to share/collectd/types.db * Fri Jul 24 2009 Fedora Release Engineering - 4.6.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Wed May 20 2009 Alan Pevec 4.6.2-1 - New upstream version 4.6.2 http://collectd.org/news.shtml#news64 * Tue Mar 03 2009 Alan Pevec 4.5.3-2 - patch for strict-aliasing issue in liboping.c * Mon Mar 02 2009 Alan Pevec 4.5.3-1 - New upstream version 4.5.3 - fixes collectd is built without iptables plugin, bz# 479208 - list all expected plugins explicitly to avoid such bugs * Tue Feb 24 2009 Fedora Release Engineering - 4.5.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Fri Jan 23 2009 Richard W.M. Jones - 4.5.1-3 - Rebuild against new mysql client. * Sun Dec 07 2008 Alan Pevec 4.5.1-2.1 - fix subpackages, bz# 475093 * Sun Nov 30 2008 Alan Pevec 4.5.1-2 - workaround for https://bugzilla.redhat.com/show_bug.cgi?id=468067 * Wed Oct 22 2008 Alan Pevec 4.5.1-1 - New upstream version 4.5.1, bz# 470943 http://collectd.org/news.shtml#news59 - enable Network UPS Tools (nut) plugin, bz# 465729 - enable postgresql plugin - spec cleanup, bz# 473641 * Fri Aug 01 2008 Alan Pevec 4.4.2-1 - New upstream version 4.4.2. * Thu Jul 03 2008 Lubomir Rintel 4.4.1-4 - Fix a typo introduced by previous change that prevented building in el5 * Thu Jul 03 2008 Lubomir Rintel 4.4.1-3 - Make this compile with older perl package - Turn dependencies on packages to dependencies on Perl modules - Add default attributes for files * Thu Jun 12 2008 Alan Pevec 4.4.1-2 - Split rrdtool into a subpackage (Chris Lalancette) - cleanup subpackages, split dns plugin, enable ipmi - include /etc/collectd.d (bz#443942) * Mon Jun 09 2008 Alan Pevec 4.4.1-1 - New upstream version 4.4.1. - plugin changes: reenable iptables, disable ascent * Tue May 27 2008 Alan Pevec 4.4.0-2 - disable iptables/libiptc * Mon May 26 2008 Alan Pevec 4.4.0-1 - New upstream version 4.4.0. * Wed Apr 23 2008 Richard W.M. Jones - 4.3.2-9 - Added {?dist} to release number (thanks Alan Pevec). * Wed Apr 23 2008 Richard W.M. Jones - 4.3.2-8 - Bump release number so we can tag this in Rawhide. * Thu Apr 17 2008 Richard W.M. Jones - 4.3.2-6 - Exclude perl.so from the main package. * Thu Apr 17 2008 Richard W.M. Jones - 4.3.2-5 - Put the perl bindings and plugin into a separate perl-Collectd package. Note AFAICT from the manpage, the plugin and Collectd::* perl modules must all be packaged together. * Wed Apr 16 2008 Richard W.M. Jones - 4.3.2-4 - Remove -devel subpackage. - Add subpackages for apache, email, mysql, nginx, sensors, snmp (thanks Richard Shade). - Add subpackages for perl, libvirt. * Tue Apr 15 2008 Richard W.M. Jones - 4.3.2-2 - Install Perl bindings in vendor dir not site dir. * Tue Apr 15 2008 Richard W.M. Jones - 4.3.2-1 - New upstream version 4.3.2. - Create a -devel subpackage for development stuff, examples, etc. - Use .bz2 package instead of .gz. - Remove fix-hostname patch, now upstream. - Don't mark collectd init script as config. - Enable MySQL, sensors, email, apache, Perl, unixsock support. - Don't remove example Perl scripts. - Package types.db(5) manpage. - Fix defattr. - Build in koji to find the full build-requires list. * Mon Apr 14 2008 Richard W.M. Jones - 4.2.3.100.g79b0797-2 - Prepare for Fedora package review: - Clarify license is GPLv2 (only). - Setup should be quiet. - Spelling mistake in original description fixed. - Don't include NEWS in doc - it's an empty file. - Convert some other doc files to UTF-8. - config(noreplace) on init file. * Thu Jan 10 2008 Chris Lalancette - 4.2.3.100.g79b0797.1.ovirt - Update to git version 79b0797 - Remove *.pm files so we don't get a bogus dependency - Re-enable rrdtool; we will need it on the WUI side anyway * Mon Oct 29 2007 Dag Wieers - 4.2.0-1 - 5946+/dag - Updated to release 4.2.0. * Mon Oct 29 2007 Dag Wieers - 3.11.5-1 - Initial package. (using DAR)