pcp/pcp.spec

3877 lines
109 KiB
RPMSpec
Raw Normal View History

2017-04-02 04:14:31 +00:00
Name: pcp
2018-12-21 03:11:54 +00:00
Version: 4.3.0
2019-01-10 04:09:47 +00:00
Release: 3%{?dist}
Summary: System-level performance monitoring and performance management
2014-12-01 04:18:53 +00:00
License: GPLv2+ and LGPLv2.1+ and CC-BY
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
2017-04-02 04:14:31 +00:00
%global bintray https://bintray.com/artifact/download
%global github https://github.com/performancecopilot
2017-02-17 17:34:51 +00:00
2017-04-02 04:14:31 +00:00
Source0: %{bintray}/download/pcp/source/pcp-%{version}.src.tar.gz
Source1: %{github}/pcp-webapp-vector/archive/1.3.1-1/pcp-webapp-vector-1.3.1-1.tar.gz
2018-02-08 01:34:44 +00:00
Source2: %{github}/pcp-webapp-grafana/archive/1.9.1-2/pcp-webapp-grafana-1.9.1-2.tar.gz
2017-04-02 04:14:31 +00:00
Source3: %{github}/pcp-webapp-graphite/archive/0.9.10/pcp-webapp-graphite-0.9.10.tar.gz
2018-08-23 06:38:00 +00:00
Source4: %{github}/pcp-webapp-blinkenlights/archive/1.0.1/pcp-webapp-blinkenlights-1.0.1.tar.gz
# patch for GH#597
Patch0: pcp-revert-pmlogger_daily-daystart.patch
2017-02-17 17:34:51 +00:00
2018-02-16 03:29:50 +00:00
%if 0%{?fedora} >= 26 || 0%{?rhel} > 7
%global __python2 python2
%else
%global __python2 python
%endif
2017-10-18 21:20:57 +00:00
%if 0%{?fedora} || 0%{?rhel} > 5
2017-02-17 17:34:51 +00:00
%global disable_selinux 0
%else
%global disable_selinux 1
%endif
%global disable_snmp 0
# There are no papi/libpfm devel packages for s390, armv7hl nor for some rhels, disable
%ifarch s390 s390x armv7hl
%global disable_papi 1
%global disable_perfevent 1
%else
%if 0%{?rhel} == 0 || 0%{?rhel} > 5
%global disable_papi 0
2014-09-12 18:47:24 +00:00
%else
%global disable_papi 1
%endif
%if 0%{?fedora} >= 20 || 0%{?rhel} > 6
%global disable_perfevent 0
%else
%global disable_perfevent 1
%endif
2014-09-12 18:47:24 +00:00
%endif
2014-12-01 04:18:53 +00:00
2018-11-16 07:45:57 +00:00
# libvarlink and pmdapodman
%if 0%{?fedora} >= 28 || 0%{?rhel} >= 7
%global disable_podman 0
%else
%global disable_podman 1
%endif
%global disable_microhttpd 0
2018-02-16 03:29:50 +00:00
%global disable_webapps 0
%global disable_cairo 0
2018-09-21 03:33:47 +00:00
%if 0%{?rhel} > 7 || 0%{?fedora} >= 30
%global _with_python2 --with-python=no
2018-06-15 02:11:17 +00:00
%global disable_python2 1
%else
%global disable_python2 0
2018-06-15 02:11:17 +00:00
%endif
# Default for epel5 is python24, so use the (optional) python26 packages
%if 0%{?rhel} == 5
%global default_python 26
%endif
2015-08-04 03:54:00 +00:00
# No python3 development environment before el8
%if 0%{?rhel} == 0 || 0%{?rhel} > 7
%global disable_python3 0
# Do we wish to mandate python3 use in pcp? (f22+ and el8+)
%if 0%{?fedora} >= 22 || 0%{?rhel} > 7
%global default_python 3
%endif
2014-10-31 05:34:18 +00:00
%else
%global disable_python3 1
2014-10-31 05:34:18 +00:00
%endif
2017-08-16 06:17:29 +00:00
%if 0%{?fedora} >= 24 || 0%{?rhel} > 7
%global perl_interpreter perl-interpreter
%else
%global perl_interpreter perl
%endif
2018-02-16 03:29:50 +00:00
# support for pmdabcc
%if 0%{?fedora} >= 25 || 0%{?rhel} > 7
%ifarch s390 s390x armv7hl aarch64 i686
%global disable_bcc 1
%else
2018-02-16 03:29:50 +00:00
%if !%{disable_python3}
%global disable_bcc 0
%else
%global disable_bcc 1
%endif
%endif
2018-02-16 03:29:50 +00:00
%else
%global disable_bcc 1
%endif
2015-08-04 03:54:00 +00:00
# support for pmdajson
%if 0%{?rhel} == 0 || 0%{?rhel} > 6
%if !%{disable_python2} || !%{disable_python3}
%global disable_json 0
%else
%global disable_json 1
%endif
%else
%global disable_json 1
%endif
2017-04-02 04:14:31 +00:00
# support for pmdanutcracker (perl deps missing on rhel)
%if 0%{?rhel} == 0
%global disable_nutcracker 0
%else
%global disable_nutcracker 1
%endif
2015-08-04 03:54:00 +00:00
# support for pmdarpm
%if 0%{?rhel} == 0 || 0%{?rhel} > 5
%global disable_rpm 0
%else
%global disable_rpm 1
%endif
# Qt development and runtime environment missing components before el6
%if 0%{?rhel} == 0 || 0%{?rhel} > 5
%global disable_qt 0
2018-09-21 03:33:47 +00:00
%if 0%{?fedora} != 0 || 0%{?rhel} > 7
2017-04-12 21:16:31 +00:00
%global default_qt 5
%endif
%else
%global disable_qt 1
%endif
2014-05-15 05:28:30 +00:00
2015-08-04 03:54:00 +00:00
# systemd services and pmdasystemd
%if 0%{?fedora} >= 19 || 0%{?rhel} >= 7
%global disable_systemd 0
%else
%global disable_systemd 1
%endif
# systemtap static probing, missing before el6 and on some architectures
%if 0%{?rhel} == 0 || 0%{?rhel} > 5
2015-09-17 03:11:25 +00:00
%global disable_sdt 0
%else
2015-08-04 03:54:00 +00:00
%ifnarch ppc ppc64
%global disable_sdt 0
%else
%global disable_sdt 1
%endif
%endif
2017-10-18 21:20:57 +00:00
# boost c++ library, widely available
%if 0%{?rhel} == 0 || 0%{?rhel} > 5
%global disable_boost 0
%else
%global disable_boost 1
%endif
2019-01-10 04:09:47 +00:00
# libuv
%if 0%{?fedora} >= 28 || 0%{?rhel} > 7
%global disable_libuv 0
%else
%global disable_libuv 1
%endif
2015-08-04 03:54:00 +00:00
# rpm producing "noarch" packages
%if 0%{?rhel} == 0 || 0%{?rhel} > 5
%global disable_noarch 0
%else
%global disable_noarch 1
%endif
2018-06-15 02:11:17 +00:00
%if 0%{?fedora} >= 24
%global disable_xlsx 0
2017-10-18 21:20:57 +00:00
%else
%global disable_xlsx 1
%endif
# prevent conflicting binary and man page install for pcp(1)
Conflicts: librapi
2018-08-03 21:05:44 +00:00
# KVM PMDA moved into pcp (no longer using Perl, default on)
Obsoletes: pcp-pmda-kvm
Provides: pcp-pmda-kvm
2018-11-16 07:45:57 +00:00
# https://fedoraproject.org/wiki/Packaging "C and C++"
BuildRequires: gcc gcc-c++
2012-09-14 11:53:58 +00:00
BuildRequires: procps autoconf bison flex
2013-05-14 06:38:03 +00:00
BuildRequires: nss-devel
2014-01-15 00:01:11 +00:00
BuildRequires: rpm-devel
BuildRequires: avahi-devel
2018-08-03 21:05:44 +00:00
BuildRequires: xz-devel
BuildRequires: zlib-devel
%if !%{disable_python2}
%if 0%{?default_python} != 3
BuildRequires: python%{?default_python}-devel
%else
BuildRequires: %{__python2}-devel
%endif
%endif
2014-10-31 05:34:18 +00:00
%if !%{disable_python3}
BuildRequires: python3-devel
%endif
2012-09-14 11:53:58 +00:00
BuildRequires: ncurses-devel
BuildRequires: readline-devel
2013-05-14 06:38:03 +00:00
BuildRequires: cyrus-sasl-devel
2014-09-05 04:40:42 +00:00
%if !%{disable_papi}
BuildRequires: papi-devel
%endif
2018-11-16 07:45:57 +00:00
%if !%{disable_podman}
BuildRequires: libvarlink-devel
%endif
2014-12-01 04:18:53 +00:00
%if !%{disable_perfevent}
2015-04-16 01:57:22 +00:00
BuildRequires: libpfm-devel >= 4
2014-12-01 04:18:53 +00:00
%endif
2014-05-15 05:28:30 +00:00
%if !%{disable_microhttpd}
2013-05-14 06:38:03 +00:00
BuildRequires: libmicrohttpd-devel
2014-05-15 05:28:30 +00:00
%endif
2014-09-12 18:47:24 +00:00
%if !%{disable_cairo}
BuildRequires: cairo-devel
%endif
2015-08-04 03:54:00 +00:00
%if !%{disable_sdt}
BuildRequires: systemtap-sdt-devel
%endif
2017-10-18 21:20:57 +00:00
%if !%{disable_boost}
BuildRequires: boost-devel
%endif
2019-01-10 04:09:47 +00:00
%if !%{disable_libuv}
BuildRequires: libuv-devel >= 1.16
%endif
2018-08-03 21:05:44 +00:00
%if 0%{?rhel} == 0 || 0%{?rhel} > 7
BuildRequires: perl-generators
%endif
2018-08-03 21:05:44 +00:00
BuildRequires: perl-devel perl(strict)
BuildRequires: perl(ExtUtils::MakeMaker) perl(LWP::UserAgent) perl(JSON)
BuildRequires: perl(LWP::UserAgent) perl(Time::HiRes) perl(Digest::MD5)
2018-08-03 21:05:44 +00:00
BuildRequires: man
2015-08-04 03:54:00 +00:00
%if !%{disable_systemd}
2013-03-11 02:00:00 +00:00
BuildRequires: systemd-devel
%endif
%if !%{disable_qt}
2014-05-15 04:44:12 +00:00
BuildRequires: desktop-file-utils
2017-04-12 21:16:31 +00:00
%if 0%{?default_qt} != 5
2014-05-15 04:44:12 +00:00
BuildRequires: qt4-devel >= 4.4
2017-04-12 21:16:31 +00:00
%else
BuildRequires: qt5-qtbase-devel
BuildRequires: qt5-qtsvg-devel
%endif
%endif
2018-11-16 07:45:57 +00:00
Requires: bash xz gawk sed grep findutils which
2012-09-14 11:53:58 +00:00
Requires: pcp-libs = %{version}-%{release}
2017-02-17 17:34:51 +00:00
%if !%{disable_selinux}
Requires: pcp-selinux = %{version}-%{release}
%endif
2018-08-03 21:05:44 +00:00
# Some older releases did not update or replace pcp-gui-debuginfo properly
%if 0%{?fedora} < 27 && 0%{?rhel} <= 7 && "%{_vendor}" == "redhat"
Obsoletes: pcp-gui-debuginfo
%endif
2018-08-03 21:05:44 +00:00
2014-07-16 03:53:30 +00:00
Obsoletes: pcp-pmda-nvidia
# Obsoletes for distros that already have single install pmda's with compat package
2018-11-16 07:45:57 +00:00
Obsoletes: pcp-compat pcp-collector pcp-monitor
2015-08-04 03:54:00 +00:00
Requires: pcp-libs = %{version}-%{release}
2013-09-09 11:52:51 +00:00
%global tapsetdir %{_datadir}/systemtap/tapset
%global _confdir %{_sysconfdir}/pcp
%global _logsdir %{_localstatedir}/log/pcp
%global _pmnsdir %{_localstatedir}/lib/pcp/pmns
%global _tempsdir %{_localstatedir}/lib/pcp/tmp
%global _pmdasdir %{_localstatedir}/lib/pcp/pmdas
%global _testsdir %{_localstatedir}/lib/pcp/testsuite
2017-02-17 17:34:51 +00:00
%global _selinuxdir %{_localstatedir}/lib/pcp/selinux
%global _logconfdir %{_localstatedir}/lib/pcp/config/pmlogconf
%global _pixmapdir %{_datadir}/pcp-gui/pixmaps
2017-10-18 21:20:57 +00:00
%global _hicolordir %{_datadir}/icons/hicolor
%global _booksdir %{_datadir}/doc/pcp-doc
%if 0%{?fedora} >= 20 || 0%{?rhel} >= 8
%global _with_doc --with-docdir=%{_docdir}/%{name}
2014-10-31 05:34:18 +00:00
%endif
2015-08-04 03:54:00 +00:00
2018-08-03 21:05:44 +00:00
%if 0%{?fedora} >= 29 || 0%{?rhel} >= 8
%global _with_dstat --with-dstat-symlink=yes
%global disable_dstat 0
%else
2018-12-21 03:11:54 +00:00
%global _with_dstat --with-dstat-symlink=no
2018-08-03 21:05:44 +00:00
%global disable_dstat 1
%endif
2015-08-04 03:54:00 +00:00
%if !%{disable_systemd}
%global _initddir %{_datadir}/pcp/lib
2014-09-05 04:40:42 +00:00
%else
%global _initddir %{_sysconfdir}/rc.d/init.d
2015-09-17 03:11:25 +00:00
%global _with_initd --with-rcdir=%{_initddir}
2014-09-05 04:40:42 +00:00
%endif
2013-10-17 22:54:39 +00:00
# we never want Infiniband on s390 and armv7hl platforms
%ifarch s390 s390x armv7hl
%global disable_infiniband 1
2013-07-31 04:04:12 +00:00
%else
2013-10-17 22:54:39 +00:00
# we never want Infiniband on RHEL5 or earlier
%if 0%{?rhel} != 0 && 0%{?rhel} < 6
%global disable_infiniband 1
2013-10-17 22:54:39 +00:00
%else
%global disable_infiniband 0
2013-10-17 22:54:39 +00:00
%endif
%endif
2017-06-30 01:26:52 +00:00
%if !%{disable_infiniband}
%global _with_ib --with-infiniband=yes
2013-07-31 02:40:00 +00:00
%endif
2014-09-05 04:40:42 +00:00
%if !%{disable_papi}
%global _with_papi --with-papi=yes
2014-09-05 04:40:42 +00:00
%endif
2017-06-30 01:26:52 +00:00
%if %{disable_perfevent}
%global _with_perfevent --with-perfevent=no
%else
%global _with_perfevent --with-perfevent=yes
2014-12-01 04:18:53 +00:00
%endif
2018-11-16 07:45:57 +00:00
%if %{disable_podman}
%global _with_podman --with-podman=no
%else
%global _with_podman --with-podman=yes
%endif
2018-02-16 03:29:50 +00:00
%if %{disable_bcc}
%global _with_bcc --with-pmdabcc=no
%else
%global _with_bcc --with-pmdabcc=yes
%endif
2015-08-04 03:54:00 +00:00
%if %{disable_json}
%global _with_json --with-pmdajson=no
%else
%global _with_json --with-pmdajson=yes
%endif
2017-04-02 04:14:31 +00:00
%if %{disable_nutcracker}
%global _with_nutcracker --with-pmdanutcracker=no
%else
%global _with_nutcracker --with-pmdanutcracker=yes
%endif
%if %{disable_snmp}
%global _with_snmp --with-pmdasnmp=no
%else
%global _with_snmp --with-pmdasnmp=yes
%endif
2018-02-16 03:29:50 +00:00
%if %{disable_webapps}
%global _with_webapps --with-webapps=no
%else
%global _with_webapps --with-webapps=yes
%endif
%global pmda_remove() %{expand:
2018-02-16 03:29:50 +00:00
if [ %1 -eq 0 ]
then
2018-06-15 02:11:17 +00:00
if [ -f "%{_confdir}/pmcd/pmcd.conf" -a -f "%{_pmdasdir}/%2/domain.h" ]
then
(cd %{_pmdasdir}/%2/ && ./Remove >/dev/null 2>&1)
fi
fi
}
2018-06-15 02:11:17 +00:00
# force upgrade of PMDAs starting in "notready" state
%global pmda_notready() %{expand:
if grep -q ^%2 "%{_confdir}/pmcd/pmcd.conf" 2>/dev/null
then
touch %{_pmdasdir}/%2/.NeedInstall
fi
}
2017-05-17 19:55:06 +00:00
%global selinux_handle_policy() %{expand:
2018-06-15 02:11:17 +00:00
if [ %1 -ge 1 ]
2017-05-17 19:55:06 +00:00
then
2018-06-15 02:11:17 +00:00
%{_libexecdir}/pcp/bin/selinux-setup %{_selinuxdir} install %2
elif [ %1 -eq 0 ]
then
%{_libexecdir}/pcp/bin/selinux-setup %{_selinuxdir} remove %2
fi
2017-05-17 19:55:06 +00:00
}
%description
Performance Co-Pilot (PCP) provides a framework and services to support
2018-03-29 01:40:40 +00:00
system-level performance monitoring and performance management.
The PCP open source release provides a unifying abstraction for all of
the interesting performance data in a system, and allows client
applications to easily retrieve and process any subset of that data.
2014-02-20 02:36:48 +00:00
#
# pcp-conf
#
%package conf
2017-02-17 17:34:51 +00:00
License: LGPLv2.1+
2014-02-20 02:36:48 +00:00
Summary: Performance Co-Pilot run-time configuration
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
2014-02-20 02:36:48 +00:00
# http://fedoraproject.org/wiki/Packaging:Conflicts "Splitting Packages"
Conflicts: pcp-libs < 3.9
%description conf
Performance Co-Pilot (PCP) run-time configuration
#
# pcp-libs
#
%package libs
2017-02-17 17:34:51 +00:00
License: LGPLv2.1+
Summary: Performance Co-Pilot run-time libraries
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
2014-02-20 02:36:48 +00:00
Requires: pcp-conf = %{version}-%{release}
%description libs
Performance Co-Pilot (PCP) run-time libraries
#
# pcp-libs-devel
#
%package libs-devel
2013-09-15 07:52:20 +00:00
License: GPLv2+ and LGPLv2.1+
Summary: Performance Co-Pilot (PCP) development headers
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
Requires: pcp = %{version}-%{release} pcp-libs = %{version}-%{release}
%description libs-devel
2017-02-17 17:34:51 +00:00
Performance Co-Pilot (PCP) headers for development.
#
# pcp-devel
#
%package devel
License: GPLv2+ and LGPLv2.1+
Summary: Performance Co-Pilot (PCP) development tools and documentation
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
Requires: pcp = %{version}-%{release}
2012-09-14 11:53:58 +00:00
Requires: pcp-libs = %{version}-%{release}
Requires: pcp-libs-devel = %{version}-%{release}
%description devel
Performance Co-Pilot (PCP) documentation and tools for development.
2012-08-28 10:54:33 +00:00
#
# pcp-testsuite
#
%package testsuite
2013-09-15 07:52:20 +00:00
License: GPLv2+
2012-08-28 10:54:33 +00:00
Summary: Performance Co-Pilot (PCP) test suite
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
2012-09-14 11:53:58 +00:00
Requires: pcp = %{version}-%{release}
2014-01-29 01:50:12 +00:00
Requires: pcp-libs = %{version}-%{release}
2012-09-14 11:53:58 +00:00
Requires: pcp-libs-devel = %{version}-%{release}
Requires: pcp-devel = %{version}-%{release}
Obsoletes: pcp-gui-testsuite
2018-11-16 07:45:57 +00:00
# The following are inherited from pcp-collector and pcp-monitor,
# both of which are now obsoleted by the base pcp package
Requires: pcp-pmda-activemq pcp-pmda-bonding pcp-pmda-dbping pcp-pmda-ds389 pcp-pmda-ds389log
Requires: pcp-pmda-elasticsearch pcp-pmda-gpfs pcp-pmda-gpsd pcp-pmda-lustre
Requires: pcp-pmda-memcache pcp-pmda-mysql pcp-pmda-named pcp-pmda-netfilter pcp-pmda-news
Requires: pcp-pmda-nginx pcp-pmda-nfsclient pcp-pmda-pdns pcp-pmda-postfix pcp-pmda-postgresql pcp-pmda-oracle
Requires: pcp-pmda-samba pcp-pmda-slurm pcp-pmda-vmware pcp-pmda-zimbra
Requires: pcp-pmda-dm pcp-pmda-apache
Requires: pcp-pmda-bash pcp-pmda-cisco pcp-pmda-gfs2 pcp-pmda-mailq pcp-pmda-mounts
Requires: pcp-pmda-nvidia-gpu pcp-pmda-roomtemp pcp-pmda-sendmail pcp-pmda-shping pcp-pmda-smart
Requires: pcp-pmda-lustrecomm pcp-pmda-logger pcp-pmda-docker pcp-pmda-bind2
%if !%{disable_podman}
Requires: pcp-pmda-podman
%endif
%if !%{disable_nutcracker}
Requires: pcp-pmda-nutcracker
%endif
%if !%{disable_bcc}
Requires: pcp-pmda-bcc
%endif
%if !%{disable_python2} || !%{disable_python3}
Requires: pcp-pmda-gluster pcp-pmda-zswap pcp-pmda-unbound pcp-pmda-mic
Requires: pcp-pmda-libvirt pcp-pmda-lio pcp-pmda-prometheus pcp-pmda-haproxy
Requires: pcp-pmda-lmsensors
%endif
%if !%{disable_snmp}
Requires: pcp-pmda-snmp
%endif
%if !%{disable_json}
Requires: pcp-pmda-json
%endif
%if !%{disable_rpm}
Requires: pcp-pmda-rpm
%endif
Requires: pcp-pmda-summary pcp-pmda-trace pcp-pmda-weblog
%if !%{disable_microhttpd}
Requires: pcp-webapi
%endif
%if !%{disable_python2} || !%{disable_python3}
Requires: pcp-system-tools
%endif
%if !%{disable_qt}
Requires: pcp-gui
%endif
Requires: bc gcc gzip bzip2
2012-08-28 10:54:33 +00:00
%description testsuite
Quality assurance test suite for Performance Co-Pilot (PCP).
2018-11-16 07:45:57 +00:00
# end testsuite
2012-08-28 10:54:33 +00:00
2014-02-20 02:36:48 +00:00
#
# pcp-manager
#
%package manager
License: GPLv2+
Summary: Performance Co-Pilot (PCP) manager daemon
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
Requires: pcp = %{version}-%{release} pcp-libs = %{version}-%{release}
2014-02-20 02:36:48 +00:00
%description manager
An optional daemon (pmmgr) that manages a collection of pmlogger and
pmie daemons, for a set of discovered local and remote hosts running
the performance metrics collection daemon (pmcd). It ensures these
daemons are running when appropriate, and manages their log rotation
needs. It is an alternative to the cron-based pmlogger/pmie service
scripts.
2014-02-20 02:36:48 +00:00
2014-05-15 05:28:30 +00:00
%if !%{disable_microhttpd}
2014-02-20 02:36:48 +00:00
#
# pcp-webapi
#
%package webapi
2014-10-31 05:34:18 +00:00
License: GPLv2+
2014-02-20 02:36:48 +00:00
Summary: Performance Co-Pilot (PCP) web API service
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
Requires: pcp = %{version}-%{release} pcp-libs = %{version}-%{release}
2018-05-11 02:30:01 +00:00
Requires: liberation-sans-fonts
2014-02-20 02:36:48 +00:00
%description webapi
Provides a daemon (pmwebd) that binds a large subset of the Performance
Co-Pilot (PCP) client API (PMAPI) to RESTful web applications using the
HTTP (PMWEBAPI) protocol.
2014-05-15 05:28:30 +00:00
%endif
2014-02-20 02:36:48 +00:00
2018-02-16 03:29:50 +00:00
%if !%{disable_webapps}
2014-10-31 05:34:18 +00:00
#
2015-04-16 01:57:22 +00:00
# pcp-webjs and pcp-webapp packages
2014-10-31 05:34:18 +00:00
#
%package webjs
2018-06-15 02:11:17 +00:00
License: ASL 2.0 and MIT and CC-BY and GPLv3
2017-04-02 04:14:31 +00:00
Conflicts: pcp-webjs < 3.11.9
2015-08-04 03:54:00 +00:00
%if !%{disable_noarch}
2014-10-31 05:34:18 +00:00
BuildArch: noarch
%endif
2017-04-02 04:14:31 +00:00
Requires: pcp-webapp-vector pcp-webapp-blinkenlights
Requires: pcp-webapp-graphite pcp-webapp-grafana
2014-10-31 05:34:18 +00:00
Summary: Performance Co-Pilot (PCP) web applications
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
2014-10-31 05:34:18 +00:00
%description webjs
Javascript web application content for the Performance Co-Pilot (PCP)
web service.
2015-04-16 01:57:22 +00:00
%package webapp-vector
2018-06-15 02:11:17 +00:00
License: ASL 2.0
2015-08-04 03:54:00 +00:00
%if !%{disable_noarch}
2015-04-16 01:57:22 +00:00
BuildArch: noarch
2014-10-31 05:34:18 +00:00
%endif
2015-04-16 01:57:22 +00:00
Summary: Vector web application for Performance Co-Pilot (PCP)
URL: https://github.com/Netflix/vector
%description webapp-vector
Vector web application for the Performance Co-Pilot (PCP).
%package webapp-grafana
2018-06-15 02:11:17 +00:00
License: ASL 2.0
2015-04-16 01:57:22 +00:00
Conflicts: pcp-webjs < 3.10.4
2015-08-04 03:54:00 +00:00
%if !%{disable_noarch}
2015-04-16 01:57:22 +00:00
BuildArch: noarch
%endif
Summary: Grafana web application for Performance Co-Pilot (PCP)
URL: https://grafana.org
%description webapp-grafana
Grafana is an open source, feature rich metrics dashboard and graph
editor. This package provides a Grafana that uses the Performance
Co-Pilot (PCP) as the data repository. Other Grafana backends are
not used.
Grafana can render time series dashboards at the browser via flot.js
(more interactive, slower, for beefy browsers) or alternately at the
server via png (less interactive, faster).
%package webapp-graphite
2018-06-15 02:11:17 +00:00
License: ASL 2.0 and GPLv3
2015-04-16 01:57:22 +00:00
Conflicts: pcp-webjs < 3.10.4
2015-08-04 03:54:00 +00:00
%if !%{disable_noarch}
2015-04-16 01:57:22 +00:00
BuildArch: noarch
%endif
Summary: Graphite web application for Performance Co-Pilot (PCP)
URL: http://graphite.readthedocs.org
%description webapp-graphite
Graphite is a highly scalable real-time graphing system. This package
provides a graphite version that uses the Performance Co-Pilot (PCP)
as the data repository, and Graphites web interface renders it. The
Carbon and Whisper subsystems of Graphite are not included nor used.
2014-10-31 05:34:18 +00:00
2017-04-02 04:14:31 +00:00
%package webapp-blinkenlights
2018-06-15 02:11:17 +00:00
License: ASL 2.0
2017-04-02 04:14:31 +00:00
%if !%{disable_noarch}
BuildArch: noarch
%endif
Summary: Blinking lights web application for Performance Co-Pilot (PCP)
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
2017-04-02 04:14:31 +00:00
%description webapp-blinkenlights
Demo web application showing traffic lights that change colour based
on the periodic evaluation of performance metric expressions.
2018-02-16 03:29:50 +00:00
%endif
2017-04-02 04:14:31 +00:00
#
# perl-PCP-PMDA. This is the PCP agent perl binding.
#
%package -n perl-PCP-PMDA
License: GPLv2+
Summary: Performance Co-Pilot (PCP) Perl bindings and documentation
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
Requires: pcp-libs = %{version}-%{release}
2017-08-16 06:17:29 +00:00
Requires: %{perl_interpreter}
%description -n perl-PCP-PMDA
The PCP::PMDA Perl module contains the language bindings for
building Performance Metric Domain Agents (PMDAs) using Perl.
Each PMDA exports performance data for one specific domain, for
example the operating system kernel, Cisco routers, a database,
an application, etc.
#
# perl-PCP-MMV
#
%package -n perl-PCP-MMV
License: GPLv2+
Summary: Performance Co-Pilot (PCP) Perl bindings for PCP Memory Mapped Values
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
Requires: pcp-libs = %{version}-%{release}
2017-08-16 06:17:29 +00:00
Requires: %{perl_interpreter}
%description -n perl-PCP-MMV
The PCP::MMV module contains the Perl language bindings for
building scripts instrumented with the Performance Co-Pilot
(PCP) Memory Mapped Value (MMV) mechanism.
This mechanism allows arbitrary values to be exported from an
instrumented script into the PCP infrastructure for monitoring
and analysis with pmchart, pmie, pmlogger and other PCP tools.
#
# perl-PCP-LogImport
#
%package -n perl-PCP-LogImport
License: GPLv2+
Summary: Performance Co-Pilot (PCP) Perl bindings for importing external data into PCP archives
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
Requires: pcp-libs = %{version}-%{release}
2017-08-16 06:17:29 +00:00
Requires: %{perl_interpreter}
%description -n perl-PCP-LogImport
The PCP::LogImport module contains the Perl language bindings for
importing data in various 3rd party formats into PCP archives so
they can be replayed with standard PCP monitoring tools.
#
# perl-PCP-LogSummary
#
%package -n perl-PCP-LogSummary
License: GPLv2+
Summary: Performance Co-Pilot (PCP) Perl bindings for post-processing output of pmlogsummary
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
Requires: pcp-libs = %{version}-%{release}
2017-08-16 06:17:29 +00:00
Requires: %{perl_interpreter}
%description -n perl-PCP-LogSummary
The PCP::LogSummary module provides a Perl module for using the
statistical summary data produced by the Performance Co-Pilot
pmlogsummary utility. This utility produces various averages,
minima, maxima, and other calculations based on the performance
data stored in a PCP archive. The Perl interface is ideal for
exporting this data into third-party tools (e.g. spreadsheets).
#
# pcp-import-sar2pcp
#
%package import-sar2pcp
License: LGPLv2+
Summary: Performance Co-Pilot tools for importing sar data into PCP archive logs
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
Requires: pcp-libs = %{version}-%{release}
Requires: perl-PCP-LogImport = %{version}-%{release}
Requires: perl(XML::TokeParser)
%description import-sar2pcp
Performance Co-Pilot (PCP) front-end tools for importing sar data
into standard PCP archive logs for replay with any PCP monitoring tool.
#
# pcp-import-iostat2pcp
#
%package import-iostat2pcp
License: LGPLv2+
Summary: Performance Co-Pilot tools for importing iostat data into PCP archive logs
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
Requires: pcp-libs = %{version}-%{release}
Requires: perl-PCP-LogImport = %{version}-%{release}
%description import-iostat2pcp
Performance Co-Pilot (PCP) front-end tools for importing iostat data
into standard PCP archive logs for replay with any PCP monitoring tool.
#
# pcp-import-mrtg2pcp
#
%package import-mrtg2pcp
License: LGPLv2+
Summary: Performance Co-Pilot tools for importing MTRG data into PCP archive logs
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
Requires: pcp-libs = %{version}-%{release}
Requires: perl-PCP-LogImport = %{version}-%{release}
%description import-mrtg2pcp
Performance Co-Pilot (PCP) front-end tools for importing MTRG data
into standard PCP archive logs for replay with any PCP monitoring tool.
#
# pcp-import-ganglia2pcp
#
%package import-ganglia2pcp
License: LGPLv2+
Summary: Performance Co-Pilot tools for importing ganglia data into PCP archive logs
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
Requires: pcp-libs = %{version}-%{release}
Requires: perl-PCP-LogImport = %{version}-%{release}
%description import-ganglia2pcp
Performance Co-Pilot (PCP) front-end tools for importing ganglia data
into standard PCP archive logs for replay with any PCP monitoring tool.
2017-02-17 17:34:51 +00:00
#
# pcp-import-collectl2pcp
#
%package import-collectl2pcp
License: LGPLv2+
Summary: Performance Co-Pilot tools for importing collectl log files into PCP archive logs
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
2017-02-17 17:34:51 +00:00
Requires: pcp-libs = %{version}-%{release}
%description import-collectl2pcp
Performance Co-Pilot (PCP) front-end tools for importing collectl data
into standard PCP archive logs for replay with any PCP monitoring tool.
#
# pcp-export-zabbix-agent
#
%package export-zabbix-agent
License: GPLv2+
Summary: Module for exporting PCP metrics to Zabbix agent
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
Requires: pcp-libs = %{version}-%{release}
%description export-zabbix-agent
Performance Co-Pilot (PCP) module for exporting metrics from PCP to
Zabbix via the Zabbix agent - see zbxpcp(3) for further details.
2015-06-15 12:03:21 +00:00
%if !%{disable_python2} || !%{disable_python3}
#
2017-10-18 21:20:57 +00:00
# pcp-export-pcp2elasticsearch
#
%package export-pcp2elasticsearch
License: GPLv2+
Summary: Performance Co-Pilot tools for exporting PCP metrics to ElasticSearch
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
2017-10-18 21:20:57 +00:00
Requires: pcp-libs >= %{version}-%{release}
%if !%{disable_python3}
Requires: python3-pcp = %{version}-%{release}
2018-11-16 07:45:57 +00:00
Requires: python3-requests
BuildRequires: python3-requests
2017-10-18 21:20:57 +00:00
%else
Requires: %{__python2}-pcp = %{version}-%{release}
2018-11-16 07:45:57 +00:00
Requires: %{__python2}-requests
BuildRequires: %{__python2}-requests
2017-10-18 21:20:57 +00:00
%endif
%description export-pcp2elasticsearch
Performance Co-Pilot (PCP) front-end tools for exporting metric values
to Elasticsearch - a distributed, RESTful search and analytics engine.
See https://www.elastic.co/community for further details.
2018-12-21 03:11:54 +00:00
2017-10-18 21:20:57 +00:00
#
2015-06-15 12:03:21 +00:00
# pcp-export-pcp2graphite
#
%package export-pcp2graphite
License: GPLv2+
Summary: Performance Co-Pilot tools for exporting PCP metrics to Graphite
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
2015-06-15 12:03:21 +00:00
Requires: pcp-libs >= %{version}-%{release}
%if !%{disable_python3}
Requires: python3-pcp = %{version}-%{release}
%else
Requires: %{__python2}-pcp = %{version}-%{release}
2015-06-15 12:03:21 +00:00
%endif
%description export-pcp2graphite
Performance Co-Pilot (PCP) front-end tools for exporting metric values
to graphite (http://graphite.readthedocs.org).
# pcp-export-pcp2influxdb
#
%package export-pcp2influxdb
License: GPLv2+
Summary: Performance Co-Pilot tools for exporting PCP metrics to InfluxDB
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
Requires: pcp-libs >= %{version}-%{release}
%if !%{disable_python3}
Requires: python3-pcp = %{version}-%{release}
Requires: python3-requests
%else
Requires: %{__python2}-pcp = %{version}-%{release}
Requires: %{__python2}-requests
%endif
%description export-pcp2influxdb
Performance Co-Pilot (PCP) front-end tools for exporting metric values
to InfluxDB (https://influxdata.com/time-series-platform/influxdb).
2017-10-18 21:20:57 +00:00
#
# pcp-export-pcp2json
#
%package export-pcp2json
License: GPLv2+
Summary: Performance Co-Pilot tools for exporting PCP metrics in JSON format
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
2017-10-18 21:20:57 +00:00
Requires: pcp-libs >= %{version}-%{release}
%if !%{disable_python3}
Requires: python3-pcp = %{version}-%{release}
%else
Requires: %{__python2}-pcp = %{version}-%{release}
2017-10-18 21:20:57 +00:00
%endif
%description export-pcp2json
Performance Co-Pilot (PCP) front-end tools for exporting metric values
in JSON format.
2018-08-03 21:05:44 +00:00
#
# pcp-export-pcp2spark
#
%package export-pcp2spark
License: GPLv2+
Summary: Performance Co-Pilot tools for exporting PCP metrics to Apache Spark
URL: https://pcp.io
Requires: pcp-libs >= %{version}-%{release}
%if !%{disable_python3}
Requires: python3-pcp = %{version}-%{release}
%else
Requires: %{__python2}-pcp = %{version}-%{release}
%endif
%description export-pcp2spark
Performance Co-Pilot (PCP) front-end tools for exporting metric values
in JSON format to Apache Spark. See https://spark.apache.org/ for
further details on Apache Spark.
2017-10-18 21:20:57 +00:00
#
# pcp-export-pcp2xlsx
#
%if !%{disable_xlsx}
%package export-pcp2xlsx
License: GPLv2+
Summary: Performance Co-Pilot tools for exporting PCP metrics to Excel
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
2017-10-18 21:20:57 +00:00
Requires: pcp-libs >= %{version}-%{release}
%if !%{disable_python3}
Requires: python3-pcp = %{version}-%{release}
2018-06-15 02:11:17 +00:00
Requires: python3-openpyxl
BuildRequires: python3-openpyxl
2017-10-18 21:20:57 +00:00
%else
Requires: %{__python2}-pcp = %{version}-%{release}
2018-06-15 02:11:17 +00:00
Requires: %{__python2}-openpyxl
BuildRequires: %{__python2}-openpyxl
2017-10-18 21:20:57 +00:00
%endif
%description export-pcp2xlsx
Performance Co-Pilot (PCP) front-end tools for exporting metric values
in Excel spreadsheet format.
%endif
#
# pcp-export-pcp2xml
#
%package export-pcp2xml
License: GPLv2+
Summary: Performance Co-Pilot tools for exporting PCP metrics in XML format
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
2017-10-18 21:20:57 +00:00
Requires: pcp-libs >= %{version}-%{release}
%if !%{disable_python3}
Requires: python3-pcp = %{version}-%{release}
%else
Requires: %{__python2}-pcp = %{version}-%{release}
2017-10-18 21:20:57 +00:00
%endif
%description export-pcp2xml
Performance Co-Pilot (PCP) front-end tools for exporting metric values
in XML format.
#
# pcp-export-pcp2zabbix
#
%package export-pcp2zabbix
License: GPLv2+
Summary: Performance Co-Pilot tools for exporting PCP metrics to Zabbix
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
2017-10-18 21:20:57 +00:00
Requires: pcp-libs >= %{version}-%{release}
%if !%{disable_python3}
Requires: python3-pcp = %{version}-%{release}
%else
Requires: %{__python2}-pcp = %{version}-%{release}
2017-10-18 21:20:57 +00:00
%endif
%description export-pcp2zabbix
Performance Co-Pilot (PCP) front-end tools for exporting metric values
to the Zabbix (https://www.zabbix.org/) monitoring software.
2015-06-15 12:03:21 +00:00
%endif
%if !%{disable_papi}
#
# pcp-pmda-papi
#
%package pmda-papi
License: GPLv2+
Summary: Performance Co-Pilot (PCP) metrics for Performance API and hardware counters
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
Requires: pcp = %{version}-%{release} pcp-libs = %{version}-%{release}
BuildRequires: papi-devel
%description pmda-papi
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
collecting hardware counters statistics through PAPI (Performance API).
%endif
2018-11-16 07:45:57 +00:00
%if !%{disable_podman}
#
# pcp-pmda-podman
#
%package pmda-podman
License: GPLv2+
Summary: Performance Co-Pilot (PCP) metrics for podman containers
URL: https://pcp.io
Requires: pcp = %{version}-%{release} pcp-libs = %{version}-%{release}
Requires: libvarlink
BuildRequires: libvarlink-devel
%description pmda-podman
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
collecting podman container and pod statistics through libvarlink.
%endif
%if !%{disable_perfevent}
#
# pcp-pmda-perfevent
#
%package pmda-perfevent
License: GPLv2+
Summary: Performance Co-Pilot (PCP) metrics for hardware counters
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
Requires: pcp = %{version}-%{release} pcp-libs = %{version}-%{release}
Requires: libpfm >= 4
BuildRequires: libpfm-devel >= 4
%description pmda-perfevent
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
collecting hardware counters statistics through libpfm.
%endif
%if !%{disable_infiniband}
#
# pcp-pmda-infiniband
#
%package pmda-infiniband
License: GPLv2+
Summary: Performance Co-Pilot (PCP) metrics for Infiniband HCAs and switches
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
Requires: pcp = %{version}-%{release} pcp-libs = %{version}-%{release}
Requires: libibmad >= 1.3.7 libibumad >= 1.3.7
BuildRequires: libibmad-devel >= 1.3.7 libibumad-devel >= 1.3.7
%description pmda-infiniband
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
collecting Infiniband statistics. By default, it monitors the local HCAs
but can also be configured to monitor remote GUIDs such as IB switches.
%endif
2016-09-27 11:46:41 +00:00
#
# pcp-pmda-activemq
#
%package pmda-activemq
License: GPLv2+
Summary: Performance Co-Pilot (PCP) metrics for ActiveMQ
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
Requires: perl-PCP-PMDA = %{version}-%{release}
Requires: perl(LWP::UserAgent)
%description pmda-activemq
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2015-08-04 03:54:00 +00:00
collecting metrics about the ActiveMQ message broker.
#end pcp-pmda-activemq
2017-02-17 17:34:51 +00:00
#
# pcp-pmda-bind2
#
%package pmda-bind2
License: GPLv2+
Summary: Performance Co-Pilot (PCP) metrics for BIND servers
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
2017-02-17 17:34:51 +00:00
Requires: perl-PCP-PMDA = %{version}-%{release}
Requires: perl(LWP::UserAgent)
Requires: perl(XML::LibXML)
Requires: perl(File::Slurp)
%description pmda-bind2
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
collecting metrics from BIND (Berkeley Internet Name Domain).
#end pcp-pmda-bind2
#
# pcp-pmda-redis
#
%package pmda-redis
License: GPLv2+
Summary: Performance Co-Pilot (PCP) metrics for Redis
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
2017-02-17 17:34:51 +00:00
Requires: perl-PCP-PMDA = %{version}-%{release}
%description pmda-redis
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
collecting metrics from Redis servers (redis.io).
#end pcp-pmda-redis
2017-04-02 04:14:31 +00:00
%if !%{disable_nutcracker}
2017-02-17 17:34:51 +00:00
#
# pcp-pmda-nutcracker
#
%package pmda-nutcracker
License: GPLv2+
Summary: Performance Co-Pilot (PCP) metrics for NutCracker (TwemCache)
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
2017-02-17 17:34:51 +00:00
Requires: perl-PCP-PMDA = %{version}-%{release}
Requires: perl(YAML::XS::LibYAML)
Requires: perl(JSON)
%description pmda-nutcracker
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
collecting metrics from NutCracker (TwemCache).
#end pcp-pmda-nutcracker
2017-04-02 04:14:31 +00:00
%endif
2017-02-17 17:34:51 +00:00
#
# pcp-pmda-bonding
#
%package pmda-bonding
License: GPLv2+
Summary: Performance Co-Pilot (PCP) metrics for Bonded network interfaces
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
Requires: perl-PCP-PMDA = %{version}-%{release}
%description pmda-bonding
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2015-08-04 03:54:00 +00:00
collecting metrics about bonded network interfaces.
#end pcp-pmda-bonding
#
# pcp-pmda-dbping
#
%package pmda-dbping
License: GPLv2+
Summary: Performance Co-Pilot (PCP) metrics for Database response times and Availablility
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
Requires: perl-PCP-PMDA = %{version}-%{release}
%description pmda-dbping
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
collecting metrics about the Database response times and Availablility.
#end pcp-pmda-dbping
#
# pcp-pmda-ds389
#
%package pmda-ds389
License: GPLv2+
Summary: Performance Co-Pilot (PCP) metrics for 389 Directory Servers
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
Requires: perl-PCP-PMDA = %{version}-%{release}
2018-09-21 03:33:47 +00:00
%if 0%{?rhel} <= 7
Requires: perl-LDAP
2018-09-21 03:33:47 +00:00
%endif
%description pmda-ds389
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2015-08-04 03:54:00 +00:00
collecting metrics about a 389 Directory Server.
#end pcp-pmda-ds389
#
# pcp-pmda-ds389log
#
%package pmda-ds389log
License: GPLv2+
Summary: Performance Co-Pilot (PCP) metrics for 389 Directory Server Loggers
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
Requires: perl-PCP-PMDA = %{version}-%{release}
Requires: perl-Date-Manip
%description pmda-ds389log
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2015-08-04 03:54:00 +00:00
collecting metrics from a 389 Directory Server log.
#end pcp-pmda-ds389log
#
# pcp-pmda-gpfs
#
%package pmda-gpfs
License: GPLv2+
Summary: Performance Co-Pilot (PCP) metrics for GPFS Filesystem
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
Requires: perl-PCP-PMDA = %{version}-%{release}
%description pmda-gpfs
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2015-08-04 03:54:00 +00:00
collecting metrics about the GPFS filesystem.
#end pcp-pmda-gpfs
#
# pcp-pmda-gpsd
#
%package pmda-gpsd
License: GPLv2+
Summary: Performance Co-Pilot (PCP) metrics for a GPS Daemon
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
Requires: perl-PCP-PMDA = %{version}-%{release}
%description pmda-gpsd
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2015-08-04 03:54:00 +00:00
collecting metrics about a GPS Daemon.
#end pcp-pmda-gpsd
2017-02-17 17:34:51 +00:00
#
# pcp-pmda-docker
#
%package pmda-docker
License: GPLv2+
Summary: Performance Co-Pilot (PCP) metrics from the Docker daemon
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
Requires: pcp = %{version}-%{release} pcp-libs = %{version}-%{release}
2017-02-17 17:34:51 +00:00
%description pmda-docker
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
collecting metrics using the Docker daemon REST API.
#end pcp-pmda-docker
#
# pcp-pmda-lustre
#
%package pmda-lustre
License: GPLv2+
Summary: Performance Co-Pilot (PCP) metrics for the Lustre Filesytem
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
Requires: perl-PCP-PMDA = %{version}-%{release}
%description pmda-lustre
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2015-08-04 03:54:00 +00:00
collecting metrics about the Lustre Filesystem.
#end pcp-pmda-lustre
2018-03-29 01:40:40 +00:00
#
# pcp-pmda-lustrecomm
#
%package pmda-lustrecomm
License: GPLv2+
Summary: Performance Co-Pilot (PCP) metrics for the Lustre Filesytem Comms
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
2015-08-04 03:54:00 +00:00
Requires: pcp = %{version}-%{release}
Requires: pcp-libs = %{version}-%{release}
%description pmda-lustrecomm
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2015-08-04 03:54:00 +00:00
collecting metrics about the Lustre Filesystem Comms.
#end pcp-pmda-lustrecomm
#
# pcp-pmda-memcache
#
%package pmda-memcache
License: GPLv2+
Summary: Performance Co-Pilot (PCP) metrics for Memcached
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
Requires: perl-PCP-PMDA = %{version}-%{release}
%description pmda-memcache
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2015-08-04 03:54:00 +00:00
collecting metrics about Memcached.
#end pcp-pmda-memcache
#
# pcp-pmda-mysql
#
%package pmda-mysql
License: GPLv2+
Summary: Performance Co-Pilot (PCP) metrics for MySQL
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
Requires: perl-PCP-PMDA = %{version}-%{release}
Requires: perl(DBI) perl(DBD::mysql)
BuildRequires: perl(DBI) perl(DBD::mysql)
%description pmda-mysql
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2015-08-04 03:54:00 +00:00
collecting metrics about the MySQL database.
#end pcp-pmda-mysql
#
# pcp-pmda-named
#
%package pmda-named
License: GPLv2+
Summary: Performance Co-Pilot (PCP) metrics for Named
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
Requires: perl-PCP-PMDA = %{version}-%{release}
%description pmda-named
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2015-08-04 03:54:00 +00:00
collecting metrics about the Named nameserver.
#end pcp-pmda-named
# pcp-pmda-netfilter
#
%package pmda-netfilter
License: GPLv2+
Summary: Performance Co-Pilot (PCP) metrics for Netfilter framework
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
Requires: perl-PCP-PMDA = %{version}-%{release}
%description pmda-netfilter
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2015-08-04 03:54:00 +00:00
collecting metrics about the Netfilter packet filtering framework.
#end pcp-pmda-netfilter
#
# pcp-pmda-news
#
%package pmda-news
License: GPLv2+
Summary: Performance Co-Pilot (PCP) metrics for Usenet News
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
Requires: perl-PCP-PMDA = %{version}-%{release}
%description pmda-news
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2015-08-04 03:54:00 +00:00
collecting metrics about Usenet News.
#end pcp-pmda-news
#
# pcp-pmda-nginx
#
%package pmda-nginx
License: GPLv2+
Summary: Performance Co-Pilot (PCP) metrics for the Nginx Webserver
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
Requires: perl-PCP-PMDA = %{version}-%{release}
2015-09-17 03:11:25 +00:00
Requires: perl(LWP::UserAgent)
BuildRequires: perl(LWP::UserAgent)
%description pmda-nginx
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2015-08-04 03:54:00 +00:00
collecting metrics about the Nginx Webserver.
#end pcp-pmda-nginx
#
# pcp-pmda-oracle
#
%package pmda-oracle
License: GPLv2+
Summary: Performance Co-Pilot (PCP) metrics for the Oracle database
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
Requires: perl-PCP-PMDA = %{version}-%{release}
Requires: perl(DBI)
BuildRequires: perl(DBI)
%description pmda-oracle
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
collecting metrics about the Oracle database.
#end pcp-pmda-oracle
#
# pcp-pmda-pdns
#
%package pmda-pdns
License: GPLv2+
Summary: Performance Co-Pilot (PCP) metrics for PowerDNS
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
Requires: perl-PCP-PMDA = %{version}-%{release}
%description pmda-pdns
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2015-08-04 03:54:00 +00:00
collecting metrics about the PowerDNS.
#end pcp-pmda-pdns
#
# pcp-pmda-postfix
#
%package pmda-postfix
License: GPLv2+
Summary: Performance Co-Pilot (PCP) metrics for the Postfix (MTA)
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
Requires: perl-PCP-PMDA = %{version}-%{release}
%if 0%{?fedora} > 16 || 0%{?rhel} > 5
Requires: postfix-perl-scripts
BuildRequires: postfix-perl-scripts
%endif
%if 0%{?rhel} <= 5
Requires: postfix
BuildRequires: postfix
%endif
%if "%{_vendor}" == "suse"
Requires: postfix-doc
BuildRequires: postfix-doc
%endif
%description pmda-postfix
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2015-08-04 03:54:00 +00:00
collecting metrics about the Postfix (MTA).
#end pcp-pmda-postfix
#
# pcp-pmda-rsyslog
#
%package pmda-rsyslog
License: GPLv2+
Summary: Performance Co-Pilot (PCP) metrics for Rsyslog
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
Requires: perl-PCP-PMDA = %{version}-%{release}
%description pmda-rsyslog
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2015-08-04 03:54:00 +00:00
collecting metrics about Rsyslog.
#end pcp-pmda-rsyslog
#
# pcp-pmda-samba
#
%package pmda-samba
License: GPLv2+
Summary: Performance Co-Pilot (PCP) metrics for Samba
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
Requires: perl-PCP-PMDA = %{version}-%{release}
%description pmda-samba
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2015-08-04 03:54:00 +00:00
collecting metrics about Samba.
#end pcp-pmda-samba
#
# pcp-pmda-slurm
#
%package pmda-slurm
License: GPLv2+
2018-09-21 03:33:47 +00:00
Summary: Performance Co-Pilot (PCP) metrics for the SLURM Workload Manager
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
Requires: perl-PCP-PMDA = %{version}-%{release}
%description pmda-slurm
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
collecting metrics from the SLURM Workload Manager.
#end pcp-pmda-slurm
%if !%{disable_snmp}
#
# pcp-pmda-snmp
#
%package pmda-snmp
License: GPLv2+
Summary: Performance Co-Pilot (PCP) metrics for Simple Network Management Protocol
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
Requires: perl-PCP-PMDA = %{version}-%{release}
# There are no perl-Net-SNMP packages in rhel, disable unless non-rhel or epel5
%if 0%{?rhel} == 0 || 0%{?rhel} < 6
Requires: perl(Net::SNMP)
%endif
%description pmda-snmp
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2015-08-04 03:54:00 +00:00
collecting metrics about SNMP.
#end pcp-pmda-snmp
%endif
#
# pcp-pmda-vmware
#
%package pmda-vmware
License: GPLv2+
Summary: Performance Co-Pilot (PCP) metrics for VMware
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
Requires: perl-PCP-PMDA = %{version}-%{release}
%description pmda-vmware
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2015-08-04 03:54:00 +00:00
collecting metrics for VMware.
#end pcp-pmda-vmware
#
# pcp-pmda-zimbra
#
%package pmda-zimbra
License: GPLv2+
Summary: Performance Co-Pilot (PCP) metrics for Zimbra
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
Requires: perl-PCP-PMDA = %{version}-%{release}
%description pmda-zimbra
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2015-08-04 03:54:00 +00:00
collecting metrics about Zimbra.
#end pcp-pmda-zimbra
#
# pcp-pmda-dm
#
%package pmda-dm
License: GPLv2+
Summary: Performance Co-Pilot (PCP) metrics for the Device Mapper Cache and Thin Client
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
Requires: pcp-libs = %{version}-%{release}
2018-11-16 07:45:57 +00:00
BuildRequires: device-mapper-devel
%description pmda-dm
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2015-08-04 03:54:00 +00:00
collecting metrics about the Device Mapper Cache and Thin Client.
# end pcp-pmda-dm
2018-03-29 01:40:40 +00:00
2018-02-16 03:29:50 +00:00
%if !%{disable_bcc}
#
# pcp-pmda-bcc
#
%package pmda-bcc
2018-06-15 02:11:17 +00:00
License: ASL 2.0 and GPLv2+
2018-02-16 03:29:50 +00:00
Summary: Performance Co-Pilot (PCP) metrics from eBPF/BCC modules
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
2018-02-16 03:29:50 +00:00
Requires: python3-bcc
Requires: python3-pcp
%description pmda-bcc
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
extracting performance metrics from eBPF/BCC Python modules.
# end pcp-pmda-bcc
%endif
%if !%{disable_python2} || !%{disable_python3}
#
# pcp-pmda-gluster
#
%package pmda-gluster
License: GPLv2+
Summary: Performance Co-Pilot (PCP) metrics for the Gluster filesystem
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
%if !%{disable_python3}
Requires: python3-pcp
%else
Requires: %{__python2}-pcp
%endif
%description pmda-gluster
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2015-08-04 03:54:00 +00:00
collecting metrics about the gluster filesystem.
# end pcp-pmda-gluster
2018-03-29 01:40:40 +00:00
2018-11-16 07:45:57 +00:00
#
# pcp-pmda-nfsclient
#
%package pmda-nfsclient
License: GPLv2+
Summary: Performance Co-Pilot (PCP) metrics for NFS Clients
URL: https://pcp.io
%if !%{disable_python3}
Requires: python3-pcp
%else
Requires: %{__python2}-pcp
%endif
%description pmda-nfsclient
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
collecting metrics for NFS Clients.
#end pcp-pmda-nfsclient
#
# pcp-pmda-postgresql
#
%package pmda-postgresql
License: GPLv2+
Summary: Performance Co-Pilot (PCP) metrics for PostgreSQL
URL: https://pcp.io
%if !%{disable_python3}
Requires: python3-pcp
Requires: python3-psycopg2
BuildRequires: python3-psycopg2
%else
Requires: %{__python2}-pcp
Requires: %{__python2}-psycopg2
BuildRequires: %{__python2}-psycopg2
%endif
%description pmda-postgresql
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
collecting metrics about the PostgreSQL database.
#end pcp-pmda-postgresql
#
# pcp-pmda-zswap
#
%package pmda-zswap
License: GPLv2+
Summary: Performance Co-Pilot (PCP) metrics for compressed swap
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
%if !%{disable_python3}
Requires: python3-pcp
%else
Requires: %{__python2}-pcp
%endif
%description pmda-zswap
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2015-08-04 03:54:00 +00:00
collecting metrics about compressed swap.
# end pcp-pmda-zswap
#
# pcp-pmda-unbound
#
%package pmda-unbound
License: GPLv2+
Summary: Performance Co-Pilot (PCP) metrics for the Unbound DNS Resolver
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
%if !%{disable_python3}
Requires: python3-pcp
%else
Requires: %{__python2}-pcp
%endif
%description pmda-unbound
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2015-08-04 03:54:00 +00:00
collecting metrics about the Unbound DNS Resolver.
# end pcp-pmda-unbound
2015-09-17 03:11:25 +00:00
#
# pcp-pmda-mic
#
%package pmda-mic
License: GPLv2+
Summary: Performance Co-Pilot (PCP) metrics for Intel MIC cards
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
2015-09-17 03:11:25 +00:00
%if !%{disable_python3}
Requires: python3-pcp
%else
Requires: %{__python2}-pcp
2015-09-17 03:11:25 +00:00
%endif
%description pmda-mic
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
collecting metrics about Intel MIC cards.
# end pcp-pmda-mic
2017-08-16 06:17:29 +00:00
#
# pcp-pmda-haproxy
#
%package pmda-haproxy
License: GPLv2+
Summary: Performance Co-Pilot (PCP) metrics for HAProxy
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
2017-08-16 06:17:29 +00:00
%if !%{disable_python3}
Requires: python3-pcp
%else
Requires: %{__python2}-pcp
2017-08-16 06:17:29 +00:00
%endif
%description pmda-haproxy
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
extracting performance metrics from HAProxy over the HAProxy stats socket.
# end pcp-pmda-haproxy
2016-09-27 11:46:41 +00:00
#
# pcp-pmda-libvirt
#
%package pmda-libvirt
License: GPLv2+
Summary: Performance Co-Pilot (PCP) metrics for virtual machines
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
2016-09-27 11:46:41 +00:00
%if !%{disable_python3}
Requires: python3-pcp
Requires: libvirt-python3 python3-lxml
2017-06-30 01:26:52 +00:00
BuildRequires: libvirt-python3 python3-lxml
2016-09-27 11:46:41 +00:00
%else
2018-05-11 02:30:01 +00:00
%if 0%{?rhel} == 0 || 0%{?fedora} >= 27
Requires: %{__python2}-pcp
Requires: %{__python2}-libvirt %{__python2}-lxml
BuildRequires: %{__python2}-libvirt %{__python2}-lxml
2016-09-27 11:46:41 +00:00
%endif
2018-03-29 01:40:40 +00:00
%if 0%{?rhel} > 5
2018-05-11 02:30:01 +00:00
Requires: %{__python2}-pcp
Requires: libvirt-%{__python2} %{__python2}-lxml
BuildRequires: libvirt-%{__python2} %{__python2}-lxml
2018-03-29 01:40:40 +00:00
%endif
2016-11-16 01:38:18 +00:00
%endif
2016-09-27 11:46:41 +00:00
%description pmda-libvirt
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
extracting virtualisation statistics from libvirt about behaviour of guest
and hypervisor machines.
# end pcp-pmda-libvirt
2018-11-16 07:45:57 +00:00
#
# pcp-pmda-elasticsearch
#
%package pmda-elasticsearch
License: GPLv2+
Summary: Performance Co-Pilot (PCP) metrics for Elasticsearch
URL: https://pcp.io
%if !%{disable_python3}
Requires: python3-pcp
%else
Requires: %{__python2}-pcp
%endif
%description pmda-elasticsearch
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
collecting metrics about Elasticsearch.
#end pcp-pmda-elasticsearch
2017-02-17 17:34:51 +00:00
#
# pcp-pmda-lio
#
%package pmda-lio
License: GPLv2+
Summary: Performance Co-Pilot (PCP) metrics for the LIO subsystem
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
2017-02-17 17:34:51 +00:00
%if !%{disable_python3}
Requires: python3-pcp
Requires: python3-rtslib
2017-06-30 01:26:52 +00:00
BuildRequires: python3-rtslib
2017-02-17 17:34:51 +00:00
%else
Requires: %{__python2}-pcp
Requires: %{__python2}-rtslib
BuildRequires: %{__python2}-rtslib
2017-02-17 17:34:51 +00:00
%endif
%description pmda-lio
This package provides a PMDA to gather performance metrics from the kernels
iSCSI target interface (LIO). The metrics are stored by LIO within the Linux
kernels configfs filesystem. The PMDA provides per LUN level stats, and a
summary instance per iSCSI target, which aggregates all LUN metrics within the
target.
#end pcp-pmda-lio
2017-06-30 01:26:52 +00:00
#
# pcp-pmda-prometheus
#
%package pmda-prometheus
License: GPLv2+
Summary: Performance Co-Pilot (PCP) metrics from Prometheus endpoints
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
2017-06-30 01:26:52 +00:00
Requires: pcp-libs = %{version}-%{release}
%if !%{disable_python3}
Requires: python3-pcp
Requires: python3-requests
BuildRequires: python3-requests
%else
Requires: %{__python2}-pcp
Requires: %{__python2}-requests
BuildRequires: %{__python2}-requests
2017-06-30 01:26:52 +00:00
%endif
%description pmda-prometheus
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
extracting statistics from programs instrumented as Prometheus endpoints.
#end pcp-pmda-prometheus
2018-11-16 07:45:57 +00:00
#
# pcp-pmda-lmsensors
#
%package pmda-lmsensors
License: GPLv2+
Summary: Performance Co-Pilot (PCP) metrics for hardware sensors
URL: https://pcp.io
Requires: pcp-libs = %{version}-%{release}
%if !%{disable_python3}
Requires: python3-pcp
%else
Requires: %{__python2}-pcp
%endif
# rewritten in python, so there is no longer a debuginfo package
Obsoletes: pcp-pmda-lmsensors-debuginfo
%description pmda-lmsensors
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
collecting metrics about the Linux hardware monitoring sensors.
# end pcp-pmda-lmsensors
2015-08-04 03:54:00 +00:00
%endif # !%{disable_python2} || !%{disable_python3}
%if !%{disable_json}
2015-06-15 12:03:21 +00:00
#
# pcp-pmda-json
#
%package pmda-json
License: GPLv2+
Summary: Performance Co-Pilot (PCP) metrics for JSON data
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
2015-06-15 12:03:21 +00:00
%if !%{disable_python3}
Requires: python3-pcp
Requires: python3-jsonpointer python3-six
BuildRequires: python3-jsonpointer python3-six
2015-06-15 12:03:21 +00:00
%else
Requires: %{__python2}-pcp
Requires: %{__python2}-jsonpointer %{__python2}-six
BuildRequires: %{__python2}-jsonpointer %{__python2}-six
2015-06-15 12:03:21 +00:00
%endif
%description pmda-json
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2015-08-04 03:54:00 +00:00
collecting metrics output in JSON.
2015-06-15 12:03:21 +00:00
# end pcp-pmda-json
2015-08-04 03:54:00 +00:00
%endif # !%{disable_json}
#
# C pmdas
# pcp-pmda-apache
#
%package pmda-apache
2013-09-15 07:52:20 +00:00
License: GPLv2+
Summary: Performance Co-Pilot (PCP) metrics for the Apache webserver
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
2012-09-14 11:53:58 +00:00
Requires: pcp-libs = %{version}-%{release}
%description pmda-apache
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2015-08-04 03:54:00 +00:00
collecting metrics about the Apache webserver.
# end pcp-pmda-apache
#
# pcp-pmda-bash
#
%package pmda-bash
2013-09-15 07:52:20 +00:00
License: GPLv2+
Summary: Performance Co-Pilot (PCP) metrics for the Bash shell
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
2013-10-17 22:54:39 +00:00
Requires: pcp-libs = %{version}-%{release}
%description pmda-bash
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2015-08-04 03:54:00 +00:00
collecting metrics about the Bash shell.
# end pcp-pmda-bash
2011-02-02 02:51:56 +00:00
#
# pcp-pmda-cifs
2011-02-02 02:51:56 +00:00
#
%package pmda-cifs
2013-09-15 07:52:20 +00:00
License: GPLv2+
2017-02-17 17:34:51 +00:00
Summary: Performance Co-Pilot (PCP) metrics for the CIFS protocol
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
2013-10-17 22:54:39 +00:00
Requires: pcp-libs = %{version}-%{release}
%description pmda-cifs
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2015-08-04 03:54:00 +00:00
collecting metrics about the Common Internet Filesytem.
# end pcp-pmda-cifs
2011-02-02 02:51:56 +00:00
2014-09-05 04:40:42 +00:00
#
# pcp-pmda-cisco
2011-12-12 07:58:13 +00:00
#
%package pmda-cisco
2013-09-15 07:52:20 +00:00
License: GPLv2+
2017-02-17 17:34:51 +00:00
Summary: Performance Co-Pilot (PCP) metrics for Cisco routers
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
2013-10-17 22:54:39 +00:00
Requires: pcp-libs = %{version}-%{release}
%description pmda-cisco
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2015-08-04 03:54:00 +00:00
collecting metrics about Cisco routers.
# end pcp-pmda-cisco
2011-12-12 07:58:13 +00:00
2011-02-02 02:51:56 +00:00
#
# pcp-pmda-gfs2
2011-02-02 02:51:56 +00:00
#
%package pmda-gfs2
License: GPLv2+
2017-02-17 17:34:51 +00:00
Summary: Performance Co-Pilot (PCP) metrics for the GFS2 filesystem
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
2013-10-17 22:54:39 +00:00
Requires: pcp-libs = %{version}-%{release}
%description pmda-gfs2
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2015-08-04 03:54:00 +00:00
collecting metrics about the Global Filesystem v2.
# end pcp-pmda-gfs2
2011-02-02 02:51:56 +00:00
2015-06-15 12:03:21 +00:00
#
# pcp-pmda-logger
#
%package pmda-logger
License: GPLv2+
Summary: Performance Co-Pilot (PCP) metrics from arbitrary log files
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
2015-06-15 12:03:21 +00:00
Requires: pcp-libs = %{version}-%{release}
%description pmda-logger
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
collecting metrics from a specified set of log files (or pipes). The PMDA
2015-08-04 03:54:00 +00:00
supports both sampled and event-style metrics.
2015-06-15 12:03:21 +00:00
# end pcp-pmda-logger
2011-02-02 02:51:56 +00:00
#
# pcp-pmda-mailq
2011-02-02 02:51:56 +00:00
#
%package pmda-mailq
License: GPLv2+
2017-02-17 17:34:51 +00:00
Summary: Performance Co-Pilot (PCP) metrics for the sendmail queue
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
2013-10-17 22:54:39 +00:00
Requires: pcp-libs = %{version}-%{release}
%description pmda-mailq
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2015-08-04 03:54:00 +00:00
collecting metrics about email queues managed by sendmail.
# end pcp-pmda-mailq
2011-02-02 02:51:56 +00:00
#
# pcp-pmda-mounts
#
%package pmda-mounts
License: GPLv2+
2017-02-17 17:34:51 +00:00
Summary: Performance Co-Pilot (PCP) metrics for filesystem mounts
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
Requires: pcp-libs = %{version}-%{release}
%description pmda-mounts
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2015-08-04 03:54:00 +00:00
collecting metrics about filesystem mounts.
# end pcp-pmda-mounts
2011-02-02 02:51:56 +00:00
2015-03-02 20:39:32 +00:00
#
# pcp-pmda-nvidia-gpu
2015-03-02 20:39:32 +00:00
#
%package pmda-nvidia-gpu
License: GPLv2+
2017-02-17 17:34:51 +00:00
Summary: Performance Co-Pilot (PCP) metrics for the Nvidia GPU
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
2015-03-02 20:39:32 +00:00
Requires: pcp-libs = %{version}-%{release}
%description pmda-nvidia-gpu
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2017-02-17 17:34:51 +00:00
collecting metrics about Nvidia GPUs.
# end pcp-pmda-nvidia-gpu
2015-03-02 20:39:32 +00:00
#
# pcp-pmda-roomtemp
#
%package pmda-roomtemp
License: GPLv2+
2017-02-17 17:34:51 +00:00
Summary: Performance Co-Pilot (PCP) metrics for the room temperature
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
Requires: pcp = %{version}-%{release}
2015-08-04 03:54:00 +00:00
Requires: pcp-libs = %{version}-%{release}
%description pmda-roomtemp
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2017-02-17 17:34:51 +00:00
collecting metrics about the room temperature.
# end pcp-pmda-roomtemp
2015-03-02 20:39:32 +00:00
2015-08-04 03:54:00 +00:00
%if !%{disable_rpm}
2013-06-19 03:43:45 +00:00
#
# pcp-pmda-rpm
2013-06-19 03:43:45 +00:00
#
%package pmda-rpm
License: GPLv2+
2017-02-17 17:34:51 +00:00
Summary: Performance Co-Pilot (PCP) metrics for the RPM package manager
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
Requires: pcp = %{version}-%{release}
2015-08-04 03:54:00 +00:00
Requires: pcp-libs = %{version}-%{release}
%description pmda-rpm
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2017-02-17 17:34:51 +00:00
collecting metrics about the installed RPM packages.
2015-08-04 03:54:00 +00:00
%endif
2017-02-17 17:34:51 +00:00
# end pcp-pmda-rpm
2013-06-19 03:43:45 +00:00
2014-09-05 04:40:42 +00:00
#
# pcp-pmda-sendmail
2014-09-05 04:40:42 +00:00
#
%package pmda-sendmail
2014-09-05 04:40:42 +00:00
License: GPLv2+
2017-02-17 17:34:51 +00:00
Summary: Performance Co-Pilot (PCP) metrics for Sendmail
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
Requires: pcp = %{version}-%{release}
2015-08-04 03:54:00 +00:00
Requires: pcp-libs = %{version}-%{release}
%description pmda-sendmail
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2017-02-17 17:34:51 +00:00
collecting metrics about Sendmail traffic.
# end pcp-pmda-sendmail
2014-09-05 04:40:42 +00:00
#
# pcp-pmda-shping
#
%package pmda-shping
License: GPLv2+
2017-02-17 17:34:51 +00:00
Summary: Performance Co-Pilot (PCP) metrics for shell command responses
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
Requires: pcp-libs = %{version}-%{release}
%description pmda-shping
2014-09-05 04:40:42 +00:00
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
collecting metrics about quality of service and response time measurements of
2015-08-04 03:54:00 +00:00
arbitrary shell commands.
# end pcp-pmda-shping
2014-09-05 04:40:42 +00:00
2018-05-11 02:30:01 +00:00
#
# pcp-pmda-smart
#
%package pmda-smart
License: GPLv2+
Summary: Performance Co-Pilot (PCP) metrics for S.M.A.R.T values
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
2018-05-11 04:13:08 +00:00
Requires: pcp-libs = %{version}-%{release}
2018-05-11 02:30:01 +00:00
%description pmda-smart
This package contains the PCP Performance Metric Domain Agent (PMDA) for
collecting metrics of disk S.M.A.R.T values making use of data from the
smartmontools package.
#end pcp-pmda-smart
2014-12-01 04:18:53 +00:00
#
# pcp-pmda-summary
2014-12-01 04:18:53 +00:00
#
%package pmda-summary
2014-12-01 04:18:53 +00:00
License: GPLv2+
2017-02-17 17:34:51 +00:00
Summary: Performance Co-Pilot (PCP) summary metrics from pmie
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
Requires: pcp = %{version}-%{release}
2015-08-04 03:54:00 +00:00
Requires: pcp-libs = %{version}-%{release}
%description pmda-summary
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2015-08-04 03:54:00 +00:00
collecting metrics about other installed pmdas.
# end pcp-pmda-summary
2014-12-01 04:18:53 +00:00
2015-08-04 03:54:00 +00:00
%if !%{disable_systemd}
#
# pcp-pmda-systemd
#
%package pmda-systemd
License: GPLv2+
2017-02-17 17:34:51 +00:00
Summary: Performance Co-Pilot (PCP) metrics from the Systemd journal
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
Requires: pcp-libs = %{version}-%{release}
%description pmda-systemd
2014-12-01 04:18:53 +00:00
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2017-02-17 17:34:51 +00:00
collecting metrics from the Systemd journal.
# end pcp-pmda-systemd
2015-08-04 03:54:00 +00:00
%endif
2014-12-01 04:18:53 +00:00
2013-09-09 11:52:51 +00:00
#
# pcp-pmda-trace
2013-09-09 11:52:51 +00:00
#
%package pmda-trace
2013-09-15 07:52:20 +00:00
License: GPLv2+
2017-02-17 17:34:51 +00:00
Summary: Performance Co-Pilot (PCP) metrics for application tracing
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
Requires: pcp-libs = %{version}-%{release}
%description pmda-trace
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2017-02-17 17:34:51 +00:00
collecting metrics about trace performance data in applications.
# end pcp-pmda-trace
2013-09-09 11:52:51 +00:00
#
# pcp-pmda-weblog
#
%package pmda-weblog
License: GPLv2+
2017-02-17 17:34:51 +00:00
Summary: Performance Co-Pilot (PCP) metrics from web server logs
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
Requires: pcp = %{version}-%{release}
2015-08-04 03:54:00 +00:00
Requires: pcp-libs = %{version}-%{release}
%description pmda-weblog
2013-09-09 11:52:51 +00:00
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2015-08-04 03:54:00 +00:00
collecting metrics about web server logs.
# end pcp-pmda-weblog
# end C pmdas
2017-05-17 19:55:06 +00:00
%package zeroconf
License: GPLv2+
Summary: Performance Co-Pilot (PCP) Zeroconf Package
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
2018-03-29 01:40:40 +00:00
Requires: pcp pcp-doc pcp-system-tools
2017-05-17 19:55:06 +00:00
Requires: pcp-pmda-dm pcp-pmda-nfsclient
2018-03-29 01:40:40 +00:00
# to make pcp-zeroconf replace sysstat, uncomment the next line
# Obsoletes: sysstat
2017-05-17 19:55:06 +00:00
%description zeroconf
This package contains configuration tweaks and files to increase metrics
gathering frequency, several extended pmlogger configurations, as well as
automated pmie diagnosis, alerting and self-healing for the localhost.
2018-03-29 01:40:40 +00:00
A cron script also writes daily performance summary reports similar to
those written by sysstat.
2017-05-17 19:55:06 +00:00
%if !%{disable_python2}
2012-08-28 10:54:33 +00:00
#
2018-02-16 03:29:50 +00:00
# python2-pcp. This is the PCP library bindings for python.
2012-08-28 10:54:33 +00:00
#
%package -n %{__python2}-pcp
2013-09-15 07:52:20 +00:00
License: GPLv2+
2012-08-28 10:54:33 +00:00
Summary: Performance Co-Pilot (PCP) Python bindings and documentation
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
Requires: pcp = %{version}-%{release} pcp-libs = %{version}-%{release}
2018-02-16 03:29:50 +00:00
%if 0%{?fedora} >= 26 || 0%{?rhel} > 7
# on these platforms, python2-pcp replaces python-pcp
Obsoletes: python-pcp
%endif
%if 0%{?rhel} == 5
Requires: python%{default_python}
%else
2018-03-29 01:40:40 +00:00
Requires: %{__python2}
%endif
2012-08-28 10:54:33 +00:00
%description -n %{__python2}-pcp
2014-10-31 05:34:18 +00:00
This python PCP module contains the language bindings for
Performance Metric API (PMAPI) monitor tools and Performance
Metric Domain Agent (PMDA) collector tools written in Python.
%endif
2014-10-31 05:34:18 +00:00
%if !%{disable_python3}
#
# python3-pcp. This is the PCP library bindings for python3.
#
%package -n python3-pcp
License: GPLv2+
Summary: Performance Co-Pilot (PCP) Python3 bindings and documentation
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
Requires: pcp = %{version}-%{release} pcp-libs = %{version}-%{release}
Requires: python3
2014-10-31 05:34:18 +00:00
%description -n python3-pcp
This python PCP module contains the language bindings for
Performance Metric API (PMAPI) monitor tools and Performance
Metric Domain Agent (PMDA) collector tools written in Python3.
%endif
2012-08-28 10:54:33 +00:00
%if !%{disable_python2} || !%{disable_python3}
#
# pcp-system-tools
#
2017-02-17 17:34:51 +00:00
%package system-tools
License: GPLv2+
Summary: Performance Co-Pilot (PCP) System and Monitoring Tools
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
%if !%{disable_python3}
Requires: python3-pcp = %{version}-%{release}
2018-06-15 02:11:17 +00:00
%else
Requires: %{__python2}-pcp = %{version}-%{release}
%endif
2015-08-04 03:54:00 +00:00
Requires: pcp-libs = %{version}-%{release}
2018-08-03 21:05:44 +00:00
%if !%{disable_dstat}
2018-11-16 07:45:57 +00:00
# https://fedoraproject.org/wiki/Packaging:Guidelines "Renaming/Replacing Existing Packages"
Provides: dstat = %{version}-%{release}
2018-08-03 21:05:44 +00:00
Provides: /usr/bin/dstat
2018-11-16 07:45:57 +00:00
Obsoletes: dstat <= 0.7.3-5
2018-08-03 21:05:44 +00:00
%endif
2017-02-17 17:34:51 +00:00
%description system-tools
This PCP module contains additional system monitoring tools written
2018-06-15 02:11:17 +00:00
in the Python language.
%endif #end pcp-system-tools
2018-03-29 01:40:40 +00:00
%if !%{disable_qt}
2014-05-15 04:44:12 +00:00
#
# pcp-gui package for Qt tools
#
2017-02-17 17:34:51 +00:00
%package gui
2014-05-15 04:44:12 +00:00
License: GPLv2+ and LGPLv2+ and LGPLv2+ with exceptions
Summary: Visualization tools for the Performance Co-Pilot toolkit
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
Requires: pcp = %{version}-%{release} pcp-libs = %{version}-%{release}
2018-03-29 01:40:40 +00:00
Requires: liberation-sans-fonts
2017-10-18 21:20:57 +00:00
BuildRequires: hicolor-icon-theme
2014-05-15 04:44:12 +00:00
2017-02-17 17:34:51 +00:00
%description gui
2014-05-15 04:44:12 +00:00
Visualization tools for the Performance Co-Pilot toolkit.
The pcp-gui package primarily includes visualization tools for
monitoring systems using live and archived Performance Co-Pilot
(PCP) sources.
%endif
2014-05-15 04:44:12 +00:00
#
# pcp-doc package
#
2017-02-17 17:34:51 +00:00
%package doc
2014-10-31 05:34:18 +00:00
License: GPLv2+ and CC-BY
2015-08-04 03:54:00 +00:00
%if !%{disable_noarch}
2014-05-15 04:44:12 +00:00
BuildArch: noarch
2014-07-16 03:53:30 +00:00
%endif
2014-05-15 04:44:12 +00:00
Summary: Documentation and tutorial for the Performance Co-Pilot
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
2015-08-04 03:54:00 +00:00
# http://fedoraproject.org/wiki/Packaging:Conflicts "Splitting Packages"
# (all man pages migrated to pcp-doc during great package split of '15)
Conflicts: pcp-pmda-pmda < 3.10.5
Conflicts: pcp-pmda-infiniband < 3.10.5
2014-05-15 04:44:12 +00:00
2017-02-17 17:34:51 +00:00
%description doc
2014-05-15 04:44:12 +00:00
Documentation and tutorial for the Performance Co-Pilot
Performance Co-Pilot (PCP) provides a framework and services to support
system-level performance monitoring and performance management.
The pcp-doc package provides useful information on using and
configuring the Performance Co-Pilot (PCP) toolkit for system
level performance management. It includes tutorials, HOWTOs,
and other detailed documentation about the internals of core
PCP utilities and daemons, and the PCP graphical tools.
2017-02-17 17:34:51 +00:00
#
# pcp-selinux package
#
%if !%{disable_selinux}
%package selinux
License: GPLv2+ and CC-BY
Summary: Selinux policy package
2018-06-15 02:11:17 +00:00
URL: https://pcp.io
2017-02-17 17:34:51 +00:00
BuildRequires: selinux-policy-devel
2017-06-30 01:26:52 +00:00
BuildRequires: selinux-policy-targeted
2017-04-02 04:14:31 +00:00
%if 0%{?rhel} == 5
BuildRequires: setools
%else
2017-02-17 17:34:51 +00:00
BuildRequires: setools-console
2017-04-02 04:14:31 +00:00
%endif
2017-02-17 17:34:51 +00:00
Requires: policycoreutils
%description selinux
This package contains SELinux support for PCP. The package contains
interface rules, type enforcement and file context adjustments for an
updated policy package.
%endif
%prep
2017-04-02 04:14:31 +00:00
%setup -q -T -D -a 1 -c -n vector
%setup -q -T -D -a 2 -c -n grafana
%setup -q -T -D -a 3 -c -n graphite
%setup -q -T -D -a 4 -c -n blinkenlights
%setup -q
%patch0 -p1
%build
%if !%{disable_python2} && 0%{?default_python} != 3
export PYTHON=python%{?default_python}
%endif
2018-11-16 07:45:57 +00:00
%configure %{?_with_initd} %{?_with_doc} %{?_with_dstat} %{?_with_ib} %{?_with_papi} %{?_with_podman} %{?_with_perfevent} %{?_with_bcc} %{?_with_json} %{?_with_snmp} %{?_with_nutcracker} %{?_with_webapps} %{?_with_python2}
make %{?_smp_mflags} default_pcp
%install
2011-12-12 07:58:13 +00:00
rm -Rf $RPM_BUILD_ROOT
2013-09-09 11:52:51 +00:00
export NO_CHOWN=true DIST_ROOT=$RPM_BUILD_ROOT
make install_pcp
2014-10-31 05:34:18 +00:00
PCP_GUI='pmchart|pmconfirm|pmdumptext|pmmessage|pmquery|pmsnap|pmtime'
# Fix stuff we do/don't want to ship
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.a
# remove sheet2pcp until BZ 830923 and BZ 754678 are resolved.
rm -f $RPM_BUILD_ROOT/%{_bindir}/sheet2pcp $RPM_BUILD_ROOT/%{_mandir}/man1/sheet2pcp.1*
# remove {config,platform}sz.h as these are not multilib friendly.
2014-02-20 02:36:48 +00:00
rm -f $RPM_BUILD_ROOT/%{_includedir}/pcp/configsz.h
rm -f $RPM_BUILD_ROOT/%{_includedir}/pcp/platformsz.h
2014-02-20 02:36:48 +00:00
2014-05-15 05:28:30 +00:00
%if %{disable_microhttpd}
rm -fr $RPM_BUILD_ROOT/%{_confdir}/pmwebd
rm -fr $RPM_BUILD_ROOT/%{_initddir}/pmwebd
rm -fr $RPM_BUILD_ROOT/%{_unitdir}/pmwebd.service
2014-05-15 05:28:30 +00:00
rm -f $RPM_BUILD_ROOT/%{_libexecdir}/pcp/bin/pmwebd
2015-04-16 01:57:22 +00:00
%endif
2018-02-16 03:29:50 +00:00
%if !%{disable_webapps}
2017-04-02 04:14:31 +00:00
for app in vector grafana graphite blinkenlights; do
pwd
webapp=`find ../$app -mindepth 1 -maxdepth 1`
mv $webapp $RPM_BUILD_ROOT/%{_datadir}/pcp/webapps/$app
done
2018-02-16 03:29:50 +00:00
%endif
2014-05-15 05:28:30 +00:00
2013-10-17 22:54:39 +00:00
%if %{disable_infiniband}
# remove pmdainfiniband on platforms lacking IB devel packages.
2014-05-15 04:44:12 +00:00
rm -f $RPM_BUILD_ROOT/%{_pmdasdir}/ib
rm -fr $RPM_BUILD_ROOT/%{_pmdasdir}/infiniband
%endif
2017-02-17 17:34:51 +00:00
%if %{disable_selinux}
rm -fr $RPM_BUILD_ROOT/%{_selinuxdir}
%endif
%if %{disable_qt}
rm -fr $RPM_BUILD_ROOT/%{_pixmapdir}
2017-10-18 21:20:57 +00:00
rm -fr $RPM_BUILD_ROOT/%{_hicolordir}
2014-10-31 05:34:18 +00:00
rm -fr $RPM_BUILD_ROOT/%{_confdir}/pmsnap
rm -fr $RPM_BUILD_ROOT/%{_localstatedir}/lib/pcp/config/pmsnap
rm -fr $RPM_BUILD_ROOT/%{_localstatedir}/lib/pcp/config/pmchart
rm -f $RPM_BUILD_ROOT/%{_localstatedir}/lib/pcp/config/pmafm/pcp-gui
rm -f $RPM_BUILD_ROOT/%{_datadir}/applications/pmchart.desktop
rm -f `find $RPM_BUILD_ROOT/%{_mandir}/man1 | grep -E "$PCP_GUI"`
%else
2014-05-15 04:44:12 +00:00
rm -rf $RPM_BUILD_ROOT/usr/share/doc/pcp-gui
desktop-file-validate $RPM_BUILD_ROOT/%{_datadir}/applications/pmchart.desktop
%endif
2014-05-15 04:44:12 +00:00
# default chkconfig off for Fedora and RHEL
2014-01-15 00:01:11 +00:00
for f in $RPM_BUILD_ROOT/%{_initddir}/{pcp,pmcd,pmlogger,pmie,pmwebd,pmmgr,pmproxy}; do
2014-05-15 05:28:30 +00:00
test -f "$f" || continue
sed -i -e '/^# chkconfig/s/:.*$/: - 95 05/' -e '/^# Default-Start:/s/:.*$/:/' $f
done
2017-08-16 06:17:29 +00:00
%if 0%{?fedora} > 26
2018-02-16 03:29:50 +00:00
if [ "$1" -eq 1 ]
then
2017-08-16 06:17:29 +00:00
PCP_SYSCONFIG_DIR=%{_sysconfdir}/sysconfig
sed -i 's/^\#\ PMLOGGER_LOCAL.*/PMLOGGER_LOCAL=1/g' "$RPM_BUILD_ROOT/$PCP_SYSCONFIG_DIR/pmlogger"
sed -i 's/^\#\ PMCD_LOCAL.*/PMCD_LOCAL=1/g' "$RPM_BUILD_ROOT/$PCP_SYSCONFIG_DIR/pmcd"
2018-02-16 03:29:50 +00:00
fi
2017-08-16 06:17:29 +00:00
%endif
# list of PMDAs in the base pkg
2013-10-17 22:54:39 +00:00
ls -1 $RPM_BUILD_ROOT/%{_pmdasdir} |\
2015-08-04 03:54:00 +00:00
grep -E -v '^simple|sample|trivial|txmon' |\
grep -E -v '^perfevent|perfalloc.1' |\
grep -E -v '^ib$|^infiniband' |\
grep -E -v '^activemq' |\
grep -E -v '^bonding' |\
2017-02-17 17:34:51 +00:00
grep -E -v '^bind2' |\
2015-08-04 03:54:00 +00:00
grep -E -v '^dbping' |\
2017-02-17 17:34:51 +00:00
grep -E -v '^docker' |\
2015-08-04 03:54:00 +00:00
grep -E -v '^ds389log'|\
grep -E -v '^ds389' |\
grep -E -v '^elasticsearch' |\
grep -E -v '^gpfs' |\
grep -E -v '^gpsd' |\
2017-02-17 17:34:51 +00:00
grep -E -v '^lio' |\
2015-08-04 03:54:00 +00:00
grep -E -v '^lustre' |\
grep -E -v '^lustrecomm' |\
grep -E -v '^memcache' |\
grep -E -v '^mysql' |\
grep -E -v '^named' |\
grep -E -v '^netfilter' |\
grep -E -v '^news' |\
grep -E -v '^nfsclient' |\
grep -E -v '^nginx' |\
2017-02-17 17:34:51 +00:00
grep -E -v '^nutcracker' |\
grep -E -v '^oracle' |\
2017-02-17 17:34:51 +00:00
grep -E -v '^papi' |\
2015-08-04 03:54:00 +00:00
grep -E -v '^pdns' |\
2018-11-16 07:45:57 +00:00
grep -E -v '^podman' |\
2015-08-04 03:54:00 +00:00
grep -E -v '^postfix' |\
grep -E -v '^postgresql' |\
2017-02-17 17:34:51 +00:00
grep -E -v '^redis' |\
2015-08-04 03:54:00 +00:00
grep -E -v '^rsyslog' |\
grep -E -v '^samba' |\
grep -E -v '^slurm' |\
2015-08-04 03:54:00 +00:00
grep -E -v '^snmp' |\
grep -E -v '^vmware' |\
grep -E -v '^zimbra' |\
grep -E -v '^dm' |\
grep -E -v '^apache' |\
grep -E -v '^bash' |\
grep -E -v '^cifs' |\
grep -E -v '^cisco' |\
grep -E -v '^gfs2' |\
2016-09-27 11:46:41 +00:00
grep -E -v '^libvirt' |\
2015-08-04 03:54:00 +00:00
grep -E -v '^lmsensors' |\
grep -E -v '^logger' |\
grep -E -v '^mailq' |\
grep -E -v '^mounts' |\
grep -E -v '^nvidia' |\
grep -E -v '^roomtemp' |\
grep -E -v '^sendmail' |\
grep -E -v '^shping' |\
2018-05-11 02:30:01 +00:00
grep -E -v '^smart' |\
2015-08-04 03:54:00 +00:00
grep -E -v '^summary' |\
grep -E -v '^trace' |\
grep -E -v '^weblog' |\
grep -E -v '^rpm' |\
grep -E -v '^json' |\
2015-09-17 03:11:25 +00:00
grep -E -v '^mic' |\
2018-02-16 03:29:50 +00:00
grep -E -v '^bcc' |\
2015-08-04 03:54:00 +00:00
grep -E -v '^gluster' |\
grep -E -v '^zswap' |\
grep -E -v '^unbound' |\
2017-08-16 06:17:29 +00:00
grep -E -v '^haproxy' |\
2014-05-15 04:44:12 +00:00
sed -e 's#^#'%{_pmdasdir}'\/#' >base_pmdas.list
2018-06-15 02:11:17 +00:00
# all base pcp package files except those split out into sub-packages
2014-02-20 02:36:48 +00:00
ls -1 $RPM_BUILD_ROOT/%{_bindir} |\
2018-06-15 02:11:17 +00:00
grep -E -v 'pmiostat|pmcollectl|zabbix|zbxpcp|dstat' |\
2017-10-18 21:20:57 +00:00
grep -E -v 'pmrep|pcp2graphite|pcp2influxdb|pcp2zabbix' |\
grep -E -v 'pcp2elasticsearch|pcp2json|pcp2xlsx|pcp2xml' |\
2018-08-03 21:05:44 +00:00
grep -E -v 'pcp2spark' |\
grep -E -v 'pmdbg|pmclient|pmerr|genpmda' |\
sed -e 's#^#'%{_bindir}'\/#' >base_bin.list
2018-06-15 02:11:17 +00:00
2015-08-04 03:54:00 +00:00
# Separate the pcp-system-tools package files.
2018-06-15 02:11:17 +00:00
# pmcollectl and pmiostat are back-compat symlinks to their
# pcp(1) sub-command variants so are also in pcp-system-tools.
2015-06-15 12:03:21 +00:00
%if !%{disable_python2} || !%{disable_python3}
ls -1 $RPM_BUILD_ROOT/%{_bindir} |\
2018-06-15 02:11:17 +00:00
egrep -e 'pmiostat|pmcollectl|pmrep|dstat' |\
sed -e 's#^#'%{_bindir}'\/#' >pcp-system-tools.list
ls -1 $RPM_BUILD_ROOT/%{_libexecdir}/pcp/bin |\
2018-06-15 02:11:17 +00:00
egrep -e 'atop|collectl|dmcache|dstat|free|iostat|ipcs|lvmcache|mpstat' \
-e 'numastat|pidstat|shping|tapestat|uptime|verify' |\
sed -e 's#^#'%{_libexecdir}/pcp/bin'\/#' >>pcp-system-tools.list
%endif
# Separate the pcp-selinux package files.
%if !%{disable_selinux}
ls -1 $RPM_BUILD_ROOT/%{_selinuxdir} |\
sed -e 's#^#'%{_selinuxdir}'\/#' > pcp-selinux.list
ls -1 $RPM_BUILD_ROOT/%{_libexecdir}/pcp/bin |\
grep -E 'selinux-setup' |\
sed -e 's#^#'%{_libexecdir}/pcp/bin'\/#' >> pcp-selinux.list
%endif
2015-06-15 12:03:21 +00:00
2014-02-20 02:36:48 +00:00
ls -1 $RPM_BUILD_ROOT/%{_libexecdir}/pcp/bin |\
%if !%{disable_python2} || !%{disable_python3}
2018-06-15 02:11:17 +00:00
grep -E -v 'atop|collectl|dmcache|dstat|free|iostat|mpstat|numastat' |\
grep -E -v 'shping|tapestat|uptime|verify|selinux-setup' |\
%endif
2014-05-15 04:44:12 +00:00
sed -e 's#^#'%{_libexecdir}/pcp/bin'\/#' >base_exec.list
ls -1 $RPM_BUILD_ROOT/%{_booksdir} |\
sed -e 's#^#'%{_booksdir}'\/#' > pcp-doc.list
2015-06-15 12:03:21 +00:00
ls -1 $RPM_BUILD_ROOT/%{_mandir}/man1 |\
sed -e 's#^#'%{_mandir}'\/man1\/#' >>pcp-doc.list
ls -1 $RPM_BUILD_ROOT/%{_mandir}/man5 |\
sed -e 's#^#'%{_mandir}'\/man5\/#' >>pcp-doc.list
2014-05-15 04:44:12 +00:00
ls -1 $RPM_BUILD_ROOT/%{_datadir}/pcp/demos/tutorials |\
sed -e 's#^#'%{_datadir}/pcp/demos/tutorials'\/#' >>pcp-doc.list
2014-07-16 03:53:30 +00:00
%if !%{disable_qt}
2014-05-15 04:44:12 +00:00
ls -1 $RPM_BUILD_ROOT/%{_pixmapdir} |\
sed -e 's#^#'%{_pixmapdir}'\/#' > pcp-gui.list
2017-10-18 21:20:57 +00:00
ls -1 $RPM_BUILD_ROOT/%{_hicolordir} |\
sed -e 's#^#'%{_hicolordir}'\/#' >> pcp-gui.list
2017-02-17 17:34:51 +00:00
cat base_bin.list base_exec.list |\
grep -E "$PCP_GUI" >> pcp-gui.list
2014-07-16 03:53:30 +00:00
%endif
ls -1 $RPM_BUILD_ROOT/%{_logconfdir}/ |\
sed -e 's#^#'%{_logconfdir}'\/#' |\
grep -E -v 'zeroconf' >pcp-logconf.list
2017-06-30 01:26:52 +00:00
cat base_pmdas.list base_bin.list base_exec.list pcp-logconf.list |\
2015-06-15 12:03:21 +00:00
grep -E -v 'pmdaib|pmmgr|pmweb|pmsnap|2pcp|pmdas/systemd' |\
2017-10-18 21:20:57 +00:00
grep -E -v "$PCP_GUI|pixmaps|hicolor|pcp-doc|tutorials|selinux" |\
grep -E -v %{_confdir} | grep -E -v %{_logsdir} > base.list
2014-02-20 02:36:48 +00:00
# all devel pcp package files except those split out into sub packages
ls -1 $RPM_BUILD_ROOT/%{_mandir}/man3 |\
2015-06-15 12:03:21 +00:00
sed -e 's#^#'%{_mandir}'\/man3\/#' | grep -v '3pm' >>pcp-doc.list
ls -1 $RPM_BUILD_ROOT/%{_datadir}/pcp/demos |\
sed -e 's#^#'%{_datadir}'\/pcp\/demos\/#' | grep -E -v tutorials >> devel.list
ls -1 $RPM_BUILD_ROOT/%{_bindir} |\
grep -E 'pmdbg|pmclient|pmerr|genpmda' |\
sed -e 's#^#'%{_bindir}'\/#' >>devel.list
2011-02-02 02:51:56 +00:00
2012-08-28 10:54:33 +00:00
%pre testsuite
2013-12-12 05:05:57 +00:00
test -d %{_testsdir} || mkdir -p -m 755 %{_testsdir}
2012-08-28 10:54:33 +00:00
getent group pcpqa >/dev/null || groupadd -r pcpqa
getent passwd pcpqa >/dev/null || \
2014-02-20 02:36:48 +00:00
useradd -c "PCP Quality Assurance" -g pcpqa -d %{_testsdir} -M -r -s /bin/bash pcpqa 2>/dev/null
chown -R pcpqa:pcpqa %{_testsdir} 2>/dev/null
2012-08-28 10:54:33 +00:00
exit 0
2012-11-19 04:29:37 +00:00
%post testsuite
chown -R pcpqa:pcpqa %{_testsdir} 2>/dev/null
2018-11-16 07:45:57 +00:00
%if 0%{?rhel}
%if !%{disable_systemd}
systemctl restart pmcd >/dev/null 2>&1
systemctl restart pmlogger >/dev/null 2>&1
systemctl enable pmcd >/dev/null 2>&1
systemctl enable pmlogger >/dev/null 2>&1
%else
/sbin/chkconfig --add pmcd >/dev/null 2>&1
/sbin/chkconfig --add pmlogger >/dev/null 2>&1
/sbin/service pmcd condrestart
/sbin/service pmlogger condrestart
%endif
%endif
2012-11-19 04:29:37 +00:00
exit 0
%pre
getent group pcp >/dev/null || groupadd -r pcp
getent passwd pcp >/dev/null || \
useradd -c "Performance Co-Pilot" -g pcp -d %{_localstatedir}/lib/pcp -M -r -s /sbin/nologin pcp
2015-04-16 01:57:22 +00:00
PCP_CONFIG_DIR=%{_localstatedir}/lib/pcp/config
2013-03-20 03:40:51 +00:00
PCP_SYSCONF_DIR=%{_confdir}
PCP_LOG_DIR=%{_logsdir}
2013-10-17 22:54:39 +00:00
PCP_ETC_DIR=%{_sysconfdir}
# rename crontab files to align with current Fedora packaging guidelines
for crontab in pmlogger pmie
do
test -f "$PCP_ETC_DIR/cron.d/$crontab" || continue
mv -f "$PCP_ETC_DIR/cron.d/$crontab" "$PCP_ETC_DIR/cron.d/pcp-$crontab"
done
2013-03-11 02:00:00 +00:00
# produce a script to run post-install to move configs to their new homes
save_configs_script()
{
_new="$1"
shift
for _dir
do
[ "$_dir" = "$_new" ] && continue
if [ -d "$_dir" ]
then
2015-09-17 03:11:25 +00:00
( cd "$_dir" ; find . -maxdepth 1 -type f ) | sed -e 's/^\.\///' \
2013-03-11 02:00:00 +00:00
| while read _file
do
2015-04-16 01:57:22 +00:00
[ "$_file" = "control" ] && continue
2013-03-11 02:00:00 +00:00
_want=true
if [ -f "$_new/$_file" ]
then
# file exists in both directories, pick the more
# recently modified one
_try=`find "$_dir/$_file" -newer "$_new/$_file" -print`
[ -n "$_try" ] || _want=false
fi
$_want && echo cp -p "$_dir/$_file" "$_new/$_file"
done
fi
done
}
2013-03-20 03:40:51 +00:00
# migrate and clean configs if we have had a previous in-use installation
[ -d "$PCP_LOG_DIR" ] || exit 0 # no configuration file upgrades required
2013-03-11 02:00:00 +00:00
rm -f "$PCP_LOG_DIR/configs.sh"
2015-04-16 01:57:22 +00:00
for daemon in pmie pmlogger
do
save_configs_script >> "$PCP_LOG_DIR/configs.sh" "$PCP_CONFIG_DIR/$daemon" \
"$PCP_SYSCONF_DIR/$daemon"
done
for daemon in pmcd pmproxy
2013-03-11 02:00:00 +00:00
do
2015-04-16 01:57:22 +00:00
save_configs_script >> "$PCP_LOG_DIR/configs.sh" "$PCP_SYSCONF_DIR/$daemon"\
2015-09-17 03:11:25 +00:00
"$PCP_CONFIG_DIR/$daemon" /etc/$daemon
2013-03-11 02:00:00 +00:00
done
2012-11-19 04:29:37 +00:00
exit 0
2014-05-15 05:28:30 +00:00
%if !%{disable_microhttpd}
2014-02-20 02:36:48 +00:00
%preun webapi
if [ "$1" -eq 0 ]
then
2014-09-05 04:40:42 +00:00
%if !%{disable_systemd}
systemctl --no-reload disable pmwebd.service >/dev/null 2>&1
systemctl stop pmwebd.service >/dev/null 2>&1
%else
2014-02-20 02:36:48 +00:00
/sbin/service pmwebd stop >/dev/null 2>&1
/sbin/chkconfig --del pmwebd >/dev/null 2>&1
2014-09-05 04:40:42 +00:00
%endif
2014-02-20 02:36:48 +00:00
fi
2014-05-15 05:28:30 +00:00
%endif
2014-02-20 02:36:48 +00:00
%preun manager
if [ "$1" -eq 0 ]
then
2014-09-05 04:40:42 +00:00
%if !%{disable_systemd}
systemctl --no-reload disable pmmgr.service >/dev/null 2>&1
systemctl stop pmmgr.service >/dev/null 2>&1
%else
2014-02-20 02:36:48 +00:00
/sbin/service pmmgr stop >/dev/null 2>&1
/sbin/chkconfig --del pmmgr >/dev/null 2>&1
2014-09-05 04:40:42 +00:00
%endif
2014-02-20 02:36:48 +00:00
fi
%if !%{disable_rpm}
%preun pmda-rpm
%{pmda_remove "$1" "rpm"}
%endif #preun pmda-rpm
%if !%{disable_papi}
%preun pmda-papi
%{pmda_remove "$1" "papi"}
%endif #preun pmda-papi
%if !%{disable_systemd}
%preun pmda-systemd
%{pmda_remove "$1" "systemd"}
%endif #preun pmda-systemd
%if !%{disable_infiniband}
%preun pmda-infiniband
%{pmda_remove "$1" "infiniband"}
%endif #preun pmda-infiniband
%if !%{disable_perfevent}
%preun pmda-perfevent
%{pmda_remove "$1" "perfevent"}
%endif #preun pmda-perfevent
2018-11-16 07:45:57 +00:00
%if !%{disable_podman}
%preun pmda-podman
%{pmda_remove "$1" "podman"}
%endif #preun pmda-podman
%if !%{disable_json}
%preun pmda-json
%{pmda_remove "$1" "json"}
%endif #preun pmda-json
%preun pmda-nginx
%{pmda_remove "$1" "nginx"}
%preun pmda-oracle
%{pmda_remove "$1" "oracle"}
%preun pmda-postgresql
%{pmda_remove "$1" "postgresql"}
%preun pmda-postfix
%{pmda_remove "$1" "postfix"}
%preun pmda-elasticsearch
%{pmda_remove "$1" "elasticsearch"}
%if !%{disable_snmp}
%preun pmda-snmp
%{pmda_remove "$1" "snmp"}
%endif
%preun pmda-mysql
%{pmda_remove "$1" "mysql"}
%preun pmda-activemq
%{pmda_remove "$1" "activemq"}
2017-02-17 17:34:51 +00:00
%preun pmda-bind2
%{pmda_remove "$1" "bind2"}
%preun pmda-bonding
%{pmda_remove "$1" "bonding"}
%preun pmda-dbping
%{pmda_remove "$1" "dbping"}
2017-02-17 17:34:51 +00:00
%preun pmda-docker
%{pmda_remove "$1" "docker"}
%preun pmda-ds389
%{pmda_remove "$1" "ds389"}
%preun pmda-ds389log
%{pmda_remove "$1" "ds389log"}
%preun pmda-gpfs
%{pmda_remove "$1" "gpfs"}
%preun pmda-gpsd
%{pmda_remove "$1" "gpsd"}
2017-02-17 17:34:51 +00:00
%preun pmda-lio
%{pmda_remove "$1" "lio"}
2017-06-30 01:26:52 +00:00
%preun pmda-prometheus
%{pmda_remove "$1" "prometheus"}
%preun pmda-lustre
%{pmda_remove "$1" "lustre"}
%preun pmda-lustrecomm
%{pmda_remove "$1" "lustrecomm"}
%preun pmda-memcache
%{pmda_remove "$1" "memcache"}
%preun pmda-named
%{pmda_remove "$1" "named"}
%preun pmda-netfilter
%{pmda_remove "$1" "netfilter"}
%preun pmda-news
%{pmda_remove "$1" "news"}
%preun pmda-nfsclient
%{pmda_remove "$1" "nfsclient"}
2017-04-02 04:14:31 +00:00
%if !%{disable_nutcracker}
2017-02-17 17:34:51 +00:00
%preun pmda-nutcracker
%{pmda_remove "$1" "nutcracker"}
2017-04-02 04:14:31 +00:00
%endif
2017-02-17 17:34:51 +00:00
%preun pmda-pdns
%{pmda_remove "$1" "pdns"}
%preun pmda-rsyslog
%{pmda_remove "$1" "rsyslog"}
2017-02-17 17:34:51 +00:00
%preun pmda-redis
%{pmda_remove "$1" "redis"}
%preun pmda-samba
%{pmda_remove "$1" "samba"}
%preun pmda-vmware
%{pmda_remove "$1" "vmware"}
%preun pmda-zimbra
%{pmda_remove "$1" "zimbra"}
%preun pmda-dm
%{pmda_remove "$1" "dm"}
2018-02-16 03:29:50 +00:00
%if !%{disable_bcc}
%preun pmda-bcc
%{pmda_remove "$1" "bcc"}
%endif
%if !%{disable_python2} || !%{disable_python3}
%preun pmda-gluster
%{pmda_remove "$1" "gluster"}
%preun pmda-zswap
%{pmda_remove "$1" "zswap"}
%preun pmda-unbound
%{pmda_remove "$1" "unbound"}
%preun pmda-mic
%{pmda_remove "$1" "mic"}
2016-09-27 11:46:41 +00:00
2017-08-16 06:17:29 +00:00
%preun pmda-haproxy
%{pmda_remove "$1" "haproxy"}
2016-09-27 11:46:41 +00:00
%preun pmda-libvirt
%{pmda_remove "$1" "libvirt"}
2018-11-16 07:45:57 +00:00
%preun pmda-lmsensors
%{pmda_remove "$1" "lmsensors"}
%endif # !%{disable_python[2,3]}
%preun pmda-apache
%{pmda_remove "$1" "apache"}
%preun pmda-bash
%{pmda_remove "$1" "bash"}
%preun pmda-cifs
%{pmda_remove "$1" "cifs"}
%preun pmda-cisco
%{pmda_remove "$1" "cisco"}
%preun pmda-gfs2
%{pmda_remove "$1" "gfs2"}
%preun pmda-logger
%{pmda_remove "$1" "logger"}
%preun pmda-mailq
%{pmda_remove "$1" "mailq"}
%preun pmda-mounts
%{pmda_remove "$1" "mounts"}
%preun pmda-nvidia-gpu
%{pmda_remove "$1" "nvidia"}
%preun pmda-roomtemp
%{pmda_remove "$1" "roomtemp"}
%preun pmda-sendmail
%{pmda_remove "$1" "sendmail"}
%preun pmda-shping
%{pmda_remove "$1" "shping"}
2018-05-11 02:30:01 +00:00
%preun pmda-smart
%{pmda_remove "$1" "smart"}
%preun pmda-summary
%{pmda_remove "$1" "summary"}
%preun pmda-trace
%{pmda_remove "$1" "trace"}
%preun pmda-weblog
%{pmda_remove "$1" "weblog"}
%preun
if [ "$1" -eq 0 ]
then
2014-01-15 00:01:11 +00:00
# stop daemons before erasing the package
2014-09-05 04:40:42 +00:00
%if !%{disable_systemd}
2017-08-16 06:17:29 +00:00
%systemd_preun pmlogger.service
%systemd_preun pmie.service
%systemd_preun pmproxy.service
%systemd_preun pmcd.service
2014-09-05 04:40:42 +00:00
systemctl stop pmlogger.service >/dev/null 2>&1
systemctl stop pmie.service >/dev/null 2>&1
systemctl stop pmproxy.service >/dev/null 2>&1
systemctl stop pmcd.service >/dev/null 2>&1
%else
/sbin/service pmlogger stop >/dev/null 2>&1
/sbin/service pmie stop >/dev/null 2>&1
/sbin/service pmproxy stop >/dev/null 2>&1
/sbin/service pmcd stop >/dev/null 2>&1
/sbin/chkconfig --del pcp >/dev/null 2>&1
/sbin/chkconfig --del pmcd >/dev/null 2>&1
/sbin/chkconfig --del pmlogger >/dev/null 2>&1
/sbin/chkconfig --del pmie >/dev/null 2>&1
/sbin/chkconfig --del pmproxy >/dev/null 2>&1
%endif
2014-01-15 00:01:11 +00:00
# cleanup namespace state/flag, may still exist
PCP_PMNS_DIR=%{_pmnsdir}
rm -f "$PCP_PMNS_DIR/.NeedRebuild" >/dev/null 2>&1
fi
2014-05-15 05:28:30 +00:00
%if !%{disable_microhttpd}
2014-02-20 02:36:48 +00:00
%post webapi
chown -R pcp:pcp %{_logsdir}/pmwebd 2>/dev/null
2014-09-05 04:40:42 +00:00
%if !%{disable_systemd}
systemctl condrestart pmwebd.service >/dev/null 2>&1
%else
/sbin/chkconfig --add pmwebd >/dev/null 2>&1
/sbin/service pmwebd condrestart
%endif
2014-05-15 05:28:30 +00:00
%endif
2014-02-20 02:36:48 +00:00
%post manager
chown -R pcp:pcp %{_logsdir}/pmmgr 2>/dev/null
2014-09-05 04:40:42 +00:00
%if !%{disable_systemd}
systemctl condrestart pmmgr.service >/dev/null 2>&1
%else
/sbin/chkconfig --add pmmgr >/dev/null 2>&1
/sbin/service pmmgr condrestart
%endif
2014-02-20 02:36:48 +00:00
2017-05-17 19:55:06 +00:00
%post zeroconf
PCP_PMDAS_DIR=%{_pmdasdir}
PCP_SYSCONFIG_DIR=%{_sysconfdir}/sysconfig
# auto-install important PMDAs for RH Support
for PMDA in dm nfsclient ; do
touch "$PCP_PMDAS_DIR/$PMDA/.NeedInstall"
done
# increase default pmlogger recording frequency
sed -i 's/^\#\ PMLOGGER_INTERVAL.*/PMLOGGER_INTERVAL=10/g' "$PCP_SYSCONFIG_DIR/pmlogger"
# auto-enable these usually optional pmie rules
pmieconf -c enable dmthin
%if 0%{?rhel}
%if !%{disable_systemd}
systemctl restart pmcd >/dev/null 2>&1
systemctl restart pmlogger >/dev/null 2>&1
systemctl restart pmie >/dev/null 2>&1
systemctl enable pmcd >/dev/null 2>&1
systemctl enable pmlogger >/dev/null 2>&1
systemctl enable pmie >/dev/null 2>&1
%else
/sbin/chkconfig --add pmcd >/dev/null 2>&1
/sbin/chkconfig --add pmlogger >/dev/null 2>&1
/sbin/chkconfig --add pmie >/dev/null 2>&1
/sbin/service pmcd condrestart
/sbin/service pmlogger condrestart
/sbin/service pmie condrestart
%endif
%endif #zeroconf
2017-02-17 17:34:51 +00:00
%if !%{disable_selinux}
%post selinux
2018-06-15 02:11:17 +00:00
%{selinux_handle_policy "$1" "pcpupstream"}
2017-05-17 19:55:06 +00:00
2017-04-02 04:14:31 +00:00
%triggerin selinux -- docker-selinux
2018-06-15 02:11:17 +00:00
%{selinux_handle_policy "$1" "pcpupstream-docker"}
2017-05-17 19:55:06 +00:00
2017-04-02 04:14:31 +00:00
%triggerin selinux -- container-selinux
2018-06-15 02:11:17 +00:00
%{selinux_handle_policy "$1" "pcpupstream-container"}
2017-02-17 17:34:51 +00:00
%endif
2018-06-15 02:11:17 +00:00
%if !%{disable_bcc}
%post pmda-bcc
%{pmda_notready "$1" "bcc"}
%endif
%post pmda-prometheus
%{pmda_notready "$1" "prometheus"}
%post
2013-03-20 03:40:51 +00:00
PCP_LOG_DIR=%{_logsdir}
2013-04-19 07:08:20 +00:00
PCP_PMNS_DIR=%{_pmnsdir}
2013-03-11 02:00:00 +00:00
# restore saved configs, if any
test -s "$PCP_LOG_DIR/configs.sh" && source "$PCP_LOG_DIR/configs.sh"
rm -f $PCP_LOG_DIR/configs.sh
2013-03-20 03:40:51 +00:00
chown -R pcp:pcp %{_logsdir}/pmcd 2>/dev/null
chown -R pcp:pcp %{_logsdir}/pmlogger 2>/dev/null
2018-05-11 02:30:01 +00:00
chown -R pcp:pcp %{_logsdir}/sa 2>/dev/null
2013-03-20 03:40:51 +00:00
chown -R pcp:pcp %{_logsdir}/pmie 2>/dev/null
chown -R pcp:pcp %{_logsdir}/pmproxy 2>/dev/null
2013-12-12 05:05:57 +00:00
touch "$PCP_PMNS_DIR/.NeedRebuild"
chmod 644 "$PCP_PMNS_DIR/.NeedRebuild"
2014-09-05 04:40:42 +00:00
%if !%{disable_systemd}
2017-08-16 06:17:29 +00:00
%systemd_postun_with_restart pmcd.service
%systemd_post pmcd.service
%systemd_postun_with_restart pmlogger.service
%systemd_post pmlogger.service
%systemd_postun_with_restart pmie.service
%systemd_post pmie.service
2014-09-05 04:40:42 +00:00
systemctl condrestart pmproxy.service >/dev/null 2>&1
%else
/sbin/chkconfig --add pmcd >/dev/null 2>&1
/sbin/service pmcd condrestart
/sbin/chkconfig --add pmlogger >/dev/null 2>&1
/sbin/service pmlogger condrestart
/sbin/chkconfig --add pmie >/dev/null 2>&1
/sbin/service pmie condrestart
/sbin/chkconfig --add pmproxy >/dev/null 2>&1
/sbin/service pmproxy condrestart
%endif
2015-06-15 12:03:21 +00:00
cd $PCP_PMNS_DIR && ./Rebuild -s && rm -f .NeedRebuild
cd
%ldconfig_scriptlets libs
2017-02-17 17:34:51 +00:00
%if !%{disable_selinux}
%preun selinux
2017-05-17 19:55:06 +00:00
%{selinux_handle_policy "$1" "pcpupstream"}
2017-04-02 04:14:31 +00:00
%triggerun selinux -- docker-selinux
2017-05-17 19:55:06 +00:00
%{selinux_handle_policy "$1" "pcpupstream-docker"}
2017-04-02 04:14:31 +00:00
%triggerun selinux -- container-selinux
2017-05-17 19:55:06 +00:00
%{selinux_handle_policy "$1" "pcpupstream-container"}
2017-02-17 17:34:51 +00:00
%endif
2014-02-20 02:36:48 +00:00
%files -f base.list
#
# Note: there are some headers (e.g. domain.h) and in a few cases some
# C source files that rpmlint complains about. These are not devel files,
# but rather they are (slightly obscure) PMDA config files.
#
2016-06-17 07:04:01 +00:00
%doc CHANGELOG COPYING INSTALL.md README.md VERSION.pcp pcp.lsm
2014-02-20 02:36:48 +00:00
%dir %{_confdir}
%dir %{_pmdasdir}
%dir %{_datadir}/pcp
%dir %{_localstatedir}/lib/pcp
%dir %{_localstatedir}/lib/pcp/config
2013-12-12 05:05:57 +00:00
%dir %attr(0775,pcp,pcp) %{_tempsdir}
%dir %attr(0775,pcp,pcp) %{_tempsdir}/pmie
%dir %attr(0775,pcp,pcp) %{_tempsdir}/pmlogger
%dir %attr(0700,root,root) %{_tempsdir}/pmcd
2014-10-31 05:34:18 +00:00
%dir %{_datadir}/pcp/lib
%{_datadir}/pcp/lib/ReplacePmnsSubtree
%{_datadir}/pcp/lib/bashproc.sh
%{_datadir}/pcp/lib/lockpmns
%{_datadir}/pcp/lib/pmdaproc.sh
2015-10-29 11:15:52 +00:00
%{_datadir}/pcp/lib/utilproc.sh
2014-10-31 05:34:18 +00:00
%{_datadir}/pcp/lib/rc-proc.sh
%{_datadir}/pcp/lib/rc-proc.sh.minimal
%{_datadir}/pcp/lib/unlockpmns
%dir %attr(0775,pcp,pcp) %{_logsdir}
2013-07-31 02:40:00 +00:00
%attr(0775,pcp,pcp) %{_logsdir}/pmcd
%attr(0775,pcp,pcp) %{_logsdir}/pmlogger
%attr(0775,pcp,pcp) %{_logsdir}/pmie
%attr(0775,pcp,pcp) %{_logsdir}/pmproxy
%{_localstatedir}/lib/pcp/pmns
2013-03-20 03:40:51 +00:00
%{_initddir}/pcp
%{_initddir}/pmcd
%{_initddir}/pmlogger
%{_initddir}/pmie
%{_initddir}/pmproxy
2014-10-31 05:34:18 +00:00
%if !%{disable_systemd}
%{_unitdir}/pmcd.service
%{_unitdir}/pmlogger.service
%{_unitdir}/pmie.service
%{_unitdir}/pmproxy.service
2014-09-05 04:40:42 +00:00
%endif
2013-07-31 02:40:00 +00:00
%config(noreplace) %{_sysconfdir}/sasl2/pmcd.conf
2013-10-17 22:54:39 +00:00
%config(noreplace) %{_sysconfdir}/cron.d/pcp-pmlogger
%config(noreplace) %{_sysconfdir}/cron.d/pcp-pmie
2015-09-17 03:11:25 +00:00
%config(noreplace) %{_sysconfdir}/sysconfig/pmlogger
%config(noreplace) %{_sysconfdir}/sysconfig/pmproxy
%config(noreplace) %{_sysconfdir}/sysconfig/pmcd
%config %{_sysconfdir}/pcp.env
2018-02-16 03:29:50 +00:00
%dir %{_confdir}/labels
2014-02-20 02:36:48 +00:00
%dir %{_confdir}/pmcd
2013-03-20 03:40:51 +00:00
%config(noreplace) %{_confdir}/pmcd/pmcd.conf
%config(noreplace) %{_confdir}/pmcd/pmcd.options
%config(noreplace) %{_confdir}/pmcd/rc.local
2014-02-20 02:36:48 +00:00
%dir %{_confdir}/pmproxy
2013-03-20 03:40:51 +00:00
%config(noreplace) %{_confdir}/pmproxy/pmproxy.options
2014-12-01 04:18:53 +00:00
%dir %{_confdir}/pmie
2015-09-17 03:11:25 +00:00
%dir %{_confdir}/pmie/control.d
2014-12-01 04:18:53 +00:00
%config(noreplace) %{_confdir}/pmie/control
2015-09-17 03:11:25 +00:00
%config(noreplace) %{_confdir}/pmie/control.d/local
2014-12-01 04:18:53 +00:00
%dir %{_confdir}/pmlogger
2015-09-17 03:11:25 +00:00
%dir %{_confdir}/pmlogger/control.d
2014-12-01 04:18:53 +00:00
%config(noreplace) %{_confdir}/pmlogger/control
2015-09-17 03:11:25 +00:00
%config(noreplace) %{_confdir}/pmlogger/control.d/local
%dir %attr(0775,pcp,pcp) %{_confdir}/nssdb
2018-03-29 01:40:40 +00:00
%dir %{_confdir}/discover
%config(noreplace) %{_confdir}/discover/pcp-kube-pods.conf
2014-10-31 05:34:18 +00:00
2018-06-15 02:11:17 +00:00
%ghost %dir %attr(0775,pcp,pcp) %{_localstatedir}/run/pcp
2014-10-31 05:34:18 +00:00
%{_localstatedir}/lib/pcp/config/pmafm
2014-12-01 04:18:53 +00:00
%dir %attr(0775,pcp,pcp) %{_localstatedir}/lib/pcp/config/pmie
%{_localstatedir}/lib/pcp/config/pmie
2014-10-31 05:34:18 +00:00
%{_localstatedir}/lib/pcp/config/pmieconf
2014-12-01 04:18:53 +00:00
%dir %attr(0775,pcp,pcp) %{_localstatedir}/lib/pcp/config/pmlogger
%{_localstatedir}/lib/pcp/config/pmlogger/*
2014-10-31 05:34:18 +00:00
%{_localstatedir}/lib/pcp/config/pmlogrewrite
%dir %attr(0775,pcp,pcp) %{_localstatedir}/lib/pcp/config/pmda
2013-10-17 22:54:39 +00:00
2017-10-18 21:20:57 +00:00
%{_datadir}/bash-completion/completions/*
%{_datadir}/zsh/site-functions/_pcp
2015-08-04 03:54:00 +00:00
%if !%{disable_sdt}
2013-09-09 11:52:51 +00:00
%{tapsetdir}/pmcd.stp
2013-10-17 22:54:39 +00:00
%endif
2017-05-17 19:55:06 +00:00
%files zeroconf
2018-03-29 01:40:40 +00:00
%{_libexecdir}/pcp/bin/pmlogger_daily_report
%config(noreplace) %{_sysconfdir}/cron.d/pcp-pmlogger-daily-report
2017-05-17 19:55:06 +00:00
%{_localstatedir}/lib/pcp/config/pmlogconf/zeroconf
#additional pmlogger config files
2014-02-20 02:36:48 +00:00
%files conf
%dir %{_includedir}/pcp
%{_includedir}/pcp/builddefs
%{_includedir}/pcp/buildrules
%config %{_sysconfdir}/pcp.conf
2016-04-29 00:54:01 +00:00
%dir %{_localstatedir}/lib/pcp/config/derived
%config %{_localstatedir}/lib/pcp/config/derived/*
2014-02-20 02:36:48 +00:00
%files libs
%{_libdir}/libpcp.so.3
%{_libdir}/libpcp_gui.so.2
%{_libdir}/libpcp_mmv.so.1
%{_libdir}/libpcp_pmda.so.3
%{_libdir}/libpcp_trace.so.2
2011-02-02 02:51:56 +00:00
%{_libdir}/libpcp_import.so.1
2016-08-05 04:25:16 +00:00
%{_libdir}/libpcp_web.so.1
%files libs-devel
%{_libdir}/libpcp.so
%{_libdir}/libpcp_gui.so
%{_libdir}/libpcp_mmv.so
%{_libdir}/libpcp_pmda.so
%{_libdir}/libpcp_trace.so
2011-02-02 02:51:56 +00:00
%{_libdir}/libpcp_import.so
2016-08-05 04:25:16 +00:00
%{_libdir}/libpcp_web.so
2017-06-30 01:26:52 +00:00
%{_libdir}/pkgconfig/libpcp.pc
%{_libdir}/pkgconfig/libpcp_pmda.pc
2017-08-16 06:17:29 +00:00
%{_libdir}/pkgconfig/libpcp_import.pc
%{_includedir}/pcp/*.h
%files devel -f devel.list
%{_datadir}/pcp/examples
# PMDAs that ship src and are not for production use
# straight out-of-the-box, for devel or QA use only.
2013-09-09 11:52:51 +00:00
%{_pmdasdir}/simple
%{_pmdasdir}/sample
%{_pmdasdir}/trivial
%{_pmdasdir}/txmon
2012-08-28 10:54:33 +00:00
%files testsuite
2012-09-14 11:53:58 +00:00
%defattr(-,pcpqa,pcpqa)
2012-08-28 10:54:33 +00:00
%{_testsdir}
2014-05-15 05:28:30 +00:00
%if !%{disable_microhttpd}
2014-02-20 02:36:48 +00:00
%files webapi
%{_initddir}/pmwebd
2014-10-31 05:34:18 +00:00
%if !%{disable_systemd}
%{_unitdir}/pmwebd.service
2014-09-05 04:40:42 +00:00
%endif
2014-02-20 02:36:48 +00:00
%{_libexecdir}/pcp/bin/pmwebd
%attr(0775,pcp,pcp) %{_logsdir}/pmwebd
%{_confdir}/pmwebd
%config(noreplace) %{_confdir}/pmwebd/pmwebd.options
2018-02-16 03:29:50 +00:00
# duplicate pcp, pcp-webapi and pcp-webjs directories, but rpm copes with that.
2015-04-16 01:57:22 +00:00
%dir %{_datadir}/pcp
2014-12-01 04:18:53 +00:00
%dir %{_datadir}/pcp/webapps
2014-05-15 05:28:30 +00:00
%endif
2014-02-20 02:36:48 +00:00
2018-02-16 03:29:50 +00:00
%if !%{disable_webapps}
2014-10-31 05:34:18 +00:00
%files webjs
2018-02-16 03:29:50 +00:00
# duplicate pcp, pcp-webapi and pcp-webjs directories, but rpm copes with that.
2015-04-16 01:57:22 +00:00
%dir %{_datadir}/pcp
%dir %{_datadir}/pcp/webapps
%{_datadir}/pcp/webapps/*.png
%{_datadir}/pcp/webapps/*.ico
%{_datadir}/pcp/webapps/*.html
2017-04-02 04:14:31 +00:00
%files webapp-blinkenlights
%dir %{_datadir}/pcp
%dir %{_datadir}/pcp/webapps
2015-04-16 01:57:22 +00:00
%{_datadir}/pcp/webapps/blinkenlights
%files webapp-grafana
%dir %{_datadir}/pcp
%dir %{_datadir}/pcp/webapps
%{_datadir}/pcp/webapps/grafana
%files webapp-graphite
%dir %{_datadir}/pcp
%dir %{_datadir}/pcp/webapps
%{_datadir}/pcp/webapps/graphite
%files webapp-vector
%dir %{_datadir}/pcp
%dir %{_datadir}/pcp/webapps
%{_datadir}/pcp/webapps/vector
2018-02-16 03:29:50 +00:00
%endif
2014-10-31 05:34:18 +00:00
2014-02-20 02:36:48 +00:00
%files manager
%{_initddir}/pmmgr
2014-10-31 05:34:18 +00:00
%if !%{disable_systemd}
%{_unitdir}/pmmgr.service
2014-09-05 04:40:42 +00:00
%endif
2014-02-20 02:36:48 +00:00
%{_libexecdir}/pcp/bin/pmmgr
%attr(0775,pcp,pcp) %{_logsdir}/pmmgr
%config(missingok,noreplace) %{_confdir}/pmmgr
2014-02-20 02:36:48 +00:00
%config(noreplace) %{_confdir}/pmmgr/pmmgr.options
2011-02-02 02:51:56 +00:00
%files import-sar2pcp
%{_bindir}/sar2pcp
%files import-iostat2pcp
%{_bindir}/iostat2pcp
%files import-mrtg2pcp
%{_bindir}/mrtg2pcp
2015-03-02 20:39:32 +00:00
%files import-ganglia2pcp
%{_bindir}/ganglia2pcp
2013-06-19 03:43:45 +00:00
%files import-collectl2pcp
%{_bindir}/collectl2pcp
2014-09-05 04:40:42 +00:00
%if !%{disable_papi}
%files pmda-papi
%{_pmdasdir}/papi
%endif
2018-11-16 07:45:57 +00:00
%if !%{disable_podman}
%files pmda-podman
%{_pmdasdir}/podman
%endif
2014-12-01 04:18:53 +00:00
%if !%{disable_perfevent}
%files pmda-perfevent
%{_pmdasdir}/perfevent
%config(noreplace) %{_pmdasdir}/perfevent/perfevent.conf
%endif
2013-10-17 22:54:39 +00:00
%if !%{disable_infiniband}
2013-09-09 11:52:51 +00:00
%files pmda-infiniband
%{_pmdasdir}/ib
%{_pmdasdir}/infiniband
%endif
2013-09-09 11:52:51 +00:00
%files pmda-activemq
%{_pmdasdir}/activemq
%files pmda-bonding
%{_pmdasdir}/bonding
2017-02-17 17:34:51 +00:00
%files pmda-bind2
%{_pmdasdir}/bind2
%files pmda-dbping
%{_pmdasdir}/dbping
%files pmda-ds389log
%{_pmdasdir}/ds389log
%files pmda-ds389
%{_pmdasdir}/ds389
%files pmda-elasticsearch
%{_pmdasdir}/elasticsearch
%files pmda-gpfs
%{_pmdasdir}/gpfs
%files pmda-gpsd
%{_pmdasdir}/gpsd
2017-02-17 17:34:51 +00:00
%files pmda-docker
%{_pmdasdir}/docker
%files pmda-lio
%{_pmdasdir}/lio
2017-06-30 01:26:52 +00:00
%files pmda-prometheus
%{_pmdasdir}/prometheus
%files pmda-lustre
%{_pmdasdir}/lustre
%files pmda-lustrecomm
%{_pmdasdir}/lustrecomm
%files pmda-memcache
%{_pmdasdir}/memcache
%files pmda-mysql
%{_pmdasdir}/mysql
%files pmda-named
%{_pmdasdir}/named
%files pmda-netfilter
%{_pmdasdir}/netfilter
%files pmda-news
%{_pmdasdir}/news
%files pmda-nginx
%{_pmdasdir}/nginx
%files pmda-nfsclient
%{_pmdasdir}/nfsclient
2017-04-02 04:14:31 +00:00
%if !%{disable_nutcracker}
2017-02-17 17:34:51 +00:00
%files pmda-nutcracker
%{_pmdasdir}/nutcracker
2017-04-02 04:14:31 +00:00
%endif
2017-02-17 17:34:51 +00:00
%files pmda-oracle
%{_pmdasdir}/oracle
%files pmda-pdns
%{_pmdasdir}/pdns
%files pmda-postfix
%{_pmdasdir}/postfix
%files pmda-postgresql
%{_pmdasdir}/postgresql
2018-12-21 03:11:54 +00:00
%config(noreplace) %{_pmdasdir}/postgresql/pmdapostgresql.conf
2017-02-17 17:34:51 +00:00
%files pmda-redis
%{_pmdasdir}/redis
%files pmda-rsyslog
%{_pmdasdir}/rsyslog
2018-03-29 01:40:40 +00:00
%files pmda-samba
%{_pmdasdir}/samba
%if !%{disable_snmp}
%files pmda-snmp
%{_pmdasdir}/snmp
%endif
%files pmda-slurm
%{_pmdasdir}/slurm
%files pmda-vmware
%{_pmdasdir}/vmware
%files pmda-zimbra
%{_pmdasdir}/zimbra
%files pmda-dm
%{_pmdasdir}/dm
2018-02-16 03:29:50 +00:00
%if !%{disable_bcc}
%files pmda-bcc
%{_pmdasdir}/bcc
%endif
%if !%{disable_python2} || !%{disable_python3}
%files pmda-gluster
%{_pmdasdir}/gluster
%files pmda-zswap
%{_pmdasdir}/zswap
%files pmda-unbound
%{_pmdasdir}/unbound
2015-06-15 12:03:21 +00:00
2015-09-17 03:11:25 +00:00
%files pmda-mic
%{_pmdasdir}/mic
2017-08-16 06:17:29 +00:00
%files pmda-haproxy
%{_pmdasdir}/haproxy
2016-09-27 11:46:41 +00:00
%files pmda-libvirt
%{_pmdasdir}/libvirt
2017-10-18 21:20:57 +00:00
%files export-pcp2elasticsearch
%{_bindir}/pcp2elasticsearch
%files export-pcp2graphite
%{_bindir}/pcp2graphite
%files export-pcp2influxdb
%{_bindir}/pcp2influxdb
2017-10-18 21:20:57 +00:00
%files export-pcp2json
%{_bindir}/pcp2json
2018-08-03 21:05:44 +00:00
%files export-pcp2spark
%{_bindir}/pcp2spark
2017-10-18 21:20:57 +00:00
%if !%{disable_xlsx}
%files export-pcp2xlsx
%{_bindir}/pcp2xlsx
%endif
%files export-pcp2xml
%{_bindir}/pcp2xml
%files export-pcp2zabbix
%{_bindir}/pcp2zabbix
2018-11-16 07:45:57 +00:00
%files pmda-lmsensors
%{_pmdasdir}/lmsensors
2015-06-15 12:03:21 +00:00
%endif # !%{disable_python2} || !%{disable_python3}
%files export-zabbix-agent
%{_libdir}/zabbix
2018-06-15 02:11:17 +00:00
%{_sysconfdir}/zabbix/zabbix_agentd.d/zbxpcp.conf
2015-08-04 03:54:00 +00:00
%if !%{disable_json}
%files pmda-json
%{_pmdasdir}/json
%endif
%files pmda-apache
%{_pmdasdir}/apache
%files pmda-bash
%{_pmdasdir}/bash
%files pmda-cifs
%{_pmdasdir}/cifs
%files pmda-cisco
%{_pmdasdir}/cisco
%files pmda-gfs2
%{_pmdasdir}/gfs2
%files pmda-logger
%{_pmdasdir}/logger
2015-06-15 12:03:21 +00:00
%files pmda-mailq
%{_pmdasdir}/mailq
%files pmda-mounts
%{_pmdasdir}/mounts
%files pmda-nvidia-gpu
%{_pmdasdir}/nvidia
%files pmda-roomtemp
%{_pmdasdir}/roomtemp
2015-08-04 03:54:00 +00:00
%if !%{disable_rpm}
%files pmda-rpm
%{_pmdasdir}/rpm
2015-08-04 03:54:00 +00:00
%endif
%files pmda-sendmail
%{_pmdasdir}/sendmail
%files pmda-shping
%{_pmdasdir}/shping
2018-05-11 02:30:01 +00:00
%files pmda-smart
%{_pmdasdir}/smart
%files pmda-summary
%{_pmdasdir}/summary
2015-08-04 03:54:00 +00:00
%if !%{disable_systemd}
%files pmda-systemd
%{_pmdasdir}/systemd
2015-08-04 03:54:00 +00:00
%endif
%files pmda-trace
%{_pmdasdir}/trace
%files pmda-weblog
%{_pmdasdir}/weblog
%files -n perl-PCP-PMDA -f perl-pcp-pmda.list
%files -n perl-PCP-MMV -f perl-pcp-mmv.list
2011-02-02 02:51:56 +00:00
%files -n perl-PCP-LogImport -f perl-pcp-logimport.list
2011-12-12 07:58:13 +00:00
%files -n perl-PCP-LogSummary -f perl-pcp-logsummary.list
%if !%{disable_python2}
%files -n %{__python2}-pcp -f python-pcp.list.rpm
%endif
2012-08-28 10:54:33 +00:00
2014-10-31 05:34:18 +00:00
%if !%{disable_python3}
%files -n python3-pcp -f python3-pcp.list.rpm
%endif
%if !%{disable_qt}
2017-02-17 17:34:51 +00:00
%files gui -f pcp-gui.list
2014-05-15 04:44:12 +00:00
2014-10-31 05:34:18 +00:00
%{_confdir}/pmsnap
%config(noreplace) %{_confdir}/pmsnap/control
2014-05-15 04:44:12 +00:00
%{_localstatedir}/lib/pcp/config/pmsnap
%{_localstatedir}/lib/pcp/config/pmchart
%{_localstatedir}/lib/pcp/config/pmafm/pcp-gui
%{_datadir}/applications/pmchart.desktop
%endif
2014-05-15 04:44:12 +00:00
2017-02-17 17:34:51 +00:00
%files doc -f pcp-doc.list
%if !%{disable_selinux}
%files selinux -f pcp-selinux.list
%endif
2014-05-15 04:44:12 +00:00
%if !%{disable_python2} || !%{disable_python3}
2018-06-15 02:11:17 +00:00
%files system-tools -f pcp-system-tools.list
%dir %{_confdir}/dstat
2015-12-17 00:20:03 +00:00
%dir %{_confdir}/pmrep
2018-06-15 02:11:17 +00:00
%config(noreplace) %{_confdir}/dstat/*
%config(noreplace) %{_confdir}/pmrep/*
%endif
%changelog
2019-01-10 04:09:47 +00:00
* Thu Jan 10 2019 Mark Goodwin <mgoodwin@redhat.com> - 4.3.0-3
- add missing build deps on libuv for pmseries and libpcp_web (BZ 1630540)
* Wed Dec 26 2018 Mark Goodwin <mgoodwin@redhat.com> - 4.3.0-2
- Revert pmlogger_daily daystart patch (BZ 1662034)
2018-12-21 03:11:54 +00:00
* Fri Dec 21 2018 Nathan Scott <nathans@redhat.com> - 4.3.0-1
- Add the dstat -f/--full option to expand instances (BZ 1651536)
- Improve systemd interaction for local pmie (BZ 1650999)
- SELinux is preventing ps from 'search' accesses on the directory
.config (BZ 1569697)
- SELinux is preventing pmdalinux from 'search' accesses on
the directory /var/lib/libvirt/images (BZ 1579988)
- SELinux is preventing pmdalinux from 'unix_read' accesses
on the semáforo Unknown (BZ 1607658)
- SELinux is preventing pmdalinux from 'unix_read' accesses
on the shared memory Unknown (BZ 1618756, BZ 1619381, BZ 1601721)
- Update to latest PCP sources.
2018-11-16 07:45:57 +00:00
* Fri Nov 16 2018 Mark Goodwin <mgoodwin@redhat.com> - 4.2.0-1
- Resolves dstat packaging issues (BZ 1640912)
- Resolves dstat cursor positioning problem (BZ 1640913)
- Resolve a signal handling issue in dstat shutdown (BZ 1648552)
- Rename variable named await in python code (BZ 1633367)
- New conditionally-built pcp-pmda-podman sub-package.
- SELinux is preventing pmdalinux from 'unix_read' accesses on the shared memory labeled gpsd_t
(BZ 1626487)
- SELinux is preventing ps from 'search' accesses on the directory .cache
(BZ 1634205, BZ 1635522)
- SELinux is preventing ps from 'sys_ptrace' accesses on the cap_userns Unknown
(BZ 1635394)
- PCP SELinux AVCs (BZ 1633211)
- SELinux is preventing pmdalinux from 'search' accesses on the directory spider
(BZ 1647843)
- Update to latest PCP sources.
2018-09-21 03:33:47 +00:00
* Fri Sep 21 2018 Nathan Scott <nathans@redhat.com> - 4.1.3-1
- Update to latest PCP sources.
* Wed Aug 29 2018 Nathan Scott <nathans@redhat.com> - 4.1.1-3
- Updated versions of Vector (1.3.1) and Blinkenlights (1.0.1) webapps
2018-08-23 06:38:00 +00:00
2018-08-03 23:04:25 +00:00
* Fri Aug 03 2018 Dave Brolley <brolley@redhat.com> - 4.1.1-2
- pcp.spec: Fix the _with_dstat reference in the %configure command
2018-08-03 21:05:44 +00:00
* Fri Aug 03 2018 Dave Brolley <brolley@redhat.com> - 4.1.1-1
- SELinux is preventing pmdalinux from 'unix_read' accesses on the shared memory Unknown
(BZ 1592901)
- SELinux is preventing pmdalinux from getattr, associate access on the shared memory Unknown
(BZ 1594991)
- PCP BCC PMDA AVCs (BZ 1597978)
- PCP BCC PMDA packaging issue (BZ 1597979)
- pmdaproc only reads the first 1024 bytes of the /proc/*/status file resulting in lost metric
values(BZ 1600262)
- Update to latest PCP sources.
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.0-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
2018-07-03 10:15:30 +00:00
* Tue Jul 03 2018 Petr Pisar <ppisar@redhat.com> - 4.1.0-6
- Perl 5.28 rebuild
2018-06-29 08:04:57 +00:00
* Fri Jun 29 2018 Miro Hrončok <mhroncok@redhat.com> - 4.1.0-5
- Rebuilt for Python 3.7
2018-06-28 20:14:08 +00:00
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 4.1.0-4
- Perl 5.28 rebuild
2018-06-19 08:49:19 +00:00
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 4.1.0-3
- Rebuilt for Python 3.7
* Fri Jun 15 2018 Nathan Scott <nathans@redhat.com> - 4.1.0-2
2018-06-15 02:11:17 +00:00
- Rapid compression of PCP log data and metadata (BZ 1293471)
- Added Perl package build dependencies.
2018-06-15 02:11:17 +00:00
- Update to latest PCP sources.
2018-05-11 04:18:39 +00:00
2018-05-11 02:30:01 +00:00
* Fri May 11 2018 Mark Goodwin <mgoodwin@redhat.com> - 4.0.2-1
- Propogate build flags throughout PCP (BZ 1538187)
- Further additions to selinux policy (BZ 1565158)
- Update to Vector v1.2.2 in pcp-webapp-vector.
- Update to latest PCP sources.
2018-03-29 01:40:40 +00:00
* Thu Mar 29 2018 Mark Goodwin <mgoodwin@redhat.com> - 4.0.1-1
2018-05-11 02:30:01 +00:00
- Fix selinux policy to allow pmdagluster to work (BZ 1558708)
2018-03-29 01:40:40 +00:00
- pmcd binding only to localhost:44321 by default (BZ 1529915)
- Update to latest PCP sources.
* Thu Mar 01 2018 Iryna Shcherbina <ishcherb@redhat.com> - 4.0.0-3
- Update Python 2 dependency declarations to new packaging standards
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
* Tue Feb 20 2018 Nathan Scott <nathans@redhat.com> - 4.0.0-2
- Disable pmdabcc on architectures without BCC/eBPF support.
2018-02-16 03:29:50 +00:00
* Fri Feb 16 2018 Nathan Scott <nathans@redhat.com> - 4.0.0-1
- pcp-atopsar: robustness around missing data (BZ 1508028)
- python pmcc method checking for missing metrics (BZ 1508026)
- Fix generic -s and -T option handling in libpcp (BZ 1352461)
- Resolve crash in local context mode in libpcp_pmda (BZ 1451475)
- python api: fix timezone segv from incorrect free (BZ 1352465)
- Remove section 1 and 5 man pages for pmview tool (BZ 1289126)
- Update to latest PCP sources.
2018-02-08 01:34:44 +00:00
* Thu Feb 08 2018 Nathan Scott <nathans@redhat.com> - 3.12.2-5
- Update the Vector webapp to latest upstream (v1.2.1).
* Wed Jan 10 2018 Lukas Berk <lberk@redhat.com> - 3.12.2-4
- Remove Obsoletes line for pcp-gui-debuginfo
- Update Python 2 dependency declarations to new packaging standards
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
* Tue Nov 07 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.12.2-2
- Remove old crufty coreutils requires
2017-10-18 21:20:57 +00:00
* Wed Oct 18 2017 Lukas Berk <lberk@redhat.com> - 3.12.2-1
- selinux: add pmlogger_exec_t rule from (BZ 1483320)
- selinux: pmlc accessing tcp port 4330 (BZ 1447585)
- selinux: pmnewlog.sh using ps to check pid's for pmloggers (BZ 1488116)
- Update to latest PCP sources.
* Mon Aug 28 2017 Nathan Scott <nathans@redhat.com> - 3.12.1-3
- Disable infiniband and papi packages on armv7hl (BZ 1485692)
2017-08-25 22:34:56 +00:00
* Fri Aug 25 2017 Lukas Berk <lberk@redhat.com> - 3.12.1-2
- Rebuild for infiniband dep breakage.
2017-08-16 06:17:29 +00:00
* Wed Aug 16 2017 Nathan Scott <nathans@redhat.com> - 3.12.1-1
- Update to latest PCP sources.
* Thu Jul 13 2017 Petr Pisar <ppisar@redhat.com> - 3.12.0-2
- perl dependency renamed to perl-interpreter
<https://fedoraproject.org/wiki/Changes/perl_Package_to_Install_Core_Modules>
2017-06-30 01:26:52 +00:00
* Fri Jun 30 2017 Lukas Berk <lberk@redhat.com> - 3.12.0-1
- Fix pcp-atop failure in open-ended write mode (BZ 1431292)
- Resolve additional selinux policy issues (BZ 1317515)
- Improve poor pmlogconf performance (BZ1376857)
2017-08-16 06:17:29 +00:00
- Update to latest PCP sources.
2017-06-30 01:26:52 +00:00
2017-06-05 12:15:15 +00:00
* Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 3.11.10-3
- Perl 5.26 rebuild
* Fri Jun 2 2017 Lukas Berk <lberk@redhat.com> - 3.11.10-2
- Correct subrpm inclusion of zeroconf config files (BZ 1456262)
2017-04-12 21:16:31 +00:00
* Wed May 17 2017 Dave Brolley <brolley@redhat.com> - 3.11.10-1
2017-05-17 19:55:06 +00:00
- python api: handle non-POSIXLY_CORRECT getopt cases (BZ 1289912)
- Fix pmchart reaction to timezone changes from pmtime (BZ 968823)
- Require Qt5 for Fedora.
2017-08-16 06:17:29 +00:00
- Update to latest PCP sources.
2017-04-12 21:16:31 +00:00
2017-04-02 04:14:31 +00:00
* Fri Mar 31 2017 Nathan Scott <nathans@redhat.com> - 3.11.9-1
- Fix pmchart chart legends toggling behaviour (BZ 1359961)
- Improve multiple local context attr handling (BZ 1430248)
- Fix error during installation of pcp-selinux (BZ 1433271)
2017-08-16 06:17:29 +00:00
- Update to latest PCP sources.
2017-04-02 04:14:31 +00:00
2017-02-17 18:08:40 +00:00
* Fri Feb 17 2017 Lukas Berk <lberk@redhat.com> - 3.11.8-1
2017-02-17 17:34:51 +00:00
- Support newer kernels /proc/vmstat file contents (BZ 1396148)
- Added pcp-selinux policy (BZs 1214090, 1381127, 1337968, 1398147)
2016-12-21 16:54:20 +00:00
* Wed Dec 21 2016 Dave Brolley <brolley@redhat.com> - 3.11.7-1
- pmchart run-away mem leak replaying multi-archive when rewinding (BZ 1359975)
2016-11-16 01:38:18 +00:00
* Fri Nov 11 2016 Mark Goodwin <mgoodwin@redhat.com> - 3.11.6-1
- Optimize DSO lookups for local context mode startup (BZ 1275293)
- Correct return code for derive metric help text (BZ 1336208)
- Improve pmrep metrics collection via extend_indom (BZ 1377464)
- Fix network.interface.speed value extraction (BZ 1379431)
2016-09-27 11:46:41 +00:00
* Mon Sep 26 2016 Mark Goodwin <mgoodwin@redhat.com> - 3.11.5-1
- Allow systemd-based auto-restart of all daemons (BZ 1365658)
- Ensure pmieconf and pmlogconf handle empty files (BZ 1249123)
- Ignore rpmsave and rpmnew suffixed control files (BZ 1375415)
- Add new pcp-pmda-libvirt package for virtual machine metrics
2017-08-16 06:17:29 +00:00
- Update to latest PCP sources.
2016-08-05 04:25:16 +00:00
* Fri Aug 05 2016 Nathan Scott <nathans@redhat.com> - 3.11.4-1
- Support inside-container metric values in python (BZ 1333702)
- Fix pmdaproc handling of commands with whitespace (BZ 1350816)
- Use persistent DM names for the filesystem metrics (BZ 1349932)
- Add to the ds389{,log} RPM package dependencies (BZ 1354055)
- Use "dirsrv" as default pmdads389log user account (BZ 1357607)
- Make pmie(1) honour SIGINT while parsing rules (BZ 1327226)
- Add pmlogconf support for pcp-pidstat and pcp-mpstat (BZ 1361943)
2017-08-16 06:17:29 +00:00
- Update to latest PCP sources.
2016-06-17 07:04:01 +00:00
* Fri Jun 17 2016 Nathan Scott <nathans@redhat.com> - 3.11.3-1
- Fix memory leak in derived metrics error handling (BZ 1331973)
- Correctly propogate indom in mixed derived metrics (BZ 1337212, BZ 1336130)
- Disallow stopping pmie/pmlogger daemons from cron (BZ 1336792)
- Fail fast for easily detected bad pmcd configuration (BZ 1336210)
- Implement primary (local) pmie concept in rc pmie (BZ 1323851)
2017-08-16 06:17:29 +00:00
- Update to latest PCP sources.
2016-05-16 03:30:25 +00:00
* Mon May 16 2016 Jitka Plesnikova <jplesnik@redhat.com> - 3.11.2-2.1
- Perl 5.24 rebuild
2016-04-29 00:54:01 +00:00
* Fri Apr 29 2016 Lukas Berk <lberk@redhat.com> - 3.11.2-1
- Negative nice values reported incorrectly (BZ 1328432)
- Multithreaded clients with concurrent pmNewContext improvements (BZ 1325363)
- PMCD agent auto-restart (BZ 1323521)
- Segv in libpcp during discovery error processing (BZ 1319288)
2017-08-16 06:17:29 +00:00
- Update to latest PCP sources.
2016-04-29 00:54:01 +00:00
* Fri Mar 18 2016 Dave Brolley <brolley@redhat.com> - 3.11.1-1
- Call Remove script when uninstalling individual PMDAs (BZ 1304722)
- Restrict pmcd.services to checking known pcp services (BZ 1286361)
- Support for multi-archive contexts, across all clients (BZ 1262723)
- Remove the default shotgun approach to stopping daemons (BZ 1210976)
- Add mechanism for automatic recovery from PMDA timeouts (BZ 1065803)
- Update to latest PCP sources.
2016-02-03 01:45:01 +00:00
* Fri Jan 29 2016 Mark Goodwin <mgoodwin@redhat.com> - 3.11.0-1
- Significant speedups to elapsed time stopping pmcd (BZ 1292027)
- Fix python derived metric exception handling issues (BZ 1299806)
- incorrect interpolation across <mark> record in a merged archive (BZ 1296750)
- pcp requires pcp-compat pulling in a lot of unneeded pcp-pmda-* packages (BZ 1293466)
- Update to latest PCP sources.
2015-12-17 00:20:03 +00:00
* Wed Dec 16 2015 Lukas Berk <lberk@redhat.com> - 3.10.9-1
- Add -V/--version support to several more commands (BZ 1284411)
- Resolve a pcp-iostat(1) transient device exception (BZ 1249572)
- Provides pmdapipe, an output-capturing domain agent (BZ 1163413)
- Python PMAPI pmSetMode allows None timeval parameter (BZ 1284417)
- Python PMI pmiPutValue now supports singular metrics (BZ 1285371)
- Fix python PMAPI pmRegisterDerived wrapper interface (BZ 1286733)
- Fix pmstat SEGV when run with graphical time control (BZ 1287678)
- Make pmNonOptionsFromList error message less cryptic (BZ 1287778)
- Drop unimplemented pmdumptext options from usage, man page (BZ 1289909)
- Stop creating configuration files in tmp_t locations (BZ 1256125)
- Update to latest PCP sources.
2015-10-29 11:15:52 +00:00
* Fri Oct 30 2015 Mark Goodwin <mgoodwin@redhat.com> - 3.10.8-1
- Update pmlogger to log an immediate sample first (BZ 1269921)
- Add pmOption host and archive setter python APIs (BZ 1270176)
- Replace old pmatop(1) man page with pcp-atop(1) (BZ 1270761)
- Update to latest PCP sources.
2015-09-17 03:11:25 +00:00
* Wed Sep 16 2015 Nathan Scott <nathans@redhat.com> - 3.10.7-1
- Resolved pmchart sigsegv opening view without context (BZ 1256708)
- Fixed pmchart memory corruption restoring Saved Hosts (BZ 1257009)
- Fix perl PMDA API double-free on socket error path (BZ 1258862)
- Fix python API pmGetOption(3) alignment interface (BZ 1262722)
- Added missing RPM dependencies to several PMDA sub-packages.
- Update to latest stable Vector release for pcp-vector-webapp.
- Update to latest PCP sources.
2015-12-17 00:20:03 +00:00
* Sat Sep 05 2015 Kalev Lember <klember@redhat.com> - 3.10.6-2.1
- Rebuilt for librpm soname bump
* Thu Aug 06 2015 Lukas Berk <lberk@redhat.com> - 3.10.6-2
- Fix SDT related build error (BZ 1250894)
2015-08-04 03:54:00 +00:00
* Tue Aug 04 2015 Nathan Scott <nathans@redhat.com> - 3.10.6-1
- Fix pcp2graphite write method invocation failure (BZ 1243123)
- Reduce diagnostics in pmdaproc unknown state case (BZ 1224431)
- Derived metrics via multiple files, directory expansion (BZ 1235556)
- Update to latest PCP sources.
2015-06-15 12:03:21 +00:00
* Mon Jun 15 2015 Mark Goodwin <mgoodwin@redhat.com> - 3.10.5-1
- Provide and use non-exit(1)ing pmGetConfig(3) variant (BZ 1187588)
- Resolve a pmdaproc.sh pmlogger restart regression (BZ 1229458)
- Replacement of pmatop/pcp-atop(1) utility (BZ 1160811, BZ 1018575)
- Reduced installation size for minimal applications (BZ 1182184)
- Ensure pmlogger start scripts wait on pmcd startup (BZ 1185760)
- Need to run pmcd at least once before pmval -L will work (BZ 185749)
2015-04-16 01:57:22 +00:00
* Wed Apr 15 2015 Nathan Scott <nathans@redhat.com> - 3.10.4-1
- Update to latest PCP, pcp-webjs and Vector sources.
- Packaging improvements after re-review (BZ 1204467)
- Start pmlogger/pmie independent of persistent state (BZ 1185755)
- Fix cron error reports for disabled pmlogger service (BZ 1208699)
- Incorporate Vector from Netflix (https://github.com/Netflix/vector)
- Sub-packages for pcp-webjs allowing choice and reducing used space.
2015-03-04 19:18:22 +00:00
* Wed Mar 04 2015 Dave Brolley <brolley@redhat.com> - 3.10.3-2
- papi 5.4.1 rebuild
2015-03-02 20:39:32 +00:00
* Mon Mar 02 2015 Dave Brolley <brolley@redhat.com> - 3.10.3-1
- Update to latest PCP sources.
- New sub-package for pcp-import-ganglia2pcp.
- Python3 support, enabled by default in f22 onward (BZ 1194324)
* Mon Feb 23 2015 Slavek Kabrda <bkabrda@redhat.com> - 3.10.2-3
- Only use Python 3 in Fedora >= 23, more info at
https://bugzilla.redhat.com/show_bug.cgi?id=1194324#c4
* Mon Feb 23 2015 Nathan Scott <nathans@redhat.com> - 3.10.2-2
- Initial changes to support python3 as default (BZ 1194324)
2015-01-24 00:44:33 +00:00
* Fri Jan 23 2015 Dave Brolley <brolley@redhat.com> - 3.10.2-1
- Update to latest PCP sources.
- Improve pmdaInit diagnostics for DSO helptext (BZ 1182949)
- Tighten up PMDA termination on pmcd stop (BZ 1180109)
- Correct units for cgroup memory metrics (BZ 1180351)
- Add the pcp2graphite(1) export script (BZ 1163986)
2014-12-01 04:18:53 +00:00
* Mon Dec 01 2014 Nathan Scott <nathans@redhat.com> - 3.10.1-1
- New conditionally-built pcp-pmda-perfevent sub-package.
- Update to latest PCP sources.
* Tue Nov 18 2014 Dave Brolley <brolley@redhat.com> - 3.10.0-2
- papi 5.4.0 rebuild
2014-10-31 05:34:18 +00:00
* Fri Oct 31 2014 Nathan Scott <nathans@redhat.com> - 3.10.0-1
- Create new sub-packages for pcp-webjs and python3-pcp.
- Fix __pmDiscoverServicesWithOptions(1) codes (BZ 1139529)
- Update to latest PCP sources.
2014-09-05 14:56:57 +00:00
2014-09-05 04:40:42 +00:00
* Fri Sep 05 2014 Nathan Scott <nathans@redhat.com> - 3.9.10-1
- Convert PCP init scripts to systemd services (BZ 996438)
- Fix pmlogsummary -S/-T time window reporting (BZ 1132476)
- Resolve pmdumptext segfault with invalid host (BZ 1131779)
- Fix signedness in some service discovery codes (BZ 1136166)
- New conditionally-built pcp-pmda-papi sub-package.
- Update to latest PCP sources.
2014-08-26 22:59:55 +00:00
* Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 3.9.9-1.2
- Perl 5.20 rebuild
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.9.9-1.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
2014-08-13 05:45:45 +00:00
* Wed Aug 13 2014 Nathan Scott <nathans@redhat.com> - 3.9.9-1
- Update to latest PCP sources.
2014-07-16 03:53:30 +00:00
* Wed Jul 16 2014 Mark Goodwin <mgoodwin@redhat.com> - 3.9.7-1
- Update to latest PCP sources.
* Wed Jun 18 2014 Dave Brolley <brolley@redhat.com> - 3.9.5-1
- Daemon signal handlers no longer use unsafe APIs (BZ 847343)
- Handle /var/run setups on a temporary filesystem (BZ 656659)
- Resolve pmlogcheck sigsegv for some archives (BZ 1077432)
- Ensure pcp-gui-{testsuite,debuginfo} packages get replaced.
- Revive support for EPEL5 builds, post pcp-gui merge.
- Update to latest PCP sources.
* Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.9.4-1.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
2014-05-15 05:28:30 +00:00
* Thu May 15 2014 Nathan Scott <nathans@redhat.com> - 3.9.4-1
2014-05-15 04:44:12 +00:00
- Merged pcp-gui and pcp-doc packages into core PCP.
2014-05-15 05:28:30 +00:00
- Allow for conditional libmicrohttpd builds in spec file.
2014-05-15 04:44:12 +00:00
- Adopt slow-start capability in systemd PMDA (BZ 1073658)
- Resolve pmcollectl network/disk mis-reporting (BZ 1097095)
- Update to latest PCP sources.
* Tue Apr 15 2014 Dave Brolley <brolley@redhat.com> - 3.9.2-1
- Improve pmdarpm(1) concurrency complications (BZ 1044297)
- Fix pmconfig(1) shell output string quoting (BZ 1085401)
- Update to latest PCP sources.
2014-03-19 22:34:27 +00:00
* Wed Mar 19 2014 Nathan Scott <nathans@redhat.com> - 3.9.1-1
- Update to latest PCP sources.
2014-05-15 04:44:12 +00:00
* Thu Feb 20 2014 Nathan Scott <nathans@redhat.com> - 3.9.0-2
- Workaround further PowerPC/tapset-related build fallout.
2014-02-20 02:36:48 +00:00
* Wed Feb 19 2014 Nathan Scott <nathans@redhat.com> - 3.9.0-1
- Create new sub-packages for pcp-webapi and pcp-manager
- Split configuration from pcp-libs into pcp-conf (multilib)
- Fix pmdagluster to handle more volumes, fileops (BZ 1066544)
- Update to latest PCP sources.
2014-01-29 03:54:51 +00:00
* Wed Jan 29 2014 Nathan Scott <nathans@redhat.com> - 3.8.12-1
2014-01-29 01:50:12 +00:00
- Resolves SNMP procfs file ICMP line parse issue (BZ 1055818)
- Update to latest PCP sources.
2014-01-15 00:01:11 +00:00
* Wed Jan 15 2014 Nathan Scott <nathans@redhat.com> - 3.8.10-1
- Update to latest PCP sources.
2013-12-12 05:05:57 +00:00
* Thu Dec 12 2013 Nathan Scott <nathans@redhat.com> - 3.8.9-1
- Reduce set of exported symbols from DSO PMDAs (BZ 1025694)
- Symbol-versioning for PCP shared libraries (BZ 1037771)
- Fix pmcd/Avahi interaction with multiple ports (BZ 1035513)
- Update to latest PCP sources.
* Sun Nov 03 2013 Nathan Scott <nathans@redhat.com> - 3.8.8-1
- Update to latest PCP sources (simple build fixes only).
2013-11-01 03:24:29 +00:00
* Fri Nov 01 2013 Nathan Scott <nathans@redhat.com> - 3.8.6-1
- Update to latest PCP sources.
- Rework pmpost test which confused virus checkers (BZ 1024850)
- Tackle pmatop reporting issues via alternate metrics (BZ 998735)
2013-10-17 22:54:39 +00:00
* Fri Oct 18 2013 Nathan Scott <nathans@redhat.com> - 3.8.5-1
- Update to latest PCP sources.
- Disable pcp-pmda-infiniband sub-package on RHEL5 (BZ 1016368)
* Mon Sep 16 2013 Nathan Scott <nathans@redhat.com> - 3.8.4-2
- Disable the pcp-pmda-infiniband sub-package on s390 platforms.
2013-09-15 07:52:20 +00:00
* Sun Sep 15 2013 Nathan Scott <nathans@redhat.com> - 3.8.4-1
- Very minor release containing mostly QA related changes.
- Enables many more metrics to be logged for Linux hosts.
2014-01-15 00:01:11 +00:00
* Wed Sep 11 2013 Stan Cox <scox@redhat.com> - 3.8.3-2
- Disable pmcd.stp on el5 ppc.
2013-09-09 11:52:51 +00:00
* Mon Sep 09 2013 Nathan Scott <nathans@redhat.com> - 3.8.3-1
- Default to Unix domain socket (authenticated) local connections.
- Introduces new pcp-pmda-infiniband sub-package.
2014-01-15 00:01:11 +00:00
- Disable systemtap-sdt-devel usage on ppc.
2013-09-09 11:52:51 +00:00
2013-08-03 10:28:11 +00:00
* Sat Aug 03 2013 Petr Pisar <ppisar@redhat.com> - 3.8.2-1.1
- Perl 5.18 rebuild
2013-07-31 02:40:00 +00:00
* Wed Jul 31 2013 Nathan Scott <nathans@redhat.com> - 3.8.2-1
- Update to latest PCP sources.
- Integrate gluster related stats with PCP (BZ 969348)
- Fix for iostat2pcp not parsing iostat output (BZ 981545)
- Start pmlogger with usable config by default (BZ 953759)
- Fix pmatop failing to start, gives stacktrace (BZ 963085)
2013-07-17 09:42:09 +00:00
2013-06-19 03:43:45 +00:00
* Wed Jun 19 2013 Nathan Scott <nathans@redhat.com> - 3.8.1-1
- Update to latest PCP sources.
- Fix log import silently dropping >1024 metrics (BZ 968210)
- Move some commonly used tools on the usual PATH (BZ 967709)
- Improve pmatop handling of missing proc metrics (BZ 963085)
- Stop out-of-order records corrupting import logs (BZ 958745)
2013-05-14 06:38:03 +00:00
* Tue May 14 2013 Nathan Scott <nathans@redhat.com> - 3.8.0-1
- Update to latest PCP sources.
- Validate metric names passed into pmiAddMetric (BZ 958019)
- Install log directories with correct ownership (BZ 960858)
2013-04-19 07:08:20 +00:00
* Fri Apr 19 2013 Nathan Scott <nathans@redhat.com> - 3.7.2-1
- Update to latest PCP sources.
- Ensure root namespace exists at the end of install (BZ 952977)
2013-03-20 03:40:51 +00:00
* Wed Mar 20 2013 Nathan Scott <nathans@redhat.com> - 3.7.1-1
- Update to latest PCP sources.
- Migrate all tempfiles correctly to the new tempdir hierarchy.
2013-03-11 02:00:00 +00:00
* Sun Mar 10 2013 Nathan Scott <nathans@redhat.com> - 3.7.0-1
- Update to latest PCP sources.
- Migrate all configuration files below the /etc/pcp hierarchy.
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.6.10-2.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Wed Nov 28 2012 Nathan Scott <nathans@redhat.com> - 3.6.10-2
2013-09-09 11:52:51 +00:00
- Ensure tmpfile directories created in %%files section.
- Resolve tmpfile create/teardown race conditions.
2012-11-19 04:29:37 +00:00
* Mon Nov 19 2012 Nathan Scott <nathans@redhat.com> - 3.6.10-1
- Update to latest PCP sources.
- Resolve tmpfile security flaws: CVE-2012-5530
- Introduces new "pcp" user account for all daemons to use.
2012-10-14 00:12:29 +00:00
* Fri Oct 12 2012 Nathan Scott <nathans@redhat.com> - 3.6.9-1
- Update to latest PCP sources.
- Fix pmcd sigsegv in NUMA/CPU indom setup (BZ 858384)
- Fix sar2pcp uninitialised perl variable warning (BZ 859117)
- Fix pcp.py and pmcollectl with older python versions (BZ 852234)
2012-09-14 12:25:26 +00:00
* Fri Sep 14 2012 Nathan Scott <nathans@redhat.com> - 3.6.8-1
- Update to latest PCP sources.
* Wed Sep 05 2012 Nathan Scott <nathans@redhat.com> - 3.6.6-1.1
- Move configure step from prep to build section of spec (BZ 854128)
2012-08-28 10:54:33 +00:00
* Tue Aug 28 2012 Mark Goodwin <mgoodwin@redhat.com> - 3.6.6-1
- Update to latest PCP sources, see installed CHANGELOG for details.
- Introduces new python-pcp and pcp-testsuite sub-packages.
* Thu Aug 16 2012 Mark Goodwin <mgoodwin@redhat.com> - 3.6.5-1
- Update to latest PCP sources, see installed CHANGELOG for details.
- Fix security flaws: CVE-2012-3418 CVE-2012-3419 CVE-2012-3420 and CVE-2012-3421 (BZ 848629)
* Thu Jul 19 2012 Mark Goodwin <mgoodwin@redhat.com>
- pmcd and pmlogger services are not supposed to be enabled by default (BZ 840763) - 3.6.3-1.3
* Thu Jun 21 2012 Mark Goodwin <mgoodwin@redhat.com>
- remove pcp-import-sheet2pcp subpackage due to missing deps (BZ 830923) - 3.6.3-1.2
2012-09-14 12:25:26 +00:00
* Fri May 18 2012 Dan Hork <dan[at]danny.cz> - 3.6.3-1.1
2012-05-18 11:23:53 +00:00
- fix build on s390x
2012-05-02 12:11:27 +00:00
* Mon Apr 30 2012 Mark Goodwin - 3.6.3-1
- Update to latest PCP sources
* Thu Apr 26 2012 Mark Goodwin - 3.6.2-1
- Update to latest PCP sources
* Thu Apr 12 2012 Mark Goodwin - 3.6.1-1
- Update to latest PCP sources
* Thu Mar 22 2012 Mark Goodwin - 3.6.0-1
2013-09-09 11:52:51 +00:00
- use %%configure macro for correct libdir logic
2012-05-02 12:11:27 +00:00
- update to latest PCP sources
2011-12-15 04:28:03 +00:00
* Thu Dec 15 2011 Mark Goodwin - 3.5.11-2
- patched configure.in for libdir=/usr/lib64 on ppc64
2011-12-12 07:58:13 +00:00
* Thu Dec 01 2011 Mark Goodwin - 3.5.11-1
- Update to latest PCP sources.
2011-10-11 15:28:33 +00:00
2011-12-12 07:58:13 +00:00
* Fri Nov 04 2011 Mark Goodwin - 3.5.10-1
- Update to latest PCP sources.
* Mon Oct 24 2011 Mark Goodwin - 3.5.9-1
- Update to latest PCP sources.
2013-07-31 02:40:00 +00:00
* Mon Aug 08 2011 Mark Goodwin - 3.5.8-1
2011-12-12 07:58:13 +00:00
- Update to latest PCP sources.
2013-07-31 02:40:00 +00:00
* Fri Aug 05 2011 Mark Goodwin - 3.5.7-1
2011-12-12 07:58:13 +00:00
- Update to latest PCP sources.
* Fri Jul 22 2011 Mark Goodwin - 3.5.6-1
- Update to latest PCP sources.
* Tue Jul 19 2011 Mark Goodwin - 3.5.5-1
- Update to latest PCP sources.
2013-07-31 02:40:00 +00:00
* Thu Feb 03 2011 Mark Goodwin - 3.5.0-1
2011-02-02 02:51:56 +00:00
- Update to latest PCP sources.
* Thu Sep 30 2010 Mark Goodwin - 3.4.0-1
- Update to latest PCP sources.
* Fri Jul 16 2010 Mark Goodwin - 3.3.3-1
- Update to latest PCP sources.
* Sat Jul 10 2010 Mark Goodwin - 3.3.2-1
- Update to latest PCP sources.
* Tue Jun 29 2010 Mark Goodwin - 3.3.1-1
- Update to latest PCP sources.
* Fri Jun 25 2010 Mark Goodwin - 3.3.0-1
- Update to latest PCP sources.
* Thu Mar 18 2010 Mark Goodwin - 3.1.2-1
- Update to latest PCP sources.
* Wed Jan 27 2010 Mark Goodwin - 3.1.0-1
2013-09-09 11:52:51 +00:00
- BuildRequires: initscripts for %%{_vendor} == redhat.
* Thu Dec 10 2009 Mark Goodwin - 3.0.3-1
- BuildRequires: initscripts for FC12.
* Wed Dec 02 2009 Mark Goodwin - 3.0.2-1
- Added sysfs.kernel metrics, rebased to minor community release.
* Mon Oct 19 2009 Martin Hicks <mort@sgi.com> - 3.0.1-2
- Remove IB dependencies. The Infiniband PMDA is being moved to
a stand-alone package.
- Move cluster PMDA to a stand-alone package.
2013-07-31 02:40:00 +00:00
* Fri Oct 09 2009 Mark Goodwin <mgoodwin@redhat.com> - 3.0.0-9
- This is the initial import for Fedora
- See 3.0.0 details in CHANGELOG