59923c
Name:    pcp
59923c
Version: 4.3.2
87cc1f
Release: 8%{?dist}
59923c
Summary: System-level performance monitoring and performance management
59923c
License: GPLv2+ and LGPLv2+ and CC-BY
59923c
URL:     https://pcp.io
59923c
59923c
%global  bintray https://bintray.com/artifact/download
59923c
%global  github https://github.com/performancecopilot
59923c
59923c
Source0: %{bintray}/download/pcp/source/pcp-%{version}.src.tar.gz
59923c
Source1: %{github}/pcp-webapp-vector/archive/1.3.1-1/pcp-webapp-vector-1.3.1-1.tar.gz
59923c
Source2: %{github}/pcp-webapp-grafana/archive/1.9.1-2/pcp-webapp-grafana-1.9.1-2.tar.gz
59923c
Source3: %{github}/pcp-webapp-graphite/archive/0.9.10/pcp-webapp-graphite-0.9.10.tar.gz
59923c
Source4: %{github}/pcp-webapp-blinkenlights/archive/1.0.1/pcp-webapp-blinkenlights-1.0.1.tar.gz
59923c
# bcc/kernel compatibility (needed for the life of RHEL7)
87cc1f
Patch000: redhat-bugzilla-1597975.patch
87cc1f
Patch001: pmcd-pmlogger-local-context.patch
87cc1f
Patch002: selinux-policy.patch
87cc1f
Patch003: selinux-override.patch
87cc1f
Patch004: qa-fixmod.patch
87cc1f
Patch005: redhat-bugzilla-1721107.patch
87cc1f
Patch006: redhat-bugzilla-1673053.patch
87cc1f
Patch007: redhat-bugzilla-1730107.patch
87cc1f
Patch008: redhat-bugzilla-1730492.patch
87cc1f
Patch009: redhat-bugzilla-1764748.patch
87cc1f
Patch010: redhat-bugzilla-1765641.patch
87cc1f
Patch011: redhat-bugzilla-1775373.patch
87cc1f
Patch012: redhat-bugzilla-1818710.patch
59923c
59923c
%if 0%{?fedora} >= 26 || 0%{?rhel} > 7
59923c
%global __python2 python2
59923c
%else
59923c
%global __python2 python
59923c
%endif
59923c
59923c
%if 0%{?fedora} || 0%{?rhel} > 5
59923c
%global disable_selinux 0
59923c
%else
59923c
%global disable_selinux 1
59923c
%endif
59923c
59923c
%global disable_snmp 0
59923c
59923c
# No libpfm devel packages for s390, armv7hl nor for some rhels, disable
59923c
%ifarch s390 s390x armv7hl
59923c
%global disable_perfevent 1
59923c
%else
59923c
%if 0%{?fedora} >= 20 || 0%{?rhel} > 6
59923c
%global disable_perfevent 0
59923c
%else
59923c
%global disable_perfevent 1
59923c
%endif
59923c
%endif
59923c
59923c
# libvarlink and pmdapodman
59923c
%if 0%{?fedora} >= 28 || 0%{?rhel} > 7
59923c
%global disable_podman 0
59923c
%else
59923c
%global disable_podman 1
59923c
%endif
59923c
59923c
%global disable_microhttpd 0
59923c
%global disable_webapps 0
59923c
%global disable_cairo 0
59923c
59923c
%if 0%{?rhel} > 7 || 0%{?fedora} >= 30
59923c
%global _with_python2 --with-python=no
59923c
%global disable_python2 1
59923c
%else
59923c
%global disable_python2 0
59923c
%endif
59923c
59923c
# Default for epel5 is python24, so use the (optional) python26 packages
59923c
%if 0%{?rhel} == 5
59923c
%global default_python 26
59923c
%endif
59923c
# No python3 development environment before el8
59923c
%if 0%{?rhel} == 0 || 0%{?rhel} > 7
59923c
%global disable_python3 0
59923c
# Do we wish to mandate python3 use in pcp?  (f22+ and el8+)
59923c
%if 0%{?fedora} >= 22 || 0%{?rhel} > 7
59923c
%global default_python 3
59923c
%endif
59923c
%else
59923c
%global disable_python3 1
59923c
%endif
59923c
59923c
%if 0%{?fedora} >= 24 || 0%{?rhel} > 7
59923c
%global perl_interpreter perl-interpreter
59923c
%else
59923c
%global perl_interpreter perl
59923c
%endif
59923c
59923c
# support for pmdabcc
59923c
%if 0%{?fedora} >= 25 || 0%{?rhel} > 6
59923c
%ifarch s390 s390x armv7hl aarch64 i686
59923c
%global disable_bcc 1
59923c
%else
59923c
%global disable_bcc 0
59923c
%endif
59923c
%else
59923c
%global disable_bcc 1
59923c
%endif
59923c
59923c
# support for pmdajson
59923c
%if 0%{?rhel} == 0 || 0%{?rhel} > 6
59923c
%if !%{disable_python2} || !%{disable_python3}
59923c
%global disable_json 0
59923c
%else
59923c
%global disable_json 1
59923c
%endif
59923c
%else
59923c
%global disable_json 1
59923c
%endif
59923c
59923c
# support for pmdanutcracker (perl deps missing on rhel)
59923c
%if 0%{?rhel} == 0
59923c
%global disable_nutcracker 0
59923c
%else
59923c
%global disable_nutcracker 1
59923c
%endif
59923c
59923c
# support for pmdarpm
59923c
%if 0%{?rhel} == 0 || 0%{?rhel} > 5
59923c
%global disable_rpm 0
59923c
%else
59923c
%global disable_rpm 1
59923c
%endif
59923c
59923c
# Qt development and runtime environment missing components before el6
59923c
%if 0%{?rhel} == 0 || 0%{?rhel} > 5
59923c
%global disable_qt 0
59923c
%if 0%{?fedora} != 0 || 0%{?rhel} > 7
59923c
%global default_qt 5
59923c
%endif
59923c
%else
59923c
%global disable_qt 1
59923c
%endif
59923c
59923c
# systemd services and pmdasystemd
59923c
%if 0%{?fedora} >= 19 || 0%{?rhel} >= 7
59923c
%global disable_systemd 0
59923c
%else
59923c
%global disable_systemd 1
59923c
%endif
59923c
59923c
# systemtap static probing, missing before el6 and on some architectures
59923c
%if 0%{?rhel} == 0 || 0%{?rhel} > 5
59923c
%global disable_sdt 0
59923c
%else
59923c
%ifnarch ppc ppc64
59923c
%global disable_sdt 0
59923c
%else
59923c
%global disable_sdt 1
59923c
%endif
59923c
%endif
59923c
59923c
# boost c++ library, widely available
59923c
%if 0%{?rhel} == 0 || 0%{?rhel} > 5
59923c
%global disable_boost 0
59923c
%else
59923c
%global disable_boost 1
59923c
%endif
59923c
59923c
# libuv
59923c
%if 0%{?fedora} >= 28 || 0%{?rhel} > 7
59923c
%global disable_libuv 0
59923c
%else
59923c
%global disable_libuv 1
59923c
%endif
59923c
59923c
# rpm producing "noarch" packages
59923c
%if 0%{?rhel} == 0 || 0%{?rhel} > 5
59923c
%global disable_noarch 0
59923c
%else
59923c
%global disable_noarch 1
59923c
%endif
59923c
59923c
%if 0%{?fedora} >= 24
59923c
%global disable_xlsx 0
59923c
%else
59923c
%global disable_xlsx 1
59923c
%endif
59923c
59923c
# prevent conflicting binary and man page install for pcp(1)
59923c
Conflicts: librapi
59923c
59923c
# KVM PMDA moved into pcp (no longer using Perl, default on)
59923c
Obsoletes: pcp-pmda-kvm
59923c
Provides: pcp-pmda-kvm
59923c
59923c
# https://fedoraproject.org/wiki/Packaging "C and C++"
59923c
BuildRequires: gcc gcc-c++
59923c
BuildRequires: procps autoconf bison flex
59923c
BuildRequires: nss-devel
59923c
BuildRequires: rpm-devel
59923c
BuildRequires: avahi-devel
59923c
BuildRequires: xz-devel
59923c
BuildRequires: zlib-devel
59923c
%if !%{disable_python2}
59923c
%if 0%{?default_python} != 3
59923c
BuildRequires: python%{?default_python}-devel
59923c
%else
59923c
BuildRequires: %{__python2}-devel
59923c
%endif
59923c
%endif
59923c
%if !%{disable_python3}
59923c
BuildRequires: python3-devel
59923c
%endif
59923c
BuildRequires: ncurses-devel
59923c
BuildRequires: readline-devel
59923c
BuildRequires: cyrus-sasl-devel
59923c
%if !%{disable_podman}
59923c
BuildRequires: libvarlink-devel
59923c
%endif
59923c
%if !%{disable_perfevent}
59923c
BuildRequires: libpfm-devel >= 4
59923c
%endif
59923c
%if !%{disable_microhttpd}
59923c
BuildRequires: libmicrohttpd-devel
59923c
%endif
59923c
%if !%{disable_cairo}
59923c
BuildRequires: cairo-devel
59923c
%endif
59923c
%if !%{disable_sdt}
59923c
BuildRequires: systemtap-sdt-devel
59923c
%endif
59923c
%if !%{disable_boost}
59923c
BuildRequires: boost-devel
59923c
%endif
59923c
%if !%{disable_libuv}
59923c
BuildRequires: libuv-devel >= 1.16
59923c
%endif
59923c
%if 0%{?rhel} == 0 || 0%{?rhel} > 7
59923c
BuildRequires: perl-generators
59923c
%endif
59923c
BuildRequires: perl-devel perl(strict)
59923c
BuildRequires: perl(ExtUtils::MakeMaker) perl(LWP::UserAgent) perl(JSON)
59923c
BuildRequires: perl(LWP::UserAgent) perl(Time::HiRes) perl(Digest::MD5)
59923c
BuildRequires: man
59923c
%if !%{disable_systemd}
59923c
BuildRequires: systemd-devel
59923c
%endif
59923c
%if !%{disable_qt}
59923c
BuildRequires: desktop-file-utils
59923c
%if 0%{?default_qt} != 5
59923c
BuildRequires: qt4-devel >= 4.4
59923c
%else
59923c
BuildRequires: qt5-qtbase-devel
59923c
BuildRequires: qt5-qtsvg-devel
59923c
%endif
59923c
%endif
59923c
59923c
Requires: bash xz gawk sed grep findutils which
59923c
Requires: pcp-libs = %{version}-%{release}
59923c
%if !%{disable_selinux}
59923c
Requires: pcp-selinux = %{version}-%{release}
59923c
%endif
59923c
59923c
# Some older releases did not update or replace pcp-gui-debuginfo properly
59923c
%if 0%{?fedora} < 27 && 0%{?rhel} <= 7 && "%{_vendor}" == "redhat"
59923c
Obsoletes: pcp-gui-debuginfo
59923c
%endif
59923c
59923c
Obsoletes: pcp-pmda-nvidia
59923c
59923c
# Obsoletes for distros that already have single install pmda's with compat package
59923c
Obsoletes: pcp-compat pcp-collector pcp-monitor
59923c
59923c
Requires: pcp-libs = %{version}-%{release}
59923c
59923c
%global tapsetdir      %{_datadir}/systemtap/tapset
59923c
59923c
%global _confdir  %{_sysconfdir}/pcp
59923c
%global _logsdir  %{_localstatedir}/log/pcp
59923c
%global _pmnsdir  %{_localstatedir}/lib/pcp/pmns
59923c
%global _tempsdir %{_localstatedir}/lib/pcp/tmp
59923c
%global _pmdasdir %{_localstatedir}/lib/pcp/pmdas
59923c
%global _testsdir %{_localstatedir}/lib/pcp/testsuite
59923c
%global _selinuxdir %{_localstatedir}/lib/pcp/selinux
59923c
%global _logconfdir %{_localstatedir}/lib/pcp/config/pmlogconf
87cc1f
%global _ieconfdir %{_localstatedir}/lib/pcp/config/pmieconf
59923c
%global _pixmapdir %{_datadir}/pcp-gui/pixmaps
59923c
%global _hicolordir %{_datadir}/icons/hicolor
59923c
%global _booksdir %{_datadir}/doc/pcp-doc
59923c
59923c
%if 0%{?fedora} >= 20 || 0%{?rhel} >= 8
59923c
%global _with_doc --with-docdir=%{_docdir}/%{name}
59923c
%endif
59923c
59923c
%if 0%{?fedora} >= 29 || 0%{?rhel} >= 8
59923c
%global _with_dstat --with-dstat-symlink=yes
59923c
%global disable_dstat 0
59923c
%else
59923c
%global _with_dstat --with-dstat-symlink=no
59923c
%global disable_dstat 1
59923c
%endif
59923c
59923c
%if !%{disable_systemd}
59923c
%global _initddir %{_datadir}/pcp/lib
59923c
%else
59923c
%global _initddir %{_sysconfdir}/rc.d/init.d
59923c
%global _with_initd --with-rcdir=%{_initddir}
59923c
%endif
59923c
59923c
# we never want Infiniband on s390 and armv7hl platforms
59923c
%ifarch s390 s390x armv7hl
59923c
%global disable_infiniband 1
59923c
%else
59923c
# we never want Infiniband on RHEL5 or earlier
59923c
%if 0%{?rhel} != 0 && 0%{?rhel} < 6
59923c
%global disable_infiniband 1
59923c
%else
59923c
%global disable_infiniband 0
59923c
%endif
59923c
%endif
59923c
59923c
%if !%{disable_infiniband}
59923c
%global _with_ib --with-infiniband=yes
59923c
%endif
59923c
59923c
%if %{disable_perfevent}
59923c
%global _with_perfevent --with-perfevent=no
59923c
%else
59923c
%global _with_perfevent --with-perfevent=yes
59923c
%endif
59923c
59923c
%if %{disable_podman}
59923c
%global _with_podman --with-podman=no
59923c
%else
59923c
%global _with_podman --with-podman=yes
59923c
%endif
59923c
59923c
%if %{disable_bcc}
59923c
%global _with_bcc --with-pmdabcc=no
59923c
%else
59923c
%global _with_bcc --with-pmdabcc=yes
59923c
%endif
59923c
59923c
%if %{disable_json}
59923c
%global _with_json --with-pmdajson=no
59923c
%else
59923c
%global _with_json --with-pmdajson=yes
59923c
%endif
59923c
59923c
%if %{disable_nutcracker}
59923c
%global _with_nutcracker --with-pmdanutcracker=no
59923c
%else
59923c
%global _with_nutcracker --with-pmdanutcracker=yes
59923c
%endif
59923c
59923c
%if %{disable_snmp}
59923c
%global _with_snmp --with-pmdasnmp=no
59923c
%else
59923c
%global _with_snmp --with-pmdasnmp=yes
59923c
%endif
59923c
59923c
%if %{disable_webapps}
59923c
%global _with_webapps --with-webapps=no
59923c
%else
59923c
%global _with_webapps --with-webapps=yes
59923c
%endif
59923c
59923c
%global pmda_remove() %{expand:
59923c
if [ %1 -eq 0 ]
59923c
then
59923c
    if [ -f "%{_confdir}/pmcd/pmcd.conf" -a -f "%{_pmdasdir}/%2/domain.h" ]
59923c
    then
59923c
	(cd %{_pmdasdir}/%2/ && ./Remove >/dev/null 2>&1)
59923c
    fi
59923c
fi
59923c
}
59923c
59923c
%global selinux_handle_policy() %{expand:
59923c
if [ %1 -ge 1 ]
59923c
then
59923c
    %{_libexecdir}/pcp/bin/selinux-setup %{_selinuxdir} install %2
59923c
elif [ %1 -eq 0 ]
59923c
then
59923c
    %{_libexecdir}/pcp/bin/selinux-setup %{_selinuxdir} remove %2
59923c
fi
59923c
}
59923c
59923c
%description
59923c
Performance Co-Pilot (PCP) provides a framework and services to support
59923c
system-level performance monitoring and performance management.
59923c
59923c
The PCP open source release provides a unifying abstraction for all of
59923c
the interesting performance data in a system, and allows client
59923c
applications to easily retrieve and process any subset of that data.
59923c
59923c
#
59923c
# pcp-conf
59923c
#
59923c
%package conf
59923c
License: LGPLv2+
59923c
Summary: Performance Co-Pilot run-time configuration
59923c
URL: https://pcp.io
59923c
59923c
# http://fedoraproject.org/wiki/Packaging:Conflicts "Splitting Packages"
59923c
Conflicts: pcp-libs < 3.9
59923c
59923c
%description conf
59923c
Performance Co-Pilot (PCP) run-time configuration
59923c
59923c
#
59923c
# pcp-libs
59923c
#
59923c
%package libs
59923c
License: LGPLv2+
59923c
Summary: Performance Co-Pilot run-time libraries
59923c
URL: https://pcp.io
59923c
Requires: pcp-conf = %{version}-%{release}
59923c
59923c
%description libs
59923c
Performance Co-Pilot (PCP) run-time libraries
59923c
59923c
#
59923c
# pcp-libs-devel
59923c
#
59923c
%package libs-devel
59923c
License: GPLv2+ and LGPLv2+
59923c
Summary: Performance Co-Pilot (PCP) development headers
59923c
URL: https://pcp.io
59923c
Requires: pcp = %{version}-%{release} pcp-libs = %{version}-%{release}
59923c
59923c
%description libs-devel
59923c
Performance Co-Pilot (PCP) headers for development.
59923c
59923c
#
59923c
# pcp-devel
59923c
#
59923c
%package devel
59923c
License: GPLv2+ and LGPLv2+
59923c
Summary: Performance Co-Pilot (PCP) development tools and documentation
59923c
URL: https://pcp.io
59923c
Requires: pcp = %{version}-%{release}
59923c
Requires: pcp-libs = %{version}-%{release}
59923c
Requires: pcp-libs-devel = %{version}-%{release}
59923c
59923c
%description devel
59923c
Performance Co-Pilot (PCP) documentation and tools for development.
59923c
59923c
#
59923c
# pcp-testsuite
59923c
#
59923c
%package testsuite
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot (PCP) test suite
59923c
URL: https://pcp.io
59923c
Requires: pcp = %{version}-%{release}
59923c
Requires: pcp-libs = %{version}-%{release}
59923c
Requires: pcp-libs-devel = %{version}-%{release}
59923c
Requires: pcp-devel = %{version}-%{release}
59923c
Obsoletes: pcp-gui-testsuite
59923c
# The following are inherited from pcp-collector and pcp-monitor,
59923c
# both of which are now obsoleted by the base pcp package
59923c
Requires: pcp-pmda-activemq pcp-pmda-bonding pcp-pmda-dbping pcp-pmda-ds389 pcp-pmda-ds389log
59923c
Requires: pcp-pmda-elasticsearch pcp-pmda-gpfs pcp-pmda-gpsd pcp-pmda-lustre
59923c
Requires: pcp-pmda-memcache pcp-pmda-mysql pcp-pmda-named pcp-pmda-netfilter pcp-pmda-news
59923c
Requires: pcp-pmda-nginx pcp-pmda-nfsclient pcp-pmda-pdns pcp-pmda-postfix pcp-pmda-postgresql pcp-pmda-oracle
59923c
Requires: pcp-pmda-samba pcp-pmda-slurm pcp-pmda-vmware pcp-pmda-zimbra
59923c
Requires: pcp-pmda-dm pcp-pmda-apache
59923c
Requires: pcp-pmda-bash pcp-pmda-cisco pcp-pmda-gfs2 pcp-pmda-mailq pcp-pmda-mounts
59923c
Requires: pcp-pmda-nvidia-gpu pcp-pmda-roomtemp pcp-pmda-sendmail pcp-pmda-shping pcp-pmda-smart
59923c
Requires: pcp-pmda-lustrecomm pcp-pmda-logger pcp-pmda-docker pcp-pmda-bind2
59923c
%if !%{disable_podman}
59923c
Requires: pcp-pmda-podman
59923c
%endif
59923c
%if !%{disable_nutcracker}
59923c
Requires: pcp-pmda-nutcracker
59923c
%endif
59923c
%if !%{disable_bcc}
59923c
Requires: pcp-pmda-bcc
59923c
%endif
59923c
%if !%{disable_python2} || !%{disable_python3}
59923c
Requires: pcp-pmda-gluster pcp-pmda-zswap pcp-pmda-unbound pcp-pmda-mic
59923c
Requires: pcp-pmda-libvirt pcp-pmda-lio pcp-pmda-prometheus pcp-pmda-haproxy
59923c
Requires: pcp-pmda-lmsensors
59923c
%endif
59923c
%if !%{disable_snmp}
59923c
Requires: pcp-pmda-snmp
59923c
%endif
59923c
%if !%{disable_json}
59923c
Requires: pcp-pmda-json
59923c
%endif
59923c
%if !%{disable_rpm}
59923c
Requires: pcp-pmda-rpm
59923c
%endif
59923c
Requires: pcp-pmda-summary pcp-pmda-trace pcp-pmda-weblog
59923c
%if !%{disable_microhttpd}
59923c
Requires: pcp-webapi
59923c
%endif
59923c
%if !%{disable_python2} || !%{disable_python3}
59923c
Requires: pcp-system-tools
59923c
%endif
59923c
%if !%{disable_qt}
59923c
Requires: pcp-gui
59923c
%endif
59923c
Requires: bc gcc gzip bzip2
59923c
Requires: redhat-rpm-config
59923c
59923c
%description testsuite
59923c
Quality assurance test suite for Performance Co-Pilot (PCP).
59923c
# end testsuite
59923c
59923c
#
59923c
# pcp-manager
59923c
#
59923c
%package manager
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot (PCP) manager daemon
59923c
URL: https://pcp.io
59923c
Requires: pcp = %{version}-%{release} pcp-libs = %{version}-%{release}
59923c
59923c
%description manager
59923c
An optional daemon (pmmgr) that manages a collection of pmlogger and
59923c
pmie daemons, for a set of discovered local and remote hosts running
59923c
the performance metrics collection daemon (pmcd).  It ensures these
59923c
daemons are running when appropriate, and manages their log rotation
59923c
needs.  It is an alternative to the cron-based pmlogger/pmie service
59923c
scripts.
59923c
59923c
%if !%{disable_microhttpd}
59923c
#
59923c
# pcp-webapi
59923c
#
59923c
%package webapi
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot (PCP) web API service
59923c
URL: https://pcp.io
59923c
Requires: pcp = %{version}-%{release} pcp-libs = %{version}-%{release}
59923c
Requires: liberation-sans-fonts
59923c
59923c
%description webapi
59923c
Provides a daemon (pmwebd) that binds a large subset of the Performance
59923c
Co-Pilot (PCP) client API (PMAPI) to RESTful web applications using the
59923c
HTTP (PMWEBAPI) protocol.
59923c
%endif
59923c
59923c
%if !%{disable_webapps}
59923c
#
59923c
# pcp-webjs and pcp-webapp packages
59923c
#
59923c
%package webjs
59923c
License: ASL 2.0 and MIT and CC-BY and GPLv3
59923c
Conflicts: pcp-webjs < 3.11.9
59923c
%if !%{disable_noarch}
59923c
BuildArch: noarch
59923c
%endif
59923c
Requires: pcp-webapp-vector pcp-webapp-blinkenlights
59923c
Requires: pcp-webapp-graphite pcp-webapp-grafana
59923c
Summary: Performance Co-Pilot (PCP) web applications
59923c
URL: https://pcp.io
59923c
59923c
%description webjs
59923c
Javascript web application content for the Performance Co-Pilot (PCP)
59923c
web service.
59923c
59923c
%package webapp-vector
59923c
License: ASL 2.0
59923c
%if !%{disable_noarch}
59923c
BuildArch: noarch
59923c
%endif
59923c
Summary: Vector web application for Performance Co-Pilot (PCP)
59923c
URL: https://github.com/Netflix/vector
59923c
59923c
%description webapp-vector
59923c
Vector web application for the Performance Co-Pilot (PCP).
59923c
59923c
%package webapp-grafana
59923c
License: ASL 2.0
59923c
Conflicts: pcp-webjs < 3.10.4
59923c
%if !%{disable_noarch}
59923c
BuildArch: noarch
59923c
%endif
59923c
Summary: Grafana web application for Performance Co-Pilot (PCP)
59923c
URL: https://grafana.org
59923c
59923c
%description webapp-grafana
59923c
Grafana is an open source, feature rich metrics dashboard and graph
59923c
editor.  This package provides a Grafana that uses the Performance
59923c
Co-Pilot (PCP) as the data repository.  Other Grafana backends are
59923c
not used.
59923c
59923c
Grafana can render time series dashboards at the browser via flot.js
59923c
(more interactive, slower, for beefy browsers) or alternately at the
59923c
server via png (less interactive, faster).
59923c
59923c
%package webapp-graphite
59923c
License: ASL 2.0 and GPLv3
59923c
Conflicts: pcp-webjs < 3.10.4
59923c
%if !%{disable_noarch}
59923c
BuildArch: noarch
59923c
%endif
59923c
Summary: Graphite web application for Performance Co-Pilot (PCP)
59923c
URL: http://graphite.readthedocs.org
59923c
59923c
%description webapp-graphite
59923c
Graphite is a highly scalable real-time graphing system. This package
59923c
provides a graphite version that uses the Performance Co-Pilot (PCP)
59923c
as the data repository, and Graphites web interface renders it. The
59923c
Carbon and Whisper subsystems of Graphite are not included nor used.
59923c
59923c
%package webapp-blinkenlights
59923c
License: ASL 2.0
59923c
%if !%{disable_noarch}
59923c
BuildArch: noarch
59923c
%endif
59923c
Summary: Blinking lights web application for Performance Co-Pilot (PCP)
59923c
URL: https://pcp.io
59923c
59923c
%description webapp-blinkenlights
59923c
Demo web application showing traffic lights that change colour based
59923c
on the periodic evaluation of performance metric expressions.
59923c
%endif
59923c
59923c
#
59923c
# perl-PCP-PMDA. This is the PCP agent perl binding.
59923c
#
59923c
%package -n perl-PCP-PMDA
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot (PCP) Perl bindings and documentation
59923c
URL: https://pcp.io
59923c
Requires: pcp-libs = %{version}-%{release}
59923c
Requires: %{perl_interpreter}
59923c
59923c
%description -n perl-PCP-PMDA
59923c
The PCP::PMDA Perl module contains the language bindings for
59923c
building Performance Metric Domain Agents (PMDAs) using Perl.
59923c
Each PMDA exports performance data for one specific domain, for
59923c
example the operating system kernel, Cisco routers, a database,
59923c
an application, etc.
59923c
59923c
#
59923c
# perl-PCP-MMV
59923c
#
59923c
%package -n perl-PCP-MMV
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot (PCP) Perl bindings for PCP Memory Mapped Values
59923c
URL: https://pcp.io
59923c
Requires: pcp-libs = %{version}-%{release}
59923c
Requires: %{perl_interpreter}
59923c
59923c
%description -n perl-PCP-MMV
59923c
The PCP::MMV module contains the Perl language bindings for
59923c
building scripts instrumented with the Performance Co-Pilot
59923c
(PCP) Memory Mapped Value (MMV) mechanism.
59923c
This mechanism allows arbitrary values to be exported from an
59923c
instrumented script into the PCP infrastructure for monitoring
59923c
and analysis with pmchart, pmie, pmlogger and other PCP tools.
59923c
59923c
#
59923c
# perl-PCP-LogImport
59923c
#
59923c
%package -n perl-PCP-LogImport
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot (PCP) Perl bindings for importing external data into PCP archives
59923c
URL: https://pcp.io
59923c
Requires: pcp-libs = %{version}-%{release}
59923c
Requires: %{perl_interpreter}
59923c
59923c
%description -n perl-PCP-LogImport
59923c
The PCP::LogImport module contains the Perl language bindings for
59923c
importing data in various 3rd party formats into PCP archives so
59923c
they can be replayed with standard PCP monitoring tools.
59923c
59923c
#
59923c
# perl-PCP-LogSummary
59923c
#
59923c
%package -n perl-PCP-LogSummary
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot (PCP) Perl bindings for post-processing output of pmlogsummary
59923c
URL: https://pcp.io
59923c
Requires: pcp-libs = %{version}-%{release}
59923c
Requires: %{perl_interpreter}
59923c
59923c
%description -n perl-PCP-LogSummary
59923c
The PCP::LogSummary module provides a Perl module for using the
59923c
statistical summary data produced by the Performance Co-Pilot
59923c
pmlogsummary utility.  This utility produces various averages,
59923c
minima, maxima, and other calculations based on the performance
59923c
data stored in a PCP archive.  The Perl interface is ideal for
59923c
exporting this data into third-party tools (e.g. spreadsheets).
59923c
59923c
#
59923c
# pcp-import-sar2pcp
59923c
#
59923c
%package import-sar2pcp
59923c
License: LGPLv2+
59923c
Summary: Performance Co-Pilot tools for importing sar data into PCP archive logs
59923c
URL: https://pcp.io
59923c
Requires: pcp-libs = %{version}-%{release}
59923c
Requires: perl-PCP-LogImport = %{version}-%{release}
59923c
Requires: perl(XML::TokeParser)
59923c
59923c
%description import-sar2pcp
59923c
Performance Co-Pilot (PCP) front-end tools for importing sar data
59923c
into standard PCP archive logs for replay with any PCP monitoring tool.
59923c
59923c
#
59923c
# pcp-import-iostat2pcp
59923c
#
59923c
%package import-iostat2pcp
59923c
License: LGPLv2+
59923c
Summary: Performance Co-Pilot tools for importing iostat data into PCP archive logs
59923c
URL: https://pcp.io
59923c
Requires: pcp-libs = %{version}-%{release}
59923c
Requires: perl-PCP-LogImport = %{version}-%{release}
59923c
59923c
%description import-iostat2pcp
59923c
Performance Co-Pilot (PCP) front-end tools for importing iostat data
59923c
into standard PCP archive logs for replay with any PCP monitoring tool.
59923c
59923c
#
59923c
# pcp-import-mrtg2pcp
59923c
#
59923c
%package import-mrtg2pcp
59923c
License: LGPLv2+
59923c
Summary: Performance Co-Pilot tools for importing MTRG data into PCP archive logs
59923c
URL: https://pcp.io
59923c
Requires: pcp-libs = %{version}-%{release}
59923c
Requires: perl-PCP-LogImport = %{version}-%{release}
59923c
59923c
%description import-mrtg2pcp
59923c
Performance Co-Pilot (PCP) front-end tools for importing MTRG data
59923c
into standard PCP archive logs for replay with any PCP monitoring tool.
59923c
59923c
#
59923c
# pcp-import-ganglia2pcp
59923c
#
59923c
%package import-ganglia2pcp
59923c
License: LGPLv2+
59923c
Summary: Performance Co-Pilot tools for importing ganglia data into PCP archive logs
59923c
URL: https://pcp.io
59923c
Requires: pcp-libs = %{version}-%{release}
59923c
Requires: perl-PCP-LogImport = %{version}-%{release}
59923c
59923c
%description import-ganglia2pcp
59923c
Performance Co-Pilot (PCP) front-end tools for importing ganglia data
59923c
into standard PCP archive logs for replay with any PCP monitoring tool.
59923c
59923c
#
59923c
# pcp-import-collectl2pcp
59923c
#
59923c
%package import-collectl2pcp
59923c
License: LGPLv2+
59923c
Summary: Performance Co-Pilot tools for importing collectl log files into PCP archive logs
59923c
URL: https://pcp.io
59923c
Requires: pcp-libs = %{version}-%{release}
59923c
59923c
%description import-collectl2pcp
59923c
Performance Co-Pilot (PCP) front-end tools for importing collectl data
59923c
into standard PCP archive logs for replay with any PCP monitoring tool.
59923c
59923c
#
59923c
# pcp-export-zabbix-agent
59923c
#
59923c
%package export-zabbix-agent
59923c
License: GPLv2+
59923c
Summary: Module for exporting PCP metrics to Zabbix agent
59923c
URL: https://pcp.io
59923c
Requires: pcp-libs = %{version}-%{release}
59923c
59923c
%description export-zabbix-agent
59923c
Performance Co-Pilot (PCP) module for exporting metrics from PCP to
59923c
Zabbix via the Zabbix agent - see zbxpcp(3) for further details.
59923c
59923c
%if !%{disable_python2} || !%{disable_python3}
59923c
#
59923c
# pcp-export-pcp2elasticsearch
59923c
#
59923c
%package export-pcp2elasticsearch
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot tools for exporting PCP metrics to ElasticSearch
59923c
URL: https://pcp.io
59923c
Requires: pcp-libs >= %{version}-%{release}
59923c
%if !%{disable_python3}
59923c
Requires: python3-pcp = %{version}-%{release}
59923c
Requires: python3-requests
59923c
BuildRequires: python3-requests
59923c
%else
59923c
Requires: %{__python2}-pcp = %{version}-%{release}
59923c
Requires: %{__python2}-requests
59923c
BuildRequires: %{__python2}-requests
59923c
%endif
59923c
59923c
%description export-pcp2elasticsearch
59923c
Performance Co-Pilot (PCP) front-end tools for exporting metric values
59923c
to Elasticsearch - a distributed, RESTful search and analytics engine.
59923c
See https://www.elastic.co/community for further details.
59923c
59923c
#
59923c
# pcp-export-pcp2graphite
59923c
#
59923c
%package export-pcp2graphite
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot tools for exporting PCP metrics to Graphite
59923c
URL: https://pcp.io
59923c
Requires: pcp-libs >= %{version}-%{release}
59923c
%if !%{disable_python3}
59923c
Requires: python3-pcp = %{version}-%{release}
59923c
%else
59923c
Requires: %{__python2}-pcp = %{version}-%{release}
59923c
%endif
59923c
59923c
%description export-pcp2graphite
59923c
Performance Co-Pilot (PCP) front-end tools for exporting metric values
59923c
to graphite (http://graphite.readthedocs.org).
59923c
59923c
# pcp-export-pcp2influxdb
59923c
#
59923c
%package export-pcp2influxdb
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot tools for exporting PCP metrics to InfluxDB
59923c
URL: https://pcp.io
59923c
Requires: pcp-libs >= %{version}-%{release}
59923c
%if !%{disable_python3}
59923c
Requires: python3-pcp = %{version}-%{release}
59923c
Requires: python3-requests
59923c
%else
59923c
Requires: %{__python2}-pcp = %{version}-%{release}
59923c
Requires: %{__python2}-requests
59923c
%endif
59923c
59923c
%description export-pcp2influxdb
59923c
Performance Co-Pilot (PCP) front-end tools for exporting metric values
59923c
to InfluxDB (https://influxdata.com/time-series-platform/influxdb).
59923c
59923c
#
59923c
# pcp-export-pcp2json
59923c
#
59923c
%package export-pcp2json
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot tools for exporting PCP metrics in JSON format
59923c
URL: https://pcp.io
59923c
Requires: pcp-libs >= %{version}-%{release}
59923c
%if !%{disable_python3}
59923c
Requires: python3-pcp = %{version}-%{release}
59923c
%else
59923c
Requires: %{__python2}-pcp = %{version}-%{release}
59923c
%endif
59923c
59923c
%description export-pcp2json
59923c
Performance Co-Pilot (PCP) front-end tools for exporting metric values
59923c
in JSON format.
59923c
59923c
#
59923c
# pcp-export-pcp2spark
59923c
#
59923c
%package export-pcp2spark
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot tools for exporting PCP metrics to Apache Spark
59923c
URL: https://pcp.io
59923c
Requires: pcp-libs >= %{version}-%{release}
59923c
%if !%{disable_python3}
59923c
Requires: python3-pcp = %{version}-%{release}
59923c
%else
59923c
Requires: %{__python2}-pcp = %{version}-%{release}
59923c
%endif
59923c
59923c
%description export-pcp2spark
59923c
Performance Co-Pilot (PCP) front-end tools for exporting metric values
59923c
in JSON format to Apache Spark. See https://spark.apache.org/ for
59923c
further details on Apache Spark.
59923c
59923c
#
59923c
# pcp-export-pcp2xlsx
59923c
#
59923c
%if !%{disable_xlsx}
59923c
%package export-pcp2xlsx
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot tools for exporting PCP metrics to Excel
59923c
URL: https://pcp.io
59923c
Requires: pcp-libs >= %{version}-%{release}
59923c
%if !%{disable_python3}
59923c
Requires: python3-pcp = %{version}-%{release}
59923c
Requires: python3-openpyxl
59923c
BuildRequires: python3-openpyxl
59923c
%else
59923c
Requires: %{__python2}-pcp = %{version}-%{release}
59923c
Requires: %{__python2}-openpyxl
59923c
BuildRequires: %{__python2}-openpyxl
59923c
%endif
59923c
59923c
%description export-pcp2xlsx
59923c
Performance Co-Pilot (PCP) front-end tools for exporting metric values
59923c
in Excel spreadsheet format.
59923c
%endif
59923c
#
59923c
# pcp-export-pcp2xml
59923c
#
59923c
%package export-pcp2xml
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot tools for exporting PCP metrics in XML format
59923c
URL: https://pcp.io
59923c
Requires: pcp-libs >= %{version}-%{release}
59923c
%if !%{disable_python3}
59923c
Requires: python3-pcp = %{version}-%{release}
59923c
%else
59923c
Requires: %{__python2}-pcp = %{version}-%{release}
59923c
%endif
59923c
59923c
%description export-pcp2xml
59923c
Performance Co-Pilot (PCP) front-end tools for exporting metric values
59923c
in XML format.
59923c
59923c
#
59923c
# pcp-export-pcp2zabbix
59923c
#
59923c
%package export-pcp2zabbix
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot tools for exporting PCP metrics to Zabbix
59923c
URL: https://pcp.io
59923c
Requires: pcp-libs >= %{version}-%{release}
59923c
%if !%{disable_python3}
59923c
Requires: python3-pcp = %{version}-%{release}
59923c
%else
59923c
Requires: %{__python2}-pcp = %{version}-%{release}
59923c
%endif
59923c
59923c
%description export-pcp2zabbix
59923c
Performance Co-Pilot (PCP) front-end tools for exporting metric values
59923c
to the Zabbix (https://www.zabbix.org/) monitoring software.
59923c
%endif
59923c
59923c
%if !%{disable_podman}
59923c
#
59923c
# pcp-pmda-podman
59923c
#
59923c
%package pmda-podman
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot (PCP) metrics for podman containers
59923c
URL: https://pcp.io
59923c
Requires: pcp = %{version}-%{release} pcp-libs = %{version}-%{release}
59923c
Requires: libvarlink
59923c
BuildRequires: libvarlink-devel
59923c
59923c
%description pmda-podman
59923c
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
59923c
collecting podman container and pod statistics through libvarlink.
59923c
%endif
59923c
59923c
%if !%{disable_perfevent}
59923c
#
59923c
# pcp-pmda-perfevent
59923c
#
59923c
%package pmda-perfevent
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot (PCP) metrics for hardware counters
59923c
URL: https://pcp.io
59923c
Requires: pcp = %{version}-%{release} pcp-libs = %{version}-%{release}
59923c
Requires: libpfm >= 4
59923c
BuildRequires: libpfm-devel >= 4
59923c
Obsoletes: pcp-pmda-papi pcp-pmda-papi-debuginfo
59923c
59923c
%description pmda-perfevent
59923c
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
59923c
collecting hardware counters statistics through libpfm.
59923c
%endif
59923c
59923c
%if !%{disable_infiniband}
59923c
#
59923c
# pcp-pmda-infiniband
59923c
#
59923c
%package pmda-infiniband
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot (PCP) metrics for Infiniband HCAs and switches
59923c
URL: https://pcp.io
59923c
Requires: pcp = %{version}-%{release} pcp-libs = %{version}-%{release}
59923c
Requires: libibmad >= 1.3.7 libibumad >= 1.3.7
59923c
BuildRequires: libibmad-devel >= 1.3.7 libibumad-devel >= 1.3.7
59923c
59923c
%description pmda-infiniband
59923c
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
59923c
collecting Infiniband statistics.  By default, it monitors the local HCAs
59923c
but can also be configured to monitor remote GUIDs such as IB switches.
59923c
%endif
59923c
59923c
#
59923c
# pcp-pmda-activemq
59923c
#
59923c
%package pmda-activemq
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot (PCP) metrics for ActiveMQ
59923c
URL: https://pcp.io
59923c
Requires: perl-PCP-PMDA = %{version}-%{release}
59923c
Requires: perl(LWP::UserAgent)
59923c
59923c
%description pmda-activemq
59923c
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
59923c
collecting metrics about the ActiveMQ message broker.
59923c
#end pcp-pmda-activemq
59923c
59923c
#
59923c
# pcp-pmda-bind2
59923c
#
59923c
%package pmda-bind2
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot (PCP) metrics for BIND servers
59923c
URL: https://pcp.io
59923c
Requires: perl-PCP-PMDA = %{version}-%{release}
59923c
Requires: perl(LWP::UserAgent)
59923c
Requires: perl(XML::LibXML)
59923c
Requires: perl(File::Slurp)
59923c
59923c
%description pmda-bind2
59923c
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
59923c
collecting metrics from BIND (Berkeley Internet Name Domain).
59923c
#end pcp-pmda-bind2
59923c
59923c
#
59923c
# pcp-pmda-redis
59923c
#
59923c
%package pmda-redis
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot (PCP) metrics for Redis
59923c
URL: https://pcp.io
59923c
Requires: perl-PCP-PMDA = %{version}-%{release}
59923c
59923c
%description pmda-redis
59923c
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
59923c
collecting metrics from Redis servers (redis.io).
59923c
#end pcp-pmda-redis
59923c
59923c
%if !%{disable_nutcracker}
59923c
#
59923c
# pcp-pmda-nutcracker
59923c
#
59923c
%package pmda-nutcracker
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot (PCP) metrics for NutCracker (TwemCache)
59923c
URL: https://pcp.io
59923c
Requires: perl-PCP-PMDA = %{version}-%{release}
59923c
Requires: perl(YAML::XS::LibYAML)
59923c
Requires: perl(JSON)
59923c
59923c
%description pmda-nutcracker
59923c
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
59923c
collecting metrics from NutCracker (TwemCache).
59923c
#end pcp-pmda-nutcracker
59923c
%endif
59923c
59923c
#
59923c
# pcp-pmda-bonding
59923c
#
59923c
%package pmda-bonding
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot (PCP) metrics for Bonded network interfaces
59923c
URL: https://pcp.io
59923c
Requires: perl-PCP-PMDA = %{version}-%{release}
59923c
59923c
%description pmda-bonding
59923c
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
59923c
collecting metrics about bonded network interfaces.
59923c
#end pcp-pmda-bonding
59923c
59923c
#
59923c
# pcp-pmda-dbping
59923c
#
59923c
%package pmda-dbping
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot (PCP) metrics for Database response times and Availablility
59923c
URL: https://pcp.io
59923c
Requires: perl-PCP-PMDA = %{version}-%{release}
59923c
59923c
%description pmda-dbping
59923c
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
59923c
collecting metrics about the Database response times and Availablility.
59923c
#end pcp-pmda-dbping
59923c
59923c
#
59923c
# pcp-pmda-ds389
59923c
#
59923c
%package pmda-ds389
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot (PCP) metrics for 389 Directory Servers
59923c
URL: https://pcp.io
59923c
Requires: perl-PCP-PMDA = %{version}-%{release}
59923c
%if 0%{?rhel} <= 7
59923c
Requires: perl-LDAP
59923c
%endif
59923c
59923c
%description pmda-ds389
59923c
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
59923c
collecting metrics about a 389 Directory Server.
59923c
#end pcp-pmda-ds389
59923c
59923c
#
59923c
# pcp-pmda-ds389log
59923c
#
59923c
%package pmda-ds389log
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot (PCP) metrics for 389 Directory Server Loggers
59923c
URL: https://pcp.io
59923c
Requires: perl-PCP-PMDA = %{version}-%{release}
59923c
Requires: perl-Date-Manip
59923c
59923c
%description pmda-ds389log
59923c
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
59923c
collecting metrics from a 389 Directory Server log.
59923c
#end pcp-pmda-ds389log
59923c
59923c
59923c
#
59923c
# pcp-pmda-gpfs
59923c
#
59923c
%package pmda-gpfs
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot (PCP) metrics for GPFS Filesystem
59923c
URL: https://pcp.io
59923c
Requires: perl-PCP-PMDA = %{version}-%{release}
59923c
59923c
%description pmda-gpfs
59923c
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
59923c
collecting metrics about the GPFS filesystem.
59923c
#end pcp-pmda-gpfs
59923c
59923c
#
59923c
# pcp-pmda-gpsd
59923c
#
59923c
%package pmda-gpsd
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot (PCP) metrics for a GPS Daemon
59923c
URL: https://pcp.io
59923c
Requires: perl-PCP-PMDA = %{version}-%{release}
59923c
59923c
%description pmda-gpsd
59923c
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
59923c
collecting metrics about a GPS Daemon.
59923c
#end pcp-pmda-gpsd
59923c
59923c
#
59923c
# pcp-pmda-docker
59923c
#
59923c
%package pmda-docker
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot (PCP) metrics from the Docker daemon
59923c
URL: https://pcp.io
59923c
Requires: pcp = %{version}-%{release} pcp-libs = %{version}-%{release}
59923c
59923c
%description pmda-docker
59923c
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
59923c
collecting metrics using the Docker daemon REST API.
59923c
#end pcp-pmda-docker
59923c
59923c
#
59923c
# pcp-pmda-lustre
59923c
#
59923c
%package pmda-lustre
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot (PCP) metrics for the Lustre Filesytem
59923c
URL: https://pcp.io
59923c
Requires: perl-PCP-PMDA = %{version}-%{release}
59923c
59923c
%description pmda-lustre
59923c
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
59923c
collecting metrics about the Lustre Filesystem.
59923c
#end pcp-pmda-lustre
59923c
59923c
#
59923c
# pcp-pmda-lustrecomm
59923c
#
59923c
%package pmda-lustrecomm
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot (PCP) metrics for the Lustre Filesytem Comms
59923c
URL: https://pcp.io
59923c
Requires: pcp = %{version}-%{release}
59923c
Requires: pcp-libs = %{version}-%{release}
59923c
59923c
%description pmda-lustrecomm
59923c
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
59923c
collecting metrics about the Lustre Filesystem Comms.
59923c
#end pcp-pmda-lustrecomm
59923c
59923c
#
59923c
# pcp-pmda-memcache
59923c
#
59923c
%package pmda-memcache
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot (PCP) metrics for Memcached
59923c
URL: https://pcp.io
59923c
Requires: perl-PCP-PMDA = %{version}-%{release}
59923c
59923c
%description pmda-memcache
59923c
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
59923c
collecting metrics about Memcached.
59923c
#end pcp-pmda-memcache
59923c
59923c
#
59923c
# pcp-pmda-mysql
59923c
#
59923c
%package pmda-mysql
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot (PCP) metrics for MySQL
59923c
URL: https://pcp.io
59923c
Requires: perl-PCP-PMDA = %{version}-%{release}
59923c
Requires: perl(DBI) perl(DBD::mysql)
59923c
BuildRequires: perl(DBI) perl(DBD::mysql)
59923c
59923c
%description pmda-mysql
59923c
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
59923c
collecting metrics about the MySQL database.
59923c
#end pcp-pmda-mysql
59923c
59923c
#
59923c
# pcp-pmda-named
59923c
#
59923c
%package pmda-named
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot (PCP) metrics for Named
59923c
URL: https://pcp.io
59923c
Requires: perl-PCP-PMDA = %{version}-%{release}
59923c
59923c
%description pmda-named
59923c
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
59923c
collecting metrics about the Named nameserver.
59923c
#end pcp-pmda-named
59923c
59923c
# pcp-pmda-netfilter
59923c
#
59923c
%package pmda-netfilter
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot (PCP) metrics for Netfilter framework
59923c
URL: https://pcp.io
59923c
Requires: perl-PCP-PMDA = %{version}-%{release}
59923c
59923c
%description pmda-netfilter
59923c
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
59923c
collecting metrics about the Netfilter packet filtering framework.
59923c
#end pcp-pmda-netfilter
59923c
59923c
#
59923c
# pcp-pmda-news
59923c
#
59923c
%package pmda-news
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot (PCP) metrics for Usenet News
59923c
URL: https://pcp.io
59923c
Requires: perl-PCP-PMDA = %{version}-%{release}
59923c
59923c
%description pmda-news
59923c
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
59923c
collecting metrics about Usenet News.
59923c
#end pcp-pmda-news
59923c
59923c
#
59923c
# pcp-pmda-nginx
59923c
#
59923c
%package pmda-nginx
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot (PCP) metrics for the Nginx Webserver
59923c
URL: https://pcp.io
59923c
Requires: perl-PCP-PMDA = %{version}-%{release}
59923c
Requires: perl(LWP::UserAgent)
59923c
BuildRequires: perl(LWP::UserAgent)
59923c
59923c
%description pmda-nginx
59923c
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
59923c
collecting metrics about the Nginx Webserver.
59923c
#end pcp-pmda-nginx
59923c
59923c
#
59923c
# pcp-pmda-oracle
59923c
#
59923c
%package pmda-oracle
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot (PCP) metrics for the Oracle database
59923c
URL: https://pcp.io
59923c
Requires: perl-PCP-PMDA = %{version}-%{release}
59923c
Requires: perl(DBI)
59923c
BuildRequires: perl(DBI)
59923c
59923c
%description pmda-oracle
59923c
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
59923c
collecting metrics about the Oracle database.
59923c
#end pcp-pmda-oracle
59923c
59923c
#
59923c
# pcp-pmda-pdns
59923c
#
59923c
%package pmda-pdns
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot (PCP) metrics for PowerDNS
59923c
URL: https://pcp.io
59923c
Requires: perl-PCP-PMDA = %{version}-%{release}
59923c
59923c
%description pmda-pdns
59923c
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
59923c
collecting metrics about the PowerDNS.
59923c
#end pcp-pmda-pdns
59923c
59923c
#
59923c
# pcp-pmda-postfix
59923c
#
59923c
%package pmda-postfix
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot (PCP) metrics for the Postfix (MTA)
59923c
URL: https://pcp.io
59923c
Requires: perl-PCP-PMDA = %{version}-%{release}
59923c
%if 0%{?fedora} > 16 || 0%{?rhel} > 5
59923c
Requires: postfix-perl-scripts
59923c
BuildRequires: postfix-perl-scripts
59923c
%endif
59923c
%if 0%{?rhel} <= 5
59923c
Requires: postfix
59923c
BuildRequires: postfix
59923c
%endif
59923c
%if "%{_vendor}" == "suse"
59923c
Requires: postfix-doc
59923c
BuildRequires: postfix-doc
59923c
%endif
59923c
59923c
%description pmda-postfix
59923c
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
59923c
collecting metrics about the Postfix (MTA).
59923c
#end pcp-pmda-postfix
59923c
59923c
#
59923c
# pcp-pmda-rsyslog
59923c
#
59923c
%package pmda-rsyslog
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot (PCP) metrics for Rsyslog
59923c
URL: https://pcp.io
59923c
Requires: perl-PCP-PMDA = %{version}-%{release}
59923c
59923c
%description pmda-rsyslog
59923c
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
59923c
collecting metrics about Rsyslog.
59923c
#end pcp-pmda-rsyslog
59923c
59923c
#
59923c
# pcp-pmda-samba
59923c
#
59923c
%package pmda-samba
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot (PCP) metrics for Samba
59923c
URL: https://pcp.io
59923c
Requires: perl-PCP-PMDA = %{version}-%{release}
59923c
59923c
%description pmda-samba
59923c
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
59923c
collecting metrics about Samba.
59923c
#end pcp-pmda-samba
59923c
59923c
#
59923c
# pcp-pmda-slurm
59923c
#
59923c
%package pmda-slurm
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot (PCP) metrics for the SLURM Workload Manager
59923c
URL: https://pcp.io
59923c
Requires: perl-PCP-PMDA = %{version}-%{release}
59923c
59923c
%description pmda-slurm
59923c
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
59923c
collecting metrics from the SLURM Workload Manager.
59923c
#end pcp-pmda-slurm
59923c
59923c
%if !%{disable_snmp}
59923c
#
59923c
# pcp-pmda-snmp
59923c
#
59923c
%package pmda-snmp
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot (PCP) metrics for Simple Network Management Protocol
59923c
URL: https://pcp.io
59923c
Requires: perl-PCP-PMDA = %{version}-%{release}
59923c
# There are no perl-Net-SNMP packages in rhel, disable unless non-rhel or epel5
59923c
%if 0%{?rhel} == 0 || 0%{?rhel} < 6
59923c
Requires: perl(Net::SNMP)
59923c
%endif
59923c
59923c
%description pmda-snmp
59923c
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
59923c
collecting metrics about SNMP.
59923c
#end pcp-pmda-snmp
59923c
%endif
59923c
59923c
#
59923c
# pcp-pmda-vmware
59923c
#
59923c
%package pmda-vmware
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot (PCP) metrics for VMware
59923c
URL: https://pcp.io
59923c
Requires: perl-PCP-PMDA = %{version}-%{release}
59923c
59923c
%description pmda-vmware
59923c
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
59923c
collecting metrics for VMware.
59923c
#end pcp-pmda-vmware
59923c
59923c
#
59923c
# pcp-pmda-zimbra
59923c
#
59923c
%package pmda-zimbra
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot (PCP) metrics for Zimbra
59923c
URL: https://pcp.io
59923c
Requires: perl-PCP-PMDA = %{version}-%{release}
59923c
59923c
%description pmda-zimbra
59923c
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
59923c
collecting metrics about Zimbra.
59923c
#end pcp-pmda-zimbra
59923c
59923c
#
59923c
# pcp-pmda-dm
59923c
#
59923c
%package pmda-dm
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot (PCP) metrics for the Device Mapper Cache and Thin Client
59923c
URL: https://pcp.io
59923c
Requires: pcp-libs = %{version}-%{release}
59923c
BuildRequires: device-mapper-devel
59923c
%description pmda-dm
59923c
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
59923c
collecting metrics about the Device Mapper Cache and Thin Client.
59923c
# end pcp-pmda-dm
59923c
59923c
59923c
%if !%{disable_bcc}
59923c
#
59923c
# pcp-pmda-bcc
59923c
#
59923c
%package pmda-bcc
59923c
License: ASL 2.0 and GPLv2+
59923c
Summary: Performance Co-Pilot (PCP) metrics from eBPF/BCC modules
59923c
URL: https://pcp.io
59923c
# note: must not require python3 here on el7!
59923c
Requires: %{__python2}-bcc
59923c
Requires: %{__python2}-pcp
59923c
%description pmda-bcc
59923c
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
59923c
extracting performance metrics from eBPF/BCC Python modules.
59923c
# end pcp-pmda-bcc
59923c
%endif
59923c
59923c
%if !%{disable_python2} || !%{disable_python3}
59923c
#
59923c
# pcp-pmda-gluster
59923c
#
59923c
%package pmda-gluster
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot (PCP) metrics for the Gluster filesystem
59923c
URL: https://pcp.io
59923c
%if !%{disable_python3}
59923c
Requires: python3-pcp
59923c
%else
59923c
Requires: %{__python2}-pcp
59923c
%endif
59923c
%description pmda-gluster
59923c
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
59923c
collecting metrics about the gluster filesystem.
59923c
# end pcp-pmda-gluster
59923c
59923c
#
59923c
# pcp-pmda-nfsclient
59923c
#
59923c
%package pmda-nfsclient
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot (PCP) metrics for NFS Clients
59923c
URL: https://pcp.io
59923c
%if !%{disable_python3}
59923c
Requires: python3-pcp
59923c
%else
59923c
Requires: %{__python2}-pcp
59923c
%endif
59923c
%description pmda-nfsclient
59923c
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
59923c
collecting metrics for NFS Clients.
59923c
#end pcp-pmda-nfsclient
59923c
59923c
#
59923c
# pcp-pmda-postgresql
59923c
#
59923c
%package pmda-postgresql
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot (PCP) metrics for PostgreSQL
59923c
URL: https://pcp.io
59923c
%if !%{disable_python3}
59923c
Requires: python3-pcp
59923c
Requires: python3-psycopg2
59923c
BuildRequires: python3-psycopg2
59923c
%else
59923c
Requires: %{__python2}-pcp
59923c
Requires: %{__python2}-psycopg2
59923c
BuildRequires: %{__python2}-psycopg2
59923c
%endif
59923c
%description pmda-postgresql
59923c
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
59923c
collecting metrics about the PostgreSQL database.
59923c
#end pcp-pmda-postgresql
59923c
59923c
#
59923c
# pcp-pmda-zswap
59923c
#
59923c
%package pmda-zswap
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot (PCP) metrics for compressed swap
59923c
URL: https://pcp.io
59923c
%if !%{disable_python3}
59923c
Requires: python3-pcp
59923c
%else
59923c
Requires: %{__python2}-pcp
59923c
%endif
59923c
%description pmda-zswap
59923c
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
59923c
collecting metrics about compressed swap.
59923c
# end pcp-pmda-zswap
59923c
59923c
#
59923c
# pcp-pmda-unbound
59923c
#
59923c
%package pmda-unbound
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot (PCP) metrics for the Unbound DNS Resolver
59923c
URL: https://pcp.io
59923c
%if !%{disable_python3}
59923c
Requires: python3-pcp
59923c
%else
59923c
Requires: %{__python2}-pcp
59923c
%endif
59923c
%description pmda-unbound
59923c
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
59923c
collecting metrics about the Unbound DNS Resolver.
59923c
# end pcp-pmda-unbound
59923c
59923c
#
59923c
# pcp-pmda-mic
59923c
#
59923c
%package pmda-mic
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot (PCP) metrics for Intel MIC cards
59923c
URL: https://pcp.io
59923c
%if !%{disable_python3}
59923c
Requires: python3-pcp
59923c
%else
59923c
Requires: %{__python2}-pcp
59923c
%endif
59923c
%description pmda-mic
59923c
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
59923c
collecting metrics about Intel MIC cards.
59923c
# end pcp-pmda-mic
59923c
59923c
#
59923c
# pcp-pmda-haproxy
59923c
#
59923c
%package pmda-haproxy
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot (PCP) metrics for HAProxy
59923c
URL: https://pcp.io
59923c
%if !%{disable_python3}
59923c
Requires: python3-pcp
59923c
%else
59923c
Requires: %{__python2}-pcp
59923c
%endif
59923c
%description pmda-haproxy
59923c
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
59923c
extracting performance metrics from HAProxy over the HAProxy stats socket.
59923c
# end pcp-pmda-haproxy
59923c
59923c
#
59923c
# pcp-pmda-libvirt
59923c
#
59923c
%package pmda-libvirt
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot (PCP) metrics for virtual machines
59923c
URL: https://pcp.io
59923c
%if !%{disable_python3}
59923c
Requires: python3-pcp
59923c
Requires: libvirt-python3 python3-lxml
59923c
BuildRequires: libvirt-python3 python3-lxml
59923c
%else
59923c
%if 0%{?rhel} == 0 || 0%{?fedora} >= 27
59923c
Requires: %{__python2}-pcp
59923c
Requires: %{__python2}-libvirt %{__python2}-lxml
59923c
BuildRequires: %{__python2}-libvirt %{__python2}-lxml
59923c
%endif
59923c
%if 0%{?rhel} > 5
59923c
Requires: %{__python2}-pcp
59923c
Requires: libvirt-%{__python2} %{__python2}-lxml
59923c
BuildRequires: libvirt-%{__python2} %{__python2}-lxml
59923c
%endif
59923c
%endif
59923c
%description pmda-libvirt
59923c
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
59923c
extracting virtualisation statistics from libvirt about behaviour of guest
59923c
and hypervisor machines.
59923c
# end pcp-pmda-libvirt
59923c
59923c
#
59923c
# pcp-pmda-elasticsearch
59923c
#
59923c
%package pmda-elasticsearch
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot (PCP) metrics for Elasticsearch
59923c
URL: https://pcp.io
59923c
%if !%{disable_python3}
59923c
Requires: python3-pcp
59923c
%else
59923c
Requires: %{__python2}-pcp
59923c
%endif
59923c
%description pmda-elasticsearch
59923c
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
59923c
collecting metrics about Elasticsearch.
59923c
#end pcp-pmda-elasticsearch
59923c
59923c
#
59923c
# pcp-pmda-lio
59923c
#
59923c
%package pmda-lio
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot (PCP) metrics for the LIO subsystem
59923c
URL: https://pcp.io
59923c
%if !%{disable_python3}
59923c
Requires: python3-pcp
59923c
Requires: python3-rtslib
59923c
BuildRequires: python3-rtslib
59923c
%else
59923c
Requires: %{__python2}-pcp
59923c
Requires: %{__python2}-rtslib
59923c
BuildRequires: %{__python2}-rtslib
59923c
%endif
59923c
%description pmda-lio
59923c
This package provides a PMDA to gather performance metrics from the kernels
59923c
iSCSI target interface (LIO). The metrics are stored by LIO within the Linux
59923c
kernels configfs filesystem. The PMDA provides per LUN level stats, and a
59923c
summary instance per iSCSI target, which aggregates all LUN metrics within the
59923c
target.
59923c
#end pcp-pmda-lio
59923c
59923c
#
59923c
# pcp-pmda-prometheus
59923c
#
59923c
%package pmda-prometheus
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot (PCP) metrics from Prometheus endpoints
59923c
URL: https://pcp.io
59923c
Requires: pcp-libs = %{version}-%{release}
59923c
%if !%{disable_python3}
59923c
Requires: python3-pcp
59923c
Requires: python3-requests
59923c
BuildRequires: python3-requests
59923c
%else
59923c
Requires: %{__python2}-pcp
59923c
Requires: %{__python2}-requests
59923c
BuildRequires: %{__python2}-requests
59923c
%endif
59923c
59923c
%description pmda-prometheus
59923c
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
59923c
extracting statistics from programs instrumented as Prometheus endpoints.
59923c
#end pcp-pmda-prometheus
59923c
59923c
#
59923c
# pcp-pmda-lmsensors
59923c
#
59923c
%package pmda-lmsensors
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot (PCP) metrics for hardware sensors
59923c
URL: https://pcp.io
59923c
Requires: pcp-libs = %{version}-%{release}
59923c
%if !%{disable_python3}
59923c
Requires: python3-pcp
59923c
%else
59923c
Requires: %{__python2}-pcp
59923c
%endif
59923c
# rewritten in python, so there is no longer a debuginfo package
59923c
Obsoletes: pcp-pmda-lmsensors-debuginfo
59923c
%description pmda-lmsensors
59923c
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
59923c
collecting metrics about the Linux hardware monitoring sensors.
59923c
# end pcp-pmda-lmsensors
59923c
59923c
%endif # !%{disable_python2} || !%{disable_python3}
59923c
59923c
%if !%{disable_json}
59923c
#
59923c
# pcp-pmda-json
59923c
#
59923c
%package pmda-json
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot (PCP) metrics for JSON data
59923c
URL: https://pcp.io
59923c
%if !%{disable_python3}
59923c
Requires: python3-pcp
59923c
Requires: python3-jsonpointer python3-six
59923c
BuildRequires: python3-jsonpointer python3-six
59923c
%else
59923c
Requires: %{__python2}-pcp
59923c
Requires: %{__python2}-jsonpointer %{__python2}-six
59923c
BuildRequires: %{__python2}-jsonpointer %{__python2}-six
59923c
%endif
59923c
%description pmda-json
59923c
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
59923c
collecting metrics output in JSON.
59923c
# end pcp-pmda-json
59923c
%endif # !%{disable_json}
59923c
59923c
#
59923c
# C pmdas
59923c
# pcp-pmda-apache
59923c
#
59923c
%package pmda-apache
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot (PCP) metrics for the Apache webserver
59923c
URL: https://pcp.io
59923c
Requires: pcp-libs = %{version}-%{release}
59923c
%description pmda-apache
59923c
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
59923c
collecting metrics about the Apache webserver.
59923c
# end pcp-pmda-apache
59923c
59923c
#
59923c
# pcp-pmda-bash
59923c
#
59923c
%package pmda-bash
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot (PCP) metrics for the Bash shell
59923c
URL: https://pcp.io
59923c
Requires: pcp-libs = %{version}-%{release}
59923c
%description pmda-bash
59923c
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
59923c
collecting metrics about the Bash shell.
59923c
# end pcp-pmda-bash
59923c
59923c
#
59923c
# pcp-pmda-cifs
59923c
#
59923c
%package pmda-cifs
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot (PCP) metrics for the CIFS protocol
59923c
URL: https://pcp.io
59923c
Requires: pcp-libs = %{version}-%{release}
59923c
%description pmda-cifs
59923c
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
59923c
collecting metrics about the Common Internet Filesytem.
59923c
# end pcp-pmda-cifs
59923c
59923c
#
59923c
# pcp-pmda-cisco
59923c
#
59923c
%package pmda-cisco
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot (PCP) metrics for Cisco routers
59923c
URL: https://pcp.io
59923c
Requires: pcp-libs = %{version}-%{release}
59923c
%description pmda-cisco
59923c
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
59923c
collecting metrics about Cisco routers.
59923c
# end pcp-pmda-cisco
59923c
59923c
#
59923c
# pcp-pmda-gfs2
59923c
#
59923c
%package pmda-gfs2
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot (PCP) metrics for the GFS2 filesystem
59923c
URL: https://pcp.io
59923c
Requires: pcp-libs = %{version}-%{release}
59923c
%description pmda-gfs2
59923c
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
59923c
collecting metrics about the Global Filesystem v2.
59923c
# end pcp-pmda-gfs2
59923c
59923c
#
59923c
# pcp-pmda-logger
59923c
#
59923c
%package pmda-logger
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot (PCP) metrics from arbitrary log files
59923c
URL: https://pcp.io
59923c
Requires: pcp-libs = %{version}-%{release}
59923c
%description pmda-logger
59923c
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
59923c
collecting metrics from a specified set of log files (or pipes).  The PMDA
59923c
supports both sampled and event-style metrics.
59923c
# end pcp-pmda-logger
59923c
59923c
#
59923c
# pcp-pmda-mailq
59923c
#
59923c
%package pmda-mailq
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot (PCP) metrics for the sendmail queue
59923c
URL: https://pcp.io
59923c
Requires: pcp-libs = %{version}-%{release}
59923c
%description pmda-mailq
59923c
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
59923c
collecting metrics about email queues managed by sendmail.
59923c
# end pcp-pmda-mailq
59923c
59923c
#
59923c
# pcp-pmda-mounts
59923c
#
59923c
%package pmda-mounts
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot (PCP) metrics for filesystem mounts
59923c
URL: https://pcp.io
59923c
Requires: pcp-libs = %{version}-%{release}
59923c
%description pmda-mounts
59923c
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
59923c
collecting metrics about filesystem mounts.
59923c
# end pcp-pmda-mounts
59923c
59923c
#
59923c
# pcp-pmda-nvidia-gpu
59923c
#
59923c
%package pmda-nvidia-gpu
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot (PCP) metrics for the Nvidia GPU
59923c
URL: https://pcp.io
59923c
Requires: pcp-libs = %{version}-%{release}
59923c
%description pmda-nvidia-gpu
59923c
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
59923c
collecting metrics about Nvidia GPUs.
59923c
# end pcp-pmda-nvidia-gpu
59923c
59923c
#
59923c
# pcp-pmda-roomtemp
59923c
#
59923c
%package pmda-roomtemp
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot (PCP) metrics for the room temperature
59923c
URL: https://pcp.io
59923c
Requires: pcp = %{version}-%{release}
59923c
Requires: pcp-libs = %{version}-%{release}
59923c
%description pmda-roomtemp
59923c
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
59923c
collecting metrics about the room temperature.
59923c
# end pcp-pmda-roomtemp
59923c
59923c
%if !%{disable_rpm}
59923c
#
59923c
# pcp-pmda-rpm
59923c
#
59923c
%package pmda-rpm
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot (PCP) metrics for the RPM package manager
59923c
URL: https://pcp.io
59923c
Requires: pcp = %{version}-%{release}
59923c
Requires: pcp-libs = %{version}-%{release}
59923c
%description pmda-rpm
59923c
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
59923c
collecting metrics about the installed RPM packages.
59923c
%endif
59923c
# end pcp-pmda-rpm
59923c
59923c
59923c
#
59923c
# pcp-pmda-sendmail
59923c
#
59923c
%package pmda-sendmail
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot (PCP) metrics for Sendmail
59923c
URL: https://pcp.io
59923c
Requires: pcp = %{version}-%{release}
59923c
Requires: pcp-libs = %{version}-%{release}
59923c
%description pmda-sendmail
59923c
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
59923c
collecting metrics about Sendmail traffic.
59923c
# end pcp-pmda-sendmail
59923c
59923c
#
59923c
# pcp-pmda-shping
59923c
#
59923c
%package pmda-shping
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot (PCP) metrics for shell command responses
59923c
URL: https://pcp.io
59923c
Requires: pcp-libs = %{version}-%{release}
59923c
%description pmda-shping
59923c
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
59923c
collecting metrics about quality of service and response time measurements of
59923c
arbitrary shell commands.
59923c
# end pcp-pmda-shping
59923c
59923c
#
59923c
# pcp-pmda-smart
59923c
#
59923c
%package pmda-smart
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot (PCP) metrics for S.M.A.R.T values
59923c
URL: https://pcp.io
59923c
Requires: pcp-libs = %{version}-%{release}
59923c
%description pmda-smart
59923c
This package contains the PCP Performance Metric Domain Agent (PMDA) for
59923c
collecting metrics of disk S.M.A.R.T values making use of data from the
59923c
smartmontools package.
59923c
#end pcp-pmda-smart
59923c
59923c
#
59923c
# pcp-pmda-summary
59923c
#
59923c
%package pmda-summary
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot (PCP) summary metrics from pmie
59923c
URL: https://pcp.io
59923c
Requires: pcp = %{version}-%{release}
59923c
Requires: pcp-libs = %{version}-%{release}
59923c
%description pmda-summary
59923c
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
59923c
collecting metrics about other installed PMDAs.
59923c
# end pcp-pmda-summary
59923c
59923c
%if !%{disable_systemd}
59923c
#
59923c
# pcp-pmda-systemd
59923c
#
59923c
%package pmda-systemd
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot (PCP) metrics from the Systemd journal
59923c
URL: https://pcp.io
59923c
Requires: pcp-libs = %{version}-%{release}
59923c
%description pmda-systemd
59923c
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
59923c
collecting metrics from the Systemd journal.
59923c
# end pcp-pmda-systemd
59923c
%endif
59923c
59923c
#
59923c
# pcp-pmda-trace
59923c
#
59923c
%package pmda-trace
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot (PCP) metrics for application tracing
59923c
URL: https://pcp.io
59923c
Requires: pcp-libs = %{version}-%{release}
59923c
%description pmda-trace
59923c
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
59923c
collecting metrics about trace performance data in applications.
59923c
# end pcp-pmda-trace
59923c
59923c
#
59923c
# pcp-pmda-weblog
59923c
#
59923c
%package pmda-weblog
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot (PCP) metrics from web server logs
59923c
URL: https://pcp.io
59923c
Requires: pcp = %{version}-%{release}
59923c
Requires: pcp-libs = %{version}-%{release}
59923c
%description pmda-weblog
59923c
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
59923c
collecting metrics about web server logs.
59923c
# end pcp-pmda-weblog
59923c
# end C pmdas
59923c
59923c
%package zeroconf
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot (PCP) Zeroconf Package
59923c
URL: https://pcp.io
59923c
Requires: pcp pcp-doc pcp-system-tools
59923c
Requires: pcp-pmda-dm pcp-pmda-nfsclient
59923c
# to make pcp-zeroconf replace sysstat, uncomment the next line
59923c
# Obsoletes: sysstat
59923c
%description zeroconf
59923c
This package contains configuration tweaks and files to increase metrics
59923c
gathering frequency, several extended pmlogger configurations, as well as
59923c
automated pmie diagnosis, alerting and self-healing for the localhost.
59923c
A cron script also writes daily performance summary reports similar to
59923c
those written by sysstat.
59923c
59923c
%if !%{disable_python2}
59923c
#
59923c
# python2-pcp. This is the PCP library bindings for python.
59923c
#
59923c
%package -n %{__python2}-pcp
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot (PCP) Python bindings and documentation
59923c
URL: https://pcp.io
59923c
Requires: pcp = %{version}-%{release} pcp-libs = %{version}-%{release}
59923c
%if 0%{?fedora} >= 26 || 0%{?rhel} > 7
59923c
# on these platforms, python2-pcp replaces python-pcp
59923c
Obsoletes: python-pcp
59923c
%endif
59923c
%if 0%{?rhel} == 5
59923c
Requires: python%{default_python}
59923c
%else
59923c
Requires: %{__python2}
59923c
%endif
59923c
59923c
%description -n %{__python2}-pcp
59923c
This python PCP module contains the language bindings for
59923c
Performance Metric API (PMAPI) monitor tools and Performance
59923c
Metric Domain Agent (PMDA) collector tools written in Python.
59923c
%endif
59923c
59923c
%if !%{disable_python3}
59923c
#
59923c
# python3-pcp. This is the PCP library bindings for python3.
59923c
#
59923c
%package -n python3-pcp
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot (PCP) Python3 bindings and documentation
59923c
URL: https://pcp.io
59923c
Requires: pcp = %{version}-%{release} pcp-libs = %{version}-%{release}
59923c
Requires: python3
59923c
59923c
%description -n python3-pcp
59923c
This python PCP module contains the language bindings for
59923c
Performance Metric API (PMAPI) monitor tools and Performance
59923c
Metric Domain Agent (PMDA) collector tools written in Python3.
59923c
%endif
59923c
59923c
%if !%{disable_python2} || !%{disable_python3}
59923c
#
59923c
# pcp-system-tools
59923c
#
59923c
%package system-tools
59923c
License: GPLv2+
59923c
Summary: Performance Co-Pilot (PCP) System and Monitoring Tools
59923c
URL: https://pcp.io
59923c
%if !%{disable_python3}
59923c
Requires: python3-pcp = %{version}-%{release}
59923c
%else
59923c
Requires: %{__python2}-pcp = %{version}-%{release}
59923c
%endif
59923c
Requires: pcp-libs = %{version}-%{release}
59923c
%if !%{disable_dstat}
59923c
# https://fedoraproject.org/wiki/Packaging:Guidelines "Renaming/Replacing Existing Packages"
59923c
Provides: dstat = %{version}-%{release}
59923c
Provides: /usr/bin/dstat
59923c
Obsoletes: dstat <= 0.8
59923c
%endif
59923c
59923c
%description system-tools
59923c
This PCP module contains additional system monitoring tools written
59923c
in the Python language.
59923c
%endif #end pcp-system-tools
59923c
59923c
%if !%{disable_qt}
59923c
#
59923c
# pcp-gui package for Qt tools
59923c
#
59923c
%package gui
59923c
License: GPLv2+ and LGPLv2+ and LGPLv2+ with exceptions
59923c
Summary: Visualization tools for the Performance Co-Pilot toolkit
59923c
URL: https://pcp.io
59923c
Requires: pcp = %{version}-%{release} pcp-libs = %{version}-%{release}
59923c
Requires: liberation-sans-fonts
59923c
BuildRequires: hicolor-icon-theme
59923c
59923c
%description gui
59923c
Visualization tools for the Performance Co-Pilot toolkit.
59923c
The pcp-gui package primarily includes visualization tools for
59923c
monitoring systems using live and archived Performance Co-Pilot
59923c
(PCP) sources.
59923c
%endif
59923c
59923c
#
59923c
# pcp-doc package
59923c
#
59923c
%package doc
59923c
License: GPLv2+ and CC-BY
59923c
%if !%{disable_noarch}
59923c
BuildArch: noarch
59923c
%endif
59923c
Summary: Documentation and tutorial for the Performance Co-Pilot
59923c
URL: https://pcp.io
59923c
# http://fedoraproject.org/wiki/Packaging:Conflicts "Splitting Packages"
59923c
# (all man pages migrated to pcp-doc during great package split of '15)
59923c
Conflicts: pcp-pmda-pmda < 3.10.5
59923c
Conflicts: pcp-pmda-infiniband < 3.10.5
59923c
59923c
%description doc
59923c
Documentation and tutorial for the Performance Co-Pilot
59923c
Performance Co-Pilot (PCP) provides a framework and services to support
59923c
system-level performance monitoring and performance management.
59923c
59923c
The pcp-doc package provides useful information on using and
59923c
configuring the Performance Co-Pilot (PCP) toolkit for system
59923c
level performance management.  It includes tutorials, HOWTOs,
59923c
and other detailed documentation about the internals of core
59923c
PCP utilities and daemons, and the PCP graphical tools.
59923c
59923c
#
59923c
# pcp-selinux package
59923c
#
59923c
%if !%{disable_selinux}
59923c
%package selinux
59923c
License: GPLv2+ and CC-BY
59923c
Summary: Selinux policy package
59923c
URL: https://pcp.io
59923c
BuildRequires: selinux-policy-devel
59923c
BuildRequires: selinux-policy-targeted
59923c
%if 0%{?rhel} == 5
59923c
BuildRequires: setools
59923c
%else
59923c
BuildRequires: setools-console
59923c
%endif
87cc1f
Requires: policycoreutils selinux-policy-targeted
59923c
59923c
%description selinux
59923c
This package contains Security Enhanced Linux support for PCP.  The
59923c
package contains interface rules, type enforcement and file context
59923c
adjustments for an updated policy package.
59923c
%endif
59923c
59923c
%prep
59923c
%setup -q -T -D -a 1 -c -n vector
59923c
%setup -q -T -D -a 2 -c -n grafana
59923c
%setup -q -T -D -a 3 -c -n graphite
59923c
%setup -q -T -D -a 4 -c -n blinkenlights
59923c
%setup -q
87cc1f
%patch000 -p1
87cc1f
%patch001 -p1
87cc1f
%patch002 -p1
87cc1f
%patch003 -p1
87cc1f
%patch004 -p1
87cc1f
%patch005 -p1
87cc1f
%patch006 -p1
87cc1f
%patch007 -p1
87cc1f
%patch008 -p1
87cc1f
%patch009 -p1
87cc1f
%patch010 -p1
87cc1f
%patch011 -p1
87cc1f
%patch012 -p1
59923c
59923c
%build
59923c
%if !%{disable_python2} && 0%{?default_python} != 3
59923c
export PYTHON=python%{?default_python}
59923c
%endif
59923c
%configure %{?_with_initd} %{?_with_doc} %{?_with_dstat} %{?_with_ib} %{?_with_podman} %{?_with_perfevent} %{?_with_bcc} %{?_with_json} %{?_with_snmp} %{?_with_nutcracker} %{?_with_webapps} %{?_with_python2}
59923c
make %{?_smp_mflags} default_pcp
59923c
59923c
%install
59923c
rm -Rf $RPM_BUILD_ROOT
59923c
export NO_CHOWN=true DIST_ROOT=$RPM_BUILD_ROOT
59923c
make install_pcp
59923c
59923c
PCP_GUI='pmchart|pmconfirm|pmdumptext|pmmessage|pmquery|pmsnap|pmtime'
59923c
59923c
# Fix stuff we do/don't want to ship
59923c
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.a
59923c
59923c
# remove sheet2pcp until BZ 830923 and BZ 754678 are resolved.
59923c
rm -f $RPM_BUILD_ROOT/%{_bindir}/sheet2pcp $RPM_BUILD_ROOT/%{_mandir}/man1/sheet2pcp.1*
59923c
59923c
# remove {config,platform}sz.h as these are not multilib friendly.
59923c
rm -f $RPM_BUILD_ROOT/%{_includedir}/pcp/configsz.h
59923c
rm -f $RPM_BUILD_ROOT/%{_includedir}/pcp/platformsz.h
59923c
59923c
%if %{disable_microhttpd}
59923c
rm -fr $RPM_BUILD_ROOT/%{_confdir}/pmwebd
59923c
rm -fr $RPM_BUILD_ROOT/%{_initddir}/pmwebd
59923c
rm -fr $RPM_BUILD_ROOT/%{_unitdir}/pmwebd.service
59923c
rm -f $RPM_BUILD_ROOT/%{_libexecdir}/pcp/bin/pmwebd
59923c
%endif
59923c
%if !%{disable_webapps}
59923c
for app in vector grafana graphite blinkenlights; do
59923c
    pwd
59923c
    webapp=`find ../$app -mindepth 1 -maxdepth 1`
59923c
    mv $webapp $RPM_BUILD_ROOT/%{_datadir}/pcp/webapps/$app
59923c
done
59923c
%endif
59923c
59923c
%if %{disable_infiniband}
59923c
# remove pmdainfiniband on platforms lacking IB devel packages.
59923c
rm -f $RPM_BUILD_ROOT/%{_pmdasdir}/ib
59923c
rm -fr $RPM_BUILD_ROOT/%{_pmdasdir}/infiniband
59923c
%endif
59923c
59923c
%if %{disable_selinux}
59923c
rm -fr $RPM_BUILD_ROOT/%{_selinuxdir}
59923c
%endif
59923c
59923c
%if %{disable_qt}
59923c
rm -fr $RPM_BUILD_ROOT/%{_pixmapdir}
59923c
rm -fr $RPM_BUILD_ROOT/%{_hicolordir}
59923c
rm -fr $RPM_BUILD_ROOT/%{_confdir}/pmsnap
59923c
rm -fr $RPM_BUILD_ROOT/%{_localstatedir}/lib/pcp/config/pmsnap
59923c
rm -fr $RPM_BUILD_ROOT/%{_localstatedir}/lib/pcp/config/pmchart
59923c
rm -f $RPM_BUILD_ROOT/%{_localstatedir}/lib/pcp/config/pmafm/pcp-gui
59923c
rm -f $RPM_BUILD_ROOT/%{_datadir}/applications/pmchart.desktop
59923c
rm -f `find $RPM_BUILD_ROOT/%{_mandir}/man1 | grep -E "$PCP_GUI"`
59923c
%else
59923c
rm -rf $RPM_BUILD_ROOT/usr/share/doc/pcp-gui
59923c
desktop-file-validate $RPM_BUILD_ROOT/%{_datadir}/applications/pmchart.desktop
59923c
%endif
59923c
59923c
# default chkconfig off for Fedora and RHEL
59923c
for f in $RPM_BUILD_ROOT/%{_initddir}/{pcp,pmcd,pmlogger,pmie,pmwebd,pmmgr,pmproxy}; do
59923c
	test -f "$f" || continue
59923c
	sed -i -e '/^# chkconfig/s/:.*$/: - 95 05/' -e '/^# Default-Start:/s/:.*$/:/' $f
59923c
done
59923c
59923c
# list of PMDAs in the base pkg
59923c
ls -1 $RPM_BUILD_ROOT/%{_pmdasdir} |\
59923c
  grep -E -v '^simple|sample|trivial|txmon' |\
59923c
  grep -E -v '^perfevent|perfalloc.1' |\
59923c
  grep -E -v '^ib$|^infiniband' |\
59923c
  grep -E -v '^activemq' |\
59923c
  grep -E -v '^bonding' |\
59923c
  grep -E -v '^bind2' |\
59923c
  grep -E -v '^dbping' |\
59923c
  grep -E -v '^docker' |\
59923c
  grep -E -v '^ds389log'|\
59923c
  grep -E -v '^ds389' |\
59923c
  grep -E -v '^elasticsearch' |\
59923c
  grep -E -v '^gpfs' |\
59923c
  grep -E -v '^gpsd' |\
59923c
  grep -E -v '^lio' |\
59923c
  grep -E -v '^lustre' |\
59923c
  grep -E -v '^lustrecomm' |\
59923c
  grep -E -v '^memcache' |\
59923c
  grep -E -v '^mysql' |\
59923c
  grep -E -v '^named' |\
59923c
  grep -E -v '^netfilter' |\
59923c
  grep -E -v '^news' |\
59923c
  grep -E -v '^nfsclient' |\
59923c
  grep -E -v '^nginx' |\
59923c
  grep -E -v '^nutcracker' |\
59923c
  grep -E -v '^oracle' |\
59923c
  grep -E -v '^pdns' |\
59923c
  grep -E -v '^podman' |\
59923c
  grep -E -v '^postfix' |\
59923c
  grep -E -v '^postgresql' |\
59923c
  grep -E -v '^redis' |\
59923c
  grep -E -v '^rsyslog' |\
59923c
  grep -E -v '^samba' |\
59923c
  grep -E -v '^slurm' |\
59923c
  grep -E -v '^snmp' |\
59923c
  grep -E -v '^vmware' |\
59923c
  grep -E -v '^zimbra' |\
59923c
  grep -E -v '^dm' |\
59923c
  grep -E -v '^apache' |\
59923c
  grep -E -v '^bash' |\
59923c
  grep -E -v '^cifs' |\
59923c
  grep -E -v '^cisco' |\
59923c
  grep -E -v '^gfs2' |\
59923c
  grep -E -v '^libvirt' |\
59923c
  grep -E -v '^lmsensors' |\
59923c
  grep -E -v '^logger' |\
59923c
  grep -E -v '^mailq' |\
59923c
  grep -E -v '^mounts' |\
59923c
  grep -E -v '^nvidia' |\
59923c
  grep -E -v '^roomtemp' |\
59923c
  grep -E -v '^sendmail' |\
59923c
  grep -E -v '^shping' |\
59923c
  grep -E -v '^smart' |\
59923c
  grep -E -v '^summary' |\
59923c
  grep -E -v '^trace' |\
59923c
  grep -E -v '^weblog' |\
59923c
  grep -E -v '^rpm' |\
59923c
  grep -E -v '^json' |\
59923c
  grep -E -v '^mic' |\
59923c
  grep -E -v '^bcc' |\
59923c
  grep -E -v '^gluster' |\
59923c
  grep -E -v '^zswap' |\
59923c
  grep -E -v '^unbound' |\
59923c
  grep -E -v '^haproxy' |\
59923c
  sed -e 's#^#'%{_pmdasdir}'\/#' >base_pmdas.list
59923c
59923c
# all base pcp package files except those split out into sub-packages
59923c
ls -1 $RPM_BUILD_ROOT/%{_bindir} |\
59923c
  grep -E -v 'pmiostat|pmcollectl|zabbix|zbxpcp|dstat' |\
59923c
  grep -E -v 'pmrep|pcp2graphite|pcp2influxdb|pcp2zabbix' |\
59923c
  grep -E -v 'pcp2elasticsearch|pcp2json|pcp2xlsx|pcp2xml' |\
59923c
  grep -E -v 'pcp2spark' |\
59923c
  grep -E -v 'pmdbg|pmclient|pmerr|genpmda' |\
59923c
sed -e 's#^#'%{_bindir}'\/#' >base_bin.list
59923c
59923c
# Separate the pcp-system-tools package files.
59923c
# pmcollectl and pmiostat are back-compat symlinks to their
59923c
# pcp(1) sub-command variants so are also in pcp-system-tools.
59923c
%if !%{disable_python2} || !%{disable_python3}
59923c
ls -1 $RPM_BUILD_ROOT/%{_bindir} |\
59923c
  egrep -e 'pmiostat|pmcollectl|pmrep|dstat' |\
59923c
  sed -e 's#^#'%{_bindir}'\/#' >pcp-system-tools.list
59923c
ls -1 $RPM_BUILD_ROOT/%{_libexecdir}/pcp/bin |\
59923c
  egrep -e 'atop|collectl|dmcache|dstat|free|iostat|ipcs|lvmcache|mpstat' \
59923c
        -e 'numastat|pidstat|shping|tapestat|uptime|verify' |\
59923c
  sed -e 's#^#'%{_libexecdir}/pcp/bin'\/#' >>pcp-system-tools.list
59923c
%endif
59923c
# Separate the pcp-selinux package files.
59923c
%if !%{disable_selinux}
59923c
ls -1 $RPM_BUILD_ROOT/%{_selinuxdir} |\
59923c
  sed -e 's#^#'%{_selinuxdir}'\/#' > pcp-selinux.list
59923c
ls -1 $RPM_BUILD_ROOT/%{_libexecdir}/pcp/bin |\
59923c
  grep -E 'selinux-setup' |\
59923c
  sed -e 's#^#'%{_libexecdir}/pcp/bin'\/#' >> pcp-selinux.list
59923c
%endif
59923c
59923c
ls -1 $RPM_BUILD_ROOT/%{_libexecdir}/pcp/bin |\
59923c
%if !%{disable_python2} || !%{disable_python3}
59923c
  grep -E -v 'atop|collectl|dmcache|dstat|free|iostat|mpstat|numastat' |\
59923c
  grep -E -v 'shping|tapestat|uptime|verify|selinux-setup' |\
59923c
%endif
59923c
  sed -e 's#^#'%{_libexecdir}/pcp/bin'\/#' >base_exec.list
59923c
ls -1 $RPM_BUILD_ROOT/%{_booksdir} |\
59923c
  sed -e 's#^#'%{_booksdir}'\/#' > pcp-doc.list
59923c
ls -1 $RPM_BUILD_ROOT/%{_mandir}/man1 |\
59923c
  sed -e 's#^#'%{_mandir}'\/man1\/#' >>pcp-doc.list
59923c
ls -1 $RPM_BUILD_ROOT/%{_mandir}/man5 |\
59923c
  sed -e 's#^#'%{_mandir}'\/man5\/#' >>pcp-doc.list
59923c
ls -1 $RPM_BUILD_ROOT/%{_datadir}/pcp/demos/tutorials |\
59923c
  sed -e 's#^#'%{_datadir}/pcp/demos/tutorials'\/#' >>pcp-doc.list
59923c
%if !%{disable_qt}
59923c
ls -1 $RPM_BUILD_ROOT/%{_pixmapdir} |\
59923c
  sed -e 's#^#'%{_pixmapdir}'\/#' > pcp-gui.list
59923c
ls -1 $RPM_BUILD_ROOT/%{_hicolordir} |\
59923c
  sed -e 's#^#'%{_hicolordir}'\/#' >> pcp-gui.list
59923c
cat base_bin.list base_exec.list |\
59923c
  grep -E "$PCP_GUI" >> pcp-gui.list
59923c
%endif
59923c
ls -1 $RPM_BUILD_ROOT/%{_logconfdir}/ |\
59923c
    sed -e 's#^#'%{_logconfdir}'\/#' |\
59923c
    grep -E -v 'zeroconf' >pcp-logconf.list
87cc1f
ls -1 $RPM_BUILD_ROOT/%{_ieconfdir}/ |\
87cc1f
    sed -e 's#^#'%{_ieconfdir}'\/#' |\
87cc1f
    grep -E -v 'zeroconf' >pcp-ieconf.list
59923c
cat base_pmdas.list base_bin.list base_exec.list pcp-logconf.list |\
87cc1f
  grep -E -v 'pmdaib|pmmgr|pmweb|pmsnap|2pcp|pmdas/systemd|zeroconf' |\
59923c
  grep -E -v "$PCP_GUI|pixmaps|hicolor|pcp-doc|tutorials|selinux" |\
59923c
  grep -E -v %{_confdir} | grep -E -v %{_logsdir} > base.list
59923c
59923c
# all devel pcp package files except those split out into sub packages
59923c
ls -1 $RPM_BUILD_ROOT/%{_mandir}/man3 |\
59923c
sed -e 's#^#'%{_mandir}'\/man3\/#' | grep -v '3pm' >>pcp-doc.list
59923c
ls -1 $RPM_BUILD_ROOT/%{_datadir}/pcp/demos |\
59923c
sed -e 's#^#'%{_datadir}'\/pcp\/demos\/#' | grep -E -v tutorials >> devel.list
59923c
ls -1 $RPM_BUILD_ROOT/%{_bindir} |\
59923c
grep -E 'pmdbg|pmclient|pmerr|genpmda' |\
59923c
sed -e 's#^#'%{_bindir}'\/#' >>devel.list
59923c
59923c
%pre testsuite
59923c
test -d %{_testsdir} || mkdir -p -m 755 %{_testsdir}
59923c
getent group pcpqa >/dev/null || groupadd -r pcpqa
59923c
getent passwd pcpqa >/dev/null || \
59923c
  useradd -c "PCP Quality Assurance" -g pcpqa -d %{_testsdir} -M -r -s /bin/bash pcpqa 2>/dev/null
59923c
chown -R pcpqa:pcpqa %{_testsdir} 2>/dev/null
59923c
exit 0
59923c
59923c
%post testsuite
59923c
chown -R pcpqa:pcpqa %{_testsdir} 2>/dev/null
59923c
%if 0%{?rhel}
59923c
%if !%{disable_systemd}
59923c
    systemctl restart pmcd >/dev/null 2>&1
59923c
    systemctl restart pmlogger >/dev/null 2>&1
59923c
    systemctl enable pmcd >/dev/null 2>&1
59923c
    systemctl enable pmlogger >/dev/null 2>&1
59923c
%else
59923c
    /sbin/chkconfig --add pmcd >/dev/null 2>&1
59923c
    /sbin/chkconfig --add pmlogger >/dev/null 2>&1
59923c
    /sbin/service pmcd condrestart
59923c
    /sbin/service pmlogger condrestart
59923c
%endif
59923c
%endif
59923c
exit 0
59923c
59923c
%pre
59923c
getent group pcp >/dev/null || groupadd -r pcp
59923c
getent passwd pcp >/dev/null || \
59923c
  useradd -c "Performance Co-Pilot" -g pcp -d %{_localstatedir}/lib/pcp -M -r -s /sbin/nologin pcp
59923c
exit 0
59923c
59923c
%if !%{disable_microhttpd}
59923c
%preun webapi
59923c
if [ "$1" -eq 0 ]
59923c
then
59923c
%if !%{disable_systemd}
59923c
    systemctl --no-reload disable pmwebd.service >/dev/null 2>&1
59923c
    systemctl stop pmwebd.service >/dev/null 2>&1
59923c
%else
59923c
    /sbin/service pmwebd stop >/dev/null 2>&1
59923c
    /sbin/chkconfig --del pmwebd >/dev/null 2>&1
59923c
%endif
59923c
fi
59923c
%endif
59923c
59923c
%preun manager
59923c
if [ "$1" -eq 0 ]
59923c
then
59923c
%if !%{disable_systemd}
59923c
    systemctl --no-reload disable pmmgr.service >/dev/null 2>&1
59923c
    systemctl stop pmmgr.service >/dev/null 2>&1
59923c
%else
59923c
    /sbin/service pmmgr stop >/dev/null 2>&1
59923c
    /sbin/chkconfig --del pmmgr >/dev/null 2>&1
59923c
%endif
59923c
fi
59923c
59923c
%if !%{disable_rpm}
59923c
%preun pmda-rpm
59923c
%{pmda_remove "$1" "rpm"}
59923c
%endif #preun pmda-rpm
59923c
59923c
%if !%{disable_systemd}
59923c
%preun pmda-systemd
59923c
%{pmda_remove "$1" "systemd"}
59923c
%endif #preun pmda-systemd
59923c
59923c
%if !%{disable_infiniband}
59923c
%preun pmda-infiniband
59923c
%{pmda_remove "$1" "infiniband"}
59923c
%endif #preun pmda-infiniband
59923c
59923c
%if !%{disable_perfevent}
59923c
%preun pmda-perfevent
59923c
%{pmda_remove "$1" "perfevent"}
59923c
%endif #preun pmda-perfevent
59923c
59923c
%if !%{disable_podman}
59923c
%preun pmda-podman
59923c
%{pmda_remove "$1" "podman"}
59923c
%endif #preun pmda-podman
59923c
59923c
%if !%{disable_json}
59923c
%preun pmda-json
59923c
%{pmda_remove "$1" "json"}
59923c
%endif #preun pmda-json
59923c
59923c
%preun pmda-nginx
59923c
%{pmda_remove "$1" "nginx"}
59923c
59923c
%preun pmda-oracle
59923c
%{pmda_remove "$1" "oracle"}
59923c
59923c
%preun pmda-postfix
59923c
%{pmda_remove "$1" "postfix"}
59923c
59923c
%preun pmda-mysql
59923c
%{pmda_remove "$1" "mysql"}
59923c
59923c
%preun pmda-activemq
59923c
%{pmda_remove "$1" "activemq"}
59923c
59923c
%preun pmda-bind2
59923c
%{pmda_remove "$1" "bind2"}
59923c
59923c
%preun pmda-bonding
59923c
%{pmda_remove "$1" "bonding"}
59923c
59923c
%preun pmda-dbping
59923c
%{pmda_remove "$1" "dbping"}
59923c
59923c
%preun pmda-docker
59923c
%{pmda_remove "$1" "docker"}
59923c
59923c
%preun pmda-ds389
59923c
%{pmda_remove "$1" "ds389"}
59923c
59923c
%preun pmda-ds389log
59923c
%{pmda_remove "$1" "ds389log"}
59923c
59923c
%preun pmda-gpfs
59923c
%{pmda_remove "$1" "gpfs"}
59923c
59923c
%preun pmda-gpsd
59923c
%{pmda_remove "$1" "gpsd"}
59923c
59923c
%if !%{disable_snmp}
59923c
%preun pmda-snmp
59923c
%{pmda_remove "$1" "snmp"}
59923c
%endif
59923c
59923c
%if !%{disable_python2} || !%{disable_python3}
59923c
%preun pmda-postgresql
59923c
%{pmda_remove "$1" "postgresql"}
59923c
59923c
%preun pmda-elasticsearch
59923c
%{pmda_remove "$1" "elasticsearch"}
59923c
59923c
%preun pmda-lio
59923c
%{pmda_remove "$1" "lio"}
59923c
59923c
%preun pmda-prometheus
59923c
%{pmda_remove "$1" "prometheus"}
59923c
59923c
%preun pmda-nfsclient
59923c
%{pmda_remove "$1" "nfsclient"}
59923c
%endif
59923c
59923c
%preun pmda-lustre
59923c
%{pmda_remove "$1" "lustre"}
59923c
59923c
%preun pmda-lustrecomm
59923c
%{pmda_remove "$1" "lustrecomm"}
59923c
59923c
%preun pmda-memcache
59923c
%{pmda_remove "$1" "memcache"}
59923c
59923c
%preun pmda-named
59923c
%{pmda_remove "$1" "named"}
59923c
59923c
%preun pmda-netfilter
59923c
%{pmda_remove "$1" "netfilter"}
59923c
59923c
%preun pmda-news
59923c
%{pmda_remove "$1" "news"}
59923c
59923c
%if !%{disable_nutcracker}
59923c
%preun pmda-nutcracker
59923c
%{pmda_remove "$1" "nutcracker"}
59923c
%endif
59923c
59923c
%preun pmda-pdns
59923c
%{pmda_remove "$1" "pdns"}
59923c
59923c
%preun pmda-rsyslog
59923c
%{pmda_remove "$1" "rsyslog"}
59923c
59923c
%preun pmda-redis
59923c
%{pmda_remove "$1" "redis"}
59923c
59923c
%preun pmda-samba
59923c
%{pmda_remove "$1" "samba"}
59923c
59923c
%preun pmda-vmware
59923c
%{pmda_remove "$1" "vmware"}
59923c
59923c
%preun pmda-zimbra
59923c
%{pmda_remove "$1" "zimbra"}
59923c
59923c
%preun pmda-dm
59923c
%{pmda_remove "$1" "dm"}
59923c
59923c
%if !%{disable_bcc}
59923c
%preun pmda-bcc
59923c
%{pmda_remove "$1" "bcc"}
59923c
%endif
59923c
59923c
%if !%{disable_python2} || !%{disable_python3}
59923c
%preun pmda-gluster
59923c
%{pmda_remove "$1" "gluster"}
59923c
59923c
%preun pmda-zswap
59923c
%{pmda_remove "$1" "zswap"}
59923c
59923c
%preun pmda-unbound
59923c
%{pmda_remove "$1" "unbound"}
59923c
59923c
%preun pmda-mic
59923c
%{pmda_remove "$1" "mic"}
59923c
59923c
%preun pmda-haproxy
59923c
%{pmda_remove "$1" "haproxy"}
59923c
59923c
%preun pmda-libvirt
59923c
%{pmda_remove "$1" "libvirt"}
59923c
59923c
%preun pmda-lmsensors
59923c
%{pmda_remove "$1" "lmsensors"}
59923c
59923c
%endif # !%{disable_python[2,3]}
59923c
59923c
%preun pmda-apache
59923c
%{pmda_remove "$1" "apache"}
59923c
59923c
%preun pmda-bash
59923c
%{pmda_remove "$1" "bash"}
59923c
59923c
%preun pmda-cifs
59923c
%{pmda_remove "$1" "cifs"}
59923c
59923c
%preun pmda-cisco
59923c
%{pmda_remove "$1" "cisco"}
59923c
59923c
%preun pmda-gfs2
59923c
%{pmda_remove "$1" "gfs2"}
59923c
59923c
%preun pmda-logger
59923c
%{pmda_remove "$1" "logger"}
59923c
59923c
%preun pmda-mailq
59923c
%{pmda_remove "$1" "mailq"}
59923c
59923c
%preun pmda-mounts
59923c
%{pmda_remove "$1" "mounts"}
59923c
59923c
%preun pmda-nvidia-gpu
59923c
%{pmda_remove "$1" "nvidia"}
59923c
59923c
%preun pmda-roomtemp
59923c
%{pmda_remove "$1" "roomtemp"}
59923c
59923c
%preun pmda-sendmail
59923c
%{pmda_remove "$1" "sendmail"}
59923c
59923c
%preun pmda-shping
59923c
%{pmda_remove "$1" "shping"}
59923c
59923c
%preun pmda-smart
59923c
%{pmda_remove "$1" "smart"}
59923c
59923c
%preun pmda-summary
59923c
%{pmda_remove "$1" "summary"}
59923c
59923c
%preun pmda-trace
59923c
%{pmda_remove "$1" "trace"}
59923c
59923c
%preun pmda-weblog
59923c
%{pmda_remove "$1" "weblog"}
59923c
59923c
%if !%{disable_systemd}
59923c
%preun zeroconf
59923c
if [ "$1" -eq 0 ]
59923c
then
59923c
    %systemd_preun pmlogger_daily_report.timer
59923c
    %systemd_preun pmlogger_daily_report.service
59923c
    %systemd_preun pmlogger_daily_report-poll.timer
59923c
    %systemd_preun pmlogger_daily_report-poll.service
59923c
fi
59923c
%endif
59923c
59923c
%preun
59923c
if [ "$1" -eq 0 ]
59923c
then
59923c
    # stop daemons before erasing the package
59923c
    %if !%{disable_systemd}
59923c
       %systemd_preun pmlogger.service
59923c
       %systemd_preun pmie.service
59923c
       %systemd_preun pmproxy.service
59923c
       %systemd_preun pmcd.service
59923c
	systemctl stop pmlogger.service >/dev/null 2>&1
59923c
	systemctl stop pmie.service >/dev/null 2>&1
59923c
	systemctl stop pmproxy.service >/dev/null 2>&1
59923c
	systemctl stop pmcd.service >/dev/null 2>&1
59923c
    %else
59923c
	/sbin/service pmlogger stop >/dev/null 2>&1
59923c
	/sbin/service pmie stop >/dev/null 2>&1
59923c
	/sbin/service pmproxy stop >/dev/null 2>&1
59923c
	/sbin/service pmcd stop >/dev/null 2>&1
59923c
59923c
	/sbin/chkconfig --del pcp >/dev/null 2>&1
59923c
	/sbin/chkconfig --del pmcd >/dev/null 2>&1
59923c
	/sbin/chkconfig --del pmlogger >/dev/null 2>&1
59923c
	/sbin/chkconfig --del pmie >/dev/null 2>&1
59923c
	/sbin/chkconfig --del pmproxy >/dev/null 2>&1
59923c
    %endif
59923c
    # cleanup namespace state/flag, may still exist
59923c
    PCP_PMNS_DIR=%{_pmnsdir}
59923c
    rm -f "$PCP_PMNS_DIR/.NeedRebuild" >/dev/null 2>&1
59923c
fi
59923c
59923c
%if !%{disable_microhttpd}
59923c
%post webapi
59923c
chown -R pcp:pcp %{_logsdir}/pmwebd 2>/dev/null
59923c
%if !%{disable_systemd}
59923c
    systemctl condrestart pmwebd.service >/dev/null 2>&1
59923c
%else
59923c
    /sbin/chkconfig --add pmwebd >/dev/null 2>&1
59923c
    /sbin/service pmwebd condrestart
59923c
%endif
59923c
%endif
59923c
59923c
%post manager
59923c
chown -R pcp:pcp %{_logsdir}/pmmgr 2>/dev/null
59923c
%if !%{disable_systemd}
59923c
    systemctl condrestart pmmgr.service >/dev/null 2>&1
59923c
%else
59923c
    /sbin/chkconfig --add pmmgr >/dev/null 2>&1
59923c
    /sbin/service pmmgr condrestart
59923c
%endif
59923c
59923c
%post zeroconf
59923c
PCP_PMDAS_DIR=%{_pmdasdir}
59923c
PCP_SYSCONFIG_DIR=%{_sysconfdir}/sysconfig
59923c
PCP_PMCDCONF_PATH=%{_confdir}/pmcd/pmcd.conf
59923c
# auto-install important PMDAs for RH Support (if not present already)
59923c
for PMDA in dm nfsclient ; do
59923c
    if ! grep -q "$PMDA/pmda$PMDA" "$PCP_PMCDCONF_PATH"
59923c
    then
59923c
	touch "$PCP_PMDAS_DIR/$PMDA/.NeedInstall"
59923c
    fi
59923c
done
59923c
# increase default pmlogger recording frequency
59923c
sed -i 's/^\#\ PMLOGGER_INTERVAL.*/PMLOGGER_INTERVAL=10/g' "$PCP_SYSCONFIG_DIR/pmlogger"
59923c
# auto-enable these usually optional pmie rules
59923c
pmieconf -c enable dmthin
59923c
%if 0%{?rhel}
59923c
%if !%{disable_systemd}
59923c
    systemctl restart pmcd >/dev/null 2>&1
59923c
    systemctl restart pmlogger >/dev/null 2>&1
59923c
    systemctl restart pmie >/dev/null 2>&1
59923c
    systemctl enable pmcd >/dev/null 2>&1
59923c
    systemctl enable pmlogger >/dev/null 2>&1
59923c
    systemctl enable pmie >/dev/null 2>&1
59923c
%else
59923c
    /sbin/chkconfig --add pmcd >/dev/null 2>&1
59923c
    /sbin/chkconfig --add pmlogger >/dev/null 2>&1
59923c
    /sbin/chkconfig --add pmie >/dev/null 2>&1
59923c
    /sbin/service pmcd condrestart
59923c
    /sbin/service pmlogger condrestart
59923c
    /sbin/service pmie condrestart
59923c
%endif
59923c
%endif #zeroconf
59923c
59923c
%if !%{disable_selinux}
59923c
%post selinux
59923c
%{selinux_handle_policy "$1" "pcpupstream"}
59923c
59923c
%triggerin selinux -- docker-selinux
59923c
%{selinux_handle_policy "$1" "pcpupstream-docker"}
59923c
59923c
%triggerin selinux -- container-selinux
59923c
%{selinux_handle_policy "$1" "pcpupstream-container"}
59923c
%endif
59923c
59923c
%post
59923c
PCP_PMNS_DIR=%{_pmnsdir}
59923c
chown -R pcp:pcp %{_logsdir}/pmcd 2>/dev/null
59923c
chown -R pcp:pcp %{_logsdir}/pmlogger 2>/dev/null
59923c
chown -R pcp:pcp %{_logsdir}/sa 2>/dev/null
59923c
chown -R pcp:pcp %{_logsdir}/pmie 2>/dev/null
59923c
chown -R pcp:pcp %{_logsdir}/pmproxy 2>/dev/null
59923c
touch "$PCP_PMNS_DIR/.NeedRebuild"
59923c
chmod 644 "$PCP_PMNS_DIR/.NeedRebuild"
59923c
%if !%{disable_systemd}
59923c
    %systemd_postun_with_restart pmcd.service
59923c
    %systemd_post pmcd.service
59923c
    %systemd_postun_with_restart pmlogger.service
59923c
    %systemd_post pmlogger.service
59923c
    %systemd_postun_with_restart pmie.service
59923c
    %systemd_post pmie.service
59923c
    systemctl condrestart pmproxy.service >/dev/null 2>&1
59923c
%else
59923c
    /sbin/chkconfig --add pmcd >/dev/null 2>&1
59923c
    /sbin/service pmcd condrestart
59923c
    /sbin/chkconfig --add pmlogger >/dev/null 2>&1
59923c
    /sbin/service pmlogger condrestart
59923c
    /sbin/chkconfig --add pmie >/dev/null 2>&1
59923c
    /sbin/service pmie condrestart
59923c
    /sbin/chkconfig --add pmproxy >/dev/null 2>&1
59923c
    /sbin/service pmproxy condrestart
59923c
%endif
59923c
87cc1f
cd "$PCP_PMNS_DIR" && ./Rebuild -s && rm -f .NeedRebuild
59923c
cd
59923c
59923c
%if 0%{?fedora} >= 26 || 0%{?rhel} > 7
59923c
%ldconfig_scriptlets libs
59923c
%else
59923c
%post libs -p /sbin/ldconfig
59923c
%postun libs -p /sbin/ldconfig
59923c
%endif
59923c
59923c
%if !%{disable_selinux}
59923c
%preun selinux
59923c
%{selinux_handle_policy "$1" "pcpupstream"}
59923c
59923c
%triggerun selinux -- docker-selinux
59923c
%{selinux_handle_policy "$1" "pcpupstream-docker"}
59923c
59923c
%triggerun selinux -- container-selinux
59923c
%{selinux_handle_policy "$1" "pcpupstream-container"}
59923c
59923c
%endif
59923c
%files -f base.list
59923c
#
59923c
# Note: there are some headers (e.g. domain.h) and in a few cases some
59923c
# C source files that rpmlint complains about. These are not devel files,
59923c
# but rather they are (slightly obscure) PMDA config files.
59923c
#
59923c
%doc CHANGELOG COPYING INSTALL.md README.md VERSION.pcp pcp.lsm
59923c
59923c
%dir %{_confdir}
59923c
%dir %{_pmdasdir}
59923c
%dir %{_datadir}/pcp
59923c
%dir %{_localstatedir}/lib/pcp
59923c
%dir %{_localstatedir}/lib/pcp/config
59923c
%dir %attr(0775,pcp,pcp) %{_tempsdir}
59923c
%dir %attr(0775,pcp,pcp) %{_tempsdir}/pmie
59923c
%dir %attr(0775,pcp,pcp) %{_tempsdir}/pmlogger
59923c
%dir %attr(0700,root,root) %{_tempsdir}/pmcd
59923c
59923c
%dir %{_datadir}/pcp/lib
59923c
%{_datadir}/pcp/lib/ReplacePmnsSubtree
59923c
%{_datadir}/pcp/lib/bashproc.sh
59923c
%{_datadir}/pcp/lib/lockpmns
59923c
%{_datadir}/pcp/lib/pmdaproc.sh
59923c
%{_datadir}/pcp/lib/utilproc.sh
59923c
%{_datadir}/pcp/lib/rc-proc.sh
59923c
%{_datadir}/pcp/lib/rc-proc.sh.minimal
59923c
%{_datadir}/pcp/lib/unlockpmns
59923c
59923c
%dir %attr(0775,pcp,pcp) %{_logsdir}
59923c
%attr(0775,pcp,pcp) %{_logsdir}/pmcd
59923c
%attr(0775,pcp,pcp) %{_logsdir}/pmlogger
59923c
%attr(0775,pcp,pcp) %{_logsdir}/pmie
59923c
%attr(0775,pcp,pcp) %{_logsdir}/pmproxy
59923c
%{_localstatedir}/lib/pcp/pmns
59923c
%{_initddir}/pcp
59923c
%{_initddir}/pmcd
59923c
%{_initddir}/pmlogger
59923c
%{_initddir}/pmie
59923c
%{_initddir}/pmproxy
59923c
%if !%{disable_systemd}
59923c
%{_unitdir}/pmcd.service
59923c
%{_unitdir}/pmlogger.service
59923c
%{_unitdir}/pmie.service
59923c
%{_unitdir}/pmproxy.service
59923c
# services and timers replacing the old cron scripts
59923c
%{_unitdir}/pmlogger_check.service
59923c
%{_unitdir}/pmlogger_check.timer
59923c
%{_unitdir}/pmlogger_daily.service
59923c
%{_unitdir}/pmlogger_daily.timer
59923c
%{_unitdir}/pmlogger_daily-poll.service
59923c
%{_unitdir}/pmlogger_daily-poll.timer
59923c
%{_unitdir}/pmie_check.service
59923c
%{_unitdir}/pmie_check.timer
59923c
%{_unitdir}/pmie_daily.service
59923c
%{_unitdir}/pmie_daily.timer
59923c
%config(noreplace) %{_sysconfdir}/sysconfig/pmie_timers
59923c
%config(noreplace) %{_sysconfdir}/sysconfig/pmlogger_timers
59923c
%else
59923c
# cron scripts
59923c
%config(noreplace) %{_sysconfdir}/cron.d/pcp-pmlogger
59923c
%config(noreplace) %{_sysconfdir}/cron.d/pcp-pmie
59923c
%endif
59923c
%config(noreplace) %{_sysconfdir}/sasl2/pmcd.conf
59923c
%config(noreplace) %{_sysconfdir}/sysconfig/pmlogger
59923c
%config(noreplace) %{_sysconfdir}/sysconfig/pmproxy
59923c
%config(noreplace) %{_sysconfdir}/sysconfig/pmcd
59923c
%config %{_sysconfdir}/pcp.env
59923c
%dir %{_confdir}/labels
59923c
%dir %{_confdir}/pmcd
59923c
%config(noreplace) %{_confdir}/pmcd/pmcd.conf
59923c
%config(noreplace) %{_confdir}/pmcd/pmcd.options
59923c
%config(noreplace) %{_confdir}/pmcd/rc.local
59923c
%dir %{_confdir}/pmproxy
59923c
%config(noreplace) %{_confdir}/pmproxy/pmproxy.options
59923c
%config(noreplace) %{_confdir}/pmproxy/pmproxy.conf
59923c
%dir %{_confdir}/pmie
59923c
%dir %{_confdir}/pmie/control.d
59923c
%config(noreplace) %{_confdir}/pmie/control
59923c
%config(noreplace) %{_confdir}/pmie/control.d/local
59923c
%dir %{_confdir}/pmlogger
59923c
%dir %{_confdir}/pmlogger/control.d
59923c
%config(noreplace) %{_confdir}/pmlogger/control
59923c
%config(noreplace) %{_confdir}/pmlogger/control.d/local
59923c
%dir %attr(0775,pcp,pcp) %{_confdir}/nssdb
59923c
%dir %{_confdir}/discover
59923c
%config(noreplace) %{_confdir}/discover/pcp-kube-pods.conf
59923c
%if !%{disable_libuv}
59923c
%dir %{_confdir}/pmseries
59923c
%config(noreplace) %{_confdir}/pmseries/pmseries.conf
59923c
%endif
59923c
59923c
%ghost %dir %attr(0775,pcp,pcp) %{_localstatedir}/run/pcp
59923c
%{_localstatedir}/lib/pcp/config/pmafm
59923c
%dir %attr(0775,pcp,pcp) %{_localstatedir}/lib/pcp/config/pmie
59923c
%{_localstatedir}/lib/pcp/config/pmie
59923c
%{_localstatedir}/lib/pcp/config/pmieconf
59923c
%dir %attr(0775,pcp,pcp) %{_localstatedir}/lib/pcp/config/pmlogger
59923c
%{_localstatedir}/lib/pcp/config/pmlogger/*
59923c
%{_localstatedir}/lib/pcp/config/pmlogrewrite
59923c
%dir %attr(0775,pcp,pcp) %{_localstatedir}/lib/pcp/config/pmda
59923c
59923c
%{_datadir}/bash-completion/completions/*
59923c
%{_datadir}/zsh/site-functions/_pcp
59923c
59923c
%if !%{disable_sdt}
59923c
%{tapsetdir}/pmcd.stp
59923c
%endif
59923c
59923c
%files zeroconf
59923c
%{_libexecdir}/pcp/bin/pmlogger_daily_report
59923c
%if !%{disable_systemd}
59923c
# systemd services for pmlogger_daily_report to replace the cron script
59923c
%{_unitdir}/pmlogger_daily_report.service
59923c
%{_unitdir}/pmlogger_daily_report.timer
59923c
%{_unitdir}/pmlogger_daily_report-poll.service
59923c
%{_unitdir}/pmlogger_daily_report-poll.timer
59923c
%else
59923c
%config(noreplace) %{_sysconfdir}/cron.d/pcp-pmlogger-daily-report
59923c
%endif
87cc1f
%{_ieconfdir}/zeroconf
87cc1f
%{_logconfdir}/zeroconf
59923c
59923c
#additional pmlogger config files
59923c
59923c
%files conf
59923c
%dir %{_includedir}/pcp
59923c
%{_includedir}/pcp/builddefs
59923c
%{_includedir}/pcp/buildrules
59923c
%config %{_sysconfdir}/pcp.conf
59923c
%dir %{_localstatedir}/lib/pcp/config/derived
59923c
%config %{_localstatedir}/lib/pcp/config/derived/*
59923c
59923c
%files libs
59923c
%{_libdir}/libpcp.so.3
59923c
%{_libdir}/libpcp_gui.so.2
59923c
%{_libdir}/libpcp_mmv.so.1
59923c
%{_libdir}/libpcp_pmda.so.3
59923c
%{_libdir}/libpcp_trace.so.2
59923c
%{_libdir}/libpcp_import.so.1
59923c
%{_libdir}/libpcp_web.so.1
59923c
59923c
%files libs-devel
59923c
%{_libdir}/libpcp.so
59923c
%{_libdir}/libpcp_gui.so
59923c
%{_libdir}/libpcp_mmv.so
59923c
%{_libdir}/libpcp_pmda.so
59923c
%{_libdir}/libpcp_trace.so
59923c
%{_libdir}/libpcp_import.so
59923c
%{_libdir}/libpcp_web.so
59923c
%{_libdir}/pkgconfig/libpcp.pc
59923c
%{_libdir}/pkgconfig/libpcp_pmda.pc
59923c
%{_libdir}/pkgconfig/libpcp_import.pc
59923c
%{_includedir}/pcp/*.h
59923c
59923c
%files devel -f devel.list
59923c
%{_datadir}/pcp/examples
59923c
59923c
# PMDAs that ship src and are not for production use
59923c
# straight out-of-the-box, for devel or QA use only.
59923c
%{_pmdasdir}/simple
59923c
%{_pmdasdir}/sample
59923c
%{_pmdasdir}/trivial
59923c
%{_pmdasdir}/txmon
59923c
59923c
%files testsuite
59923c
%defattr(-,pcpqa,pcpqa)
59923c
%{_testsdir}
59923c
59923c
%if !%{disable_microhttpd}
59923c
%files webapi
59923c
%{_initddir}/pmwebd
59923c
%if !%{disable_systemd}
59923c
%{_unitdir}/pmwebd.service
59923c
%endif
59923c
%{_libexecdir}/pcp/bin/pmwebd
59923c
%attr(0775,pcp,pcp) %{_logsdir}/pmwebd
59923c
%{_confdir}/pmwebd
59923c
%config(noreplace) %{_confdir}/pmwebd/pmwebd.options
59923c
# duplicate pcp, pcp-webapi and pcp-webjs directories, but rpm copes with that.
59923c
%dir %{_datadir}/pcp
59923c
%dir %{_datadir}/pcp/webapps
59923c
%endif
59923c
59923c
%if !%{disable_webapps}
59923c
%files webjs
59923c
# duplicate pcp, pcp-webapi and pcp-webjs directories, but rpm copes with that.
59923c
%dir %{_datadir}/pcp
59923c
%dir %{_datadir}/pcp/webapps
59923c
%{_datadir}/pcp/webapps/*.png
59923c
%{_datadir}/pcp/webapps/*.ico
59923c
%{_datadir}/pcp/webapps/*.html
59923c
59923c
%files webapp-blinkenlights
59923c
%dir %{_datadir}/pcp
59923c
%dir %{_datadir}/pcp/webapps
59923c
%{_datadir}/pcp/webapps/blinkenlights
59923c
59923c
%files webapp-grafana
59923c
%dir %{_datadir}/pcp
59923c
%dir %{_datadir}/pcp/webapps
59923c
%{_datadir}/pcp/webapps/grafana
59923c
59923c
%files webapp-graphite
59923c
%dir %{_datadir}/pcp
59923c
%dir %{_datadir}/pcp/webapps
59923c
%{_datadir}/pcp/webapps/graphite
59923c
59923c
%files webapp-vector
59923c
%dir %{_datadir}/pcp
59923c
%dir %{_datadir}/pcp/webapps
59923c
%{_datadir}/pcp/webapps/vector
59923c
%endif
59923c
59923c
%files manager
59923c
%{_initddir}/pmmgr
59923c
%if !%{disable_systemd}
59923c
%{_unitdir}/pmmgr.service
59923c
%endif
59923c
%{_libexecdir}/pcp/bin/pmmgr
59923c
%attr(0775,pcp,pcp) %{_logsdir}/pmmgr
59923c
%config(missingok,noreplace) %{_confdir}/pmmgr
59923c
%config(noreplace) %{_confdir}/pmmgr/pmmgr.options
59923c
59923c
%files import-sar2pcp
59923c
%{_bindir}/sar2pcp
59923c
59923c
%files import-iostat2pcp
59923c
%{_bindir}/iostat2pcp
59923c
59923c
%files import-mrtg2pcp
59923c
%{_bindir}/mrtg2pcp
59923c
59923c
%files import-ganglia2pcp
59923c
%{_bindir}/ganglia2pcp
59923c
59923c
%files import-collectl2pcp
59923c
%{_bindir}/collectl2pcp
59923c
59923c
%if !%{disable_podman}
59923c
%files pmda-podman
59923c
%{_pmdasdir}/podman
59923c
%endif
59923c
59923c
%if !%{disable_perfevent}
59923c
%files pmda-perfevent
59923c
%{_pmdasdir}/perfevent
59923c
%config(noreplace) %{_pmdasdir}/perfevent/perfevent.conf
59923c
%endif
59923c
59923c
%if !%{disable_infiniband}
59923c
%files pmda-infiniband
59923c
%{_pmdasdir}/ib
59923c
%{_pmdasdir}/infiniband
59923c
%endif
59923c
59923c
%files pmda-activemq
59923c
%{_pmdasdir}/activemq
59923c
59923c
%files pmda-bonding
59923c
%{_pmdasdir}/bonding
59923c
59923c
%files pmda-bind2
59923c
%{_pmdasdir}/bind2
59923c
59923c
%files pmda-dbping
59923c
%{_pmdasdir}/dbping
59923c
59923c
%files pmda-ds389log
59923c
%{_pmdasdir}/ds389log
59923c
59923c
%files pmda-ds389
59923c
%{_pmdasdir}/ds389
59923c
59923c
%files pmda-gpfs
59923c
%{_pmdasdir}/gpfs
59923c
59923c
%files pmda-gpsd
59923c
%{_pmdasdir}/gpsd
59923c
59923c
%files pmda-docker
59923c
%{_pmdasdir}/docker
59923c
59923c
%files pmda-lustre
59923c
%{_pmdasdir}/lustre
59923c
59923c
%files pmda-lustrecomm
59923c
%{_pmdasdir}/lustrecomm
59923c
59923c
%files pmda-memcache
59923c
%{_pmdasdir}/memcache
59923c
59923c
%files pmda-mysql
59923c
%{_pmdasdir}/mysql
59923c
59923c
%files pmda-named
59923c
%{_pmdasdir}/named
59923c
59923c
%files pmda-netfilter
59923c
%{_pmdasdir}/netfilter
59923c
59923c
%files pmda-news
59923c
%{_pmdasdir}/news
59923c
59923c
%files pmda-nginx
59923c
%{_pmdasdir}/nginx
59923c
59923c
%if !%{disable_python2} || !%{disable_python3}
59923c
%files pmda-elasticsearch
59923c
%{_pmdasdir}/elasticsearch
59923c
59923c
%files pmda-lio
59923c
%{_pmdasdir}/lio
59923c
59923c
%files pmda-prometheus
59923c
%{_pmdasdir}/prometheus
59923c
59923c
%files pmda-nfsclient
59923c
%{_pmdasdir}/nfsclient
59923c
59923c
%files pmda-postgresql
59923c
%{_pmdasdir}/postgresql
59923c
%config(noreplace) %{_pmdasdir}/postgresql/pmdapostgresql.conf
59923c
%endif
59923c
59923c
%if !%{disable_nutcracker}
59923c
%files pmda-nutcracker
59923c
%{_pmdasdir}/nutcracker
59923c
%endif
59923c
59923c
%files pmda-oracle
59923c
%{_pmdasdir}/oracle
59923c
59923c
%files pmda-pdns
59923c
%{_pmdasdir}/pdns
59923c
59923c
%files pmda-postfix
59923c
%{_pmdasdir}/postfix
59923c
59923c
%files pmda-redis
59923c
%{_pmdasdir}/redis
59923c
59923c
%files pmda-rsyslog
59923c
%{_pmdasdir}/rsyslog
59923c
59923c
%files pmda-samba
59923c
%{_pmdasdir}/samba
59923c
59923c
%if !%{disable_snmp}
59923c
%files pmda-snmp
59923c
%{_pmdasdir}/snmp
59923c
%endif
59923c
59923c
%files pmda-slurm
59923c
%{_pmdasdir}/slurm
59923c
59923c
%files pmda-vmware
59923c
%{_pmdasdir}/vmware
59923c
59923c
%files pmda-zimbra
59923c
%{_pmdasdir}/zimbra
59923c
59923c
%files pmda-dm
59923c
%{_pmdasdir}/dm
87cc1f
%{_ieconfdir}/dm
59923c
59923c
%if !%{disable_bcc}
59923c
%files pmda-bcc
59923c
%{_pmdasdir}/bcc
59923c
%endif
59923c
59923c
%if !%{disable_python2} || !%{disable_python3}
59923c
%files pmda-gluster
59923c
%{_pmdasdir}/gluster
59923c
59923c
%files pmda-zswap
59923c
%{_pmdasdir}/zswap
59923c
59923c
%files pmda-unbound
59923c
%{_pmdasdir}/unbound
59923c
59923c
%files pmda-mic
59923c
%{_pmdasdir}/mic
59923c
59923c
%files pmda-haproxy
59923c
%{_pmdasdir}/haproxy
59923c
59923c
%files pmda-libvirt
59923c
%{_pmdasdir}/libvirt
59923c
59923c
%files export-pcp2elasticsearch
59923c
%{_bindir}/pcp2elasticsearch
59923c
59923c
%files export-pcp2graphite
59923c
%{_bindir}/pcp2graphite
59923c
59923c
%files export-pcp2influxdb
59923c
%{_bindir}/pcp2influxdb
59923c
59923c
%files export-pcp2json
59923c
%{_bindir}/pcp2json
59923c
59923c
%files export-pcp2spark
59923c
%{_bindir}/pcp2spark
59923c
59923c
%if !%{disable_xlsx}
59923c
%files export-pcp2xlsx
59923c
%{_bindir}/pcp2xlsx
59923c
%endif
59923c
59923c
%files export-pcp2xml
59923c
%{_bindir}/pcp2xml
59923c
59923c
%files export-pcp2zabbix
59923c
%{_bindir}/pcp2zabbix
59923c
59923c
%files pmda-lmsensors
59923c
%{_pmdasdir}/lmsensors
59923c
59923c
%endif # !%{disable_python2} || !%{disable_python3}
59923c
59923c
%files export-zabbix-agent
59923c
%{_libdir}/zabbix
59923c
%{_sysconfdir}/zabbix/zabbix_agentd.d/zbxpcp.conf
59923c
59923c
%if !%{disable_json}
59923c
%files pmda-json
59923c
%{_pmdasdir}/json
59923c
%endif
59923c
59923c
%files pmda-apache
59923c
%{_pmdasdir}/apache
59923c
59923c
%files pmda-bash
59923c
%{_pmdasdir}/bash
59923c
59923c
%files pmda-cifs
59923c
%{_pmdasdir}/cifs
59923c
59923c
%files pmda-cisco
59923c
%{_pmdasdir}/cisco
59923c
59923c
%files pmda-gfs2
59923c
%{_pmdasdir}/gfs2
59923c
59923c
%files pmda-logger
59923c
%{_pmdasdir}/logger
59923c
59923c
%files pmda-mailq
59923c
%{_pmdasdir}/mailq
59923c
59923c
%files pmda-mounts
59923c
%{_pmdasdir}/mounts
59923c
59923c
%files pmda-nvidia-gpu
59923c
%{_pmdasdir}/nvidia
59923c
59923c
%files pmda-roomtemp
59923c
%{_pmdasdir}/roomtemp
59923c
59923c
%if !%{disable_rpm}
59923c
%files pmda-rpm
59923c
%{_pmdasdir}/rpm
59923c
%endif
59923c
59923c
%files pmda-sendmail
59923c
%{_pmdasdir}/sendmail
59923c
59923c
%files pmda-shping
59923c
%{_pmdasdir}/shping
59923c
59923c
%files pmda-smart
59923c
%{_pmdasdir}/smart
59923c
59923c
%files pmda-summary
59923c
%{_pmdasdir}/summary
59923c
59923c
%if !%{disable_systemd}
59923c
%files pmda-systemd
59923c
%{_pmdasdir}/systemd
59923c
%endif
59923c
59923c
%files pmda-trace
59923c
%{_pmdasdir}/trace
59923c
59923c
%files pmda-weblog
59923c
%{_pmdasdir}/weblog
59923c
59923c
%files -n perl-PCP-PMDA -f perl-pcp-pmda.list
59923c
59923c
%files -n perl-PCP-MMV -f perl-pcp-mmv.list
59923c
59923c
%files -n perl-PCP-LogImport -f perl-pcp-logimport.list
59923c
59923c
%files -n perl-PCP-LogSummary -f perl-pcp-logsummary.list
59923c
59923c
%if !%{disable_python2}
59923c
%files -n %{__python2}-pcp -f python-pcp.list.rpm
59923c
%endif
59923c
59923c
%if !%{disable_python3}
59923c
%files -n python3-pcp -f python3-pcp.list.rpm
59923c
%endif
59923c
59923c
%if !%{disable_qt}
59923c
%files gui -f pcp-gui.list
59923c
59923c
%{_confdir}/pmsnap
59923c
%config(noreplace) %{_confdir}/pmsnap/control
59923c
%{_localstatedir}/lib/pcp/config/pmsnap
59923c
%{_localstatedir}/lib/pcp/config/pmchart
59923c
%{_localstatedir}/lib/pcp/config/pmafm/pcp-gui
59923c
%{_datadir}/applications/pmchart.desktop
59923c
%endif
59923c
59923c
%files doc -f pcp-doc.list
59923c
59923c
%if !%{disable_selinux}
59923c
%files selinux -f pcp-selinux.list
59923c
%endif
59923c
59923c
%if !%{disable_python2} || !%{disable_python3}
59923c
%files system-tools -f pcp-system-tools.list
59923c
%dir %{_confdir}/dstat
59923c
%dir %{_confdir}/pmrep
59923c
%config(noreplace) %{_confdir}/dstat/*
59923c
%config(noreplace) %{_confdir}/pmrep/*
59923c
%endif
59923c
59923c
%changelog
87cc1f
* Mon Apr 01 2020 Nathan Scott <nathans@redhat.com> - 4.3.2-8
87cc1f
- Fix pcp-atop dynamic memory initialization issue (BZ 1818710)
87cc1f
- Fix rpm %post privilege escalation CVEs (BZs 1815249, 1815528)
87cc1f
- Resolve an selinux policy issue with pmlogger (BZ 1792859)
87cc1f
87cc1f
* Mon Feb 17 2020 Nathan Scott <nathans@redhat.com> - 4.3.2-7
87cc1f
- Fix hugepage metrics in pmdalinux (BZ 1730107)
87cc1f
- Fix NUMA nodes instance domain in pmdalinux (BZ 1730492)
87cc1f
- Several selinux policy fixes (BZs 1749870, 1756252, 1760750)
87cc1f
- Fix pcp-atopsar sample count command line argument (BZ 1764748)
87cc1f
- Fix pcp-atop sigsegv with certain process state changes (BZ 1765641)
87cc1f
- Add pcp-zeroconf pmieconf rule to enable per-thread logging (BZ 1775373)
87cc1f
59923c
* Wed Aug 28 2019 Nathan Scott <nathans@redhat.com> - 4.3.2-6
59923c
- Improve libpcp corrupt archive handling in multi-archive mode (BZ 1673053)
59923c
59923c
* Thu Aug 22 2019 Nathan Scott <nathans@redhat.com> - 4.3.2-5
59923c
- Override tracefs_t presence in selinux-policy (BZ 1714856)
59923c
59923c
* Fri Aug 09 2019 Nathan Scott <nathans@redhat.com> - 4.3.2-4
59923c
- Fix a pmdaproc memory leak (BZ 1721107)
59923c
- Rebuild with selinux runtime dependency update (BZ 1714101)
59923c
- Update selinux-policy to latest upstream (BZs 1699830, 1700989)
59923c
59923c
* Mon May 06 2019 Nathan Scott <nathans@redhat.com> - 4.3.2-2
59923c
- Rework the pcp-libs ldconfig post-op (BZ 1705362)
59923c
- Resolve a QA file permissions diagnostic issue
59923c
59923c
* Fri Apr 26 2019 Nathan Scott <nathans@redhat.com> - 4.3.2-1
59923c
- Numerous fixes in pmlogger daily scripts (BZs 1677848, 1697182, 1579881, 1603143)
59923c
- Update PCP selinux policy rules (BZs 1692305, 1695066)
59923c
- Adjust spec file /var/run/pcp settings (BZ 1533154)
59923c
- Fix pmdaproc kernel process misreporting (BZ 1673250)
59923c
- Fix pmdalinux SYSV IPC metric scalability (BZ 1699232)
59923c
- Ensure pmdaroot reaps all of its children (BZ 1698517)
59923c
- Corrections to python version dependencies (BZ 1676867)
59923c
- Fix pcp-atopsar(1) -A (all) option handling (BZ 1673996)
59923c
- Update to a more recent PCP bug fix release (BZ 1647308)
59923c
59923c
* Tue Oct 09 2018 Nathan Scott <nathans@redhat.com> - 4.1.0-5
59923c
- Missing values from short /proc/*/status file reads (BZ 1600262)
59923c
59923c
* Wed Sep 05 2018 Nathan Scott <nathans@redhat.com> - 4.1.0-4
59923c
- BPF kernel compatibility fixes (BZ 1597975)
59923c
- Several important selinux fixes (BZ 1603596)
59923c
59923c
* Thu Aug 02 2018 Nathan Scott <nathans@redhat.com> - 4.1.0-3
59923c
- Enable transparent decompression in the build.
59923c
59923c
* Tue Jun 19 2018 Nathan Scott <nathans@redhat.com> - 4.1.0-2
59923c
- Enable pcp-pmda-bcc sub-package in the build.
59923c
59923c
* Fri Jun 15 2018 Nathan Scott <nathans@redhat.com> - 4.1.0-1
59923c
- Resolve MMV instance domain mishandling issue (BZ 1586051)
59923c
59923c
* Fri May 25 2018 Nathan Scott <nathans@redhat.com> - 4.0.2-4
59923c
- Clear zero-length pmlogger configuration files (BZ 1581109)
59923c
59923c
* Fri May 25 2018 Nathan Scott <nathans@redhat.com> - 4.0.2-3
59923c
- Resolve rpm verification problem on /var/run/pcp (BZ 1533154)
59923c
- Fix device mapper PMDA histogram metrics sigsegv (BZ 1569854)
59923c
- Fix pmlogger_daily log rotation open port issue (BZ 1579881)
59923c
59923c
* Thu May 17 2018 Nathan Scott <nathans@redhat.com> - 4.0.2-2
59923c
- Resolve multilib issue in installed header files
59923c
- Add whitespace into ASL 2.0 license lines
59923c
59923c
* Fri May 11 2018 Nathan Scott <nathans@redhat.com> - 4.0.2-1
59923c
- Ensure sans font dependency resolved for webapps (BZ 1568109)
59923c
- Ensure sans font dependency resolved for pmchart (BZ 1546640)
59923c
- Update to latest PCP sources (BZ 1565370).
59923c
59923c
* Mon Jan 29 2018 Lukas Berk <lberk@redhat.com> - 3.12.2-5
59923c
- Correction to spec file and selinux policy (BZ 1488116)
59923c
- Show all perfevent metrics in pcpatop (BZ 1525864)
59923c
- Multilib corrections (BZ 1537623)
59923c
59923c
* Wed Nov 29 2017 Nathan Scott <nathans@redhat.com> - 3.12.2-4
59923c
- Correction to selinux.patch embedded spec file change
59923c
59923c
* Wed Nov 29 2017 Nathan Scott <nathans@redhat.com> - 3.12.2-3
59923c
- Update Source2 for external grafana webapp (BZ 1516933)
59923c
- Remove an unhelpful log metadata diagnostic (BZ 1472153)
59923c
59923c
* Tue Nov 28 2017 Lukas Berk <lberk@redhat.com> - 3.12.2-2
59923c
- Selinux policy updates (BZs 1517655,1517656,1480447,1505888,1515928,1517281,1517862)
59923c
- Multilib corrections (BZ 1513503)
59923c
59923c
* Fri Oct 20 2017 Lukas Berk <lberk@redhat.com> - 3.12.2-1
59923c
- Selinux policy updates (BZs 1459165,1460131,1488116,1447585,1449671)
59923c
- PCP bash completions not working (BZ 1482605)
59923c
- pmdabash man page fix (BZ 1459907)
59923c
59923c
* Wed Jun 14 2017 Nathan Scott <nathans@redhat.com> - 3.11.8-7
59923c
- Fix problems in the new pcp-zeroconf sub-package (BZ 1456609)
59923c
59923c
* Mon May 8 2017 Lukas Berk <lberk@redhat.com> - 3.11.8-5
59923c
- Removed pmdalibvirt dep for collector on aarch64 (BZ 1432007)
59923c
59923c
* Fri Apr 21 2017 Nathan Scott <nathans@redhat.com> - 3.11.8-4
59923c
- Enable collecting POWER9 NEST PMU perf metrics (BZ 1419490)
59923c
- SELinux policy updates (BZs 1381301,1432086,1433271,1443632)
59923c
- zeroconf package added (BZs 1211432, 1371950)
59923c
59923c
* Thu Mar 02 2017 Nathan Scott <nathans@redhat.com> - 3.11.8-3
59923c
- Rebuild with the correct (previous) version of Vector.
59923c
59923c
* Wed Mar 01 2017 Nathan Scott <nathans@redhat.com> - 3.11.8-2
59923c
- Drop pcp-pmda-nutcracker package, missing deps (BZ 1425880)
59923c
- Incorporate several fixes from Coverity scan review.
59923c
59923c
* Mon Feb 20 2017 Dave Brolley <brolley@redhat.com> - 3.11.8-1
59923c
- Latest upstream PCP, dropping all earlier patches (BZ 1423020)
59923c
59923c
* Fri Aug 26 2016 Lukas Berk <lberk@redhat.com> - 3.11.3-4
59923c
- pcp-pmda-ds389log uses dirsrv user instead of nobody
59923c
59923c
* Fri Aug 05 2016 Nathan Scott <nathans@redhat.com> - 3.11.3-3
59923c
- Install the missing /etc/pcp/nssdb directory (BZ 1360206)
59923c
- pcp-pmda-ds389 requires perl-LDAP dependency (BZ 1357605)
59923c
- Switch pcp-pmda-ds389log to the dirsrv user (BZ 1357607)
59923c
- pcp-pmda-ds389log requires perl-Date-Manip (BZ 1354055)
59923c
- Remove multi-archive loglabel timezone check (BZ 1351223)
59923c
59923c
* Thu Jul 07 2016 Nathan Scott <nathans@redhat.com> - 3.11.3-2
59923c
- Export filesys metrics with persistent DM naming (BZ 1349932)
59923c
59923c
* Fri Jun 17 2016 Nathan Scott <nathans@redhat.com> - 3.11.3-1
59923c
- Fix memory leak in derived metrics error handling (BZ 1331973)
59923c
- Correctly propogate indom in mixed derived metrics (BZ 1337212, BZ 1336130)
59923c
- Disallow stopping pmie/pmlogger daemons from cron (BZ 1336792)
59923c
- Fail fast for easily detected bad pmcd configuration (BZ 1336210)
59923c
- Implement primary (local) pmie concept in rc pmie (BZ 1323851)
59923c
- Update to latest PCP sources.
59923c
59923c
* Mon May 16 2016 Jitka Plesnikova <jplesnik@redhat.com> - 3.11.2-2.1
59923c
- Perl 5.24 rebuild
59923c
59923c
* Fri Apr 29 2016 Lukas Berk <lberk@redhat.com> - 3.11.2-1
59923c
- Negative nice values reported incorrectly (BZ 1328432)
59923c
- Multithreaded clients with concurrent pmNewContext improvements (BZ 1325363)
59923c
- PMCD agent auto-restart (BZ 1323521)
59923c
- Segv in libpcp during discovery error processing (BZ 1319288)
59923c
- Update to latest PCP sources.
59923c
59923c
* Fri Mar 18 2016 Dave Brolley <brolley@redhat.com> - 3.11.1-1
59923c
- Call Remove script when uninstalling individual PMDAs (BZ 1304722)
59923c
- Restrict pmcd.services to checking known pcp services (BZ 1286361)
59923c
- Support for multi-archive contexts, across all clients (BZ 1262723)
59923c
- Remove the default shotgun approach to stopping daemons (BZ 1210976)
59923c
- Add mechanism for automatic recovery from PMDA timeouts (BZ 1065803)
59923c
- Update to latest PCP sources.
59923c
59923c
* Fri Jan 29 2016 Mark Goodwin <mgoodwin@redhat.com> - 3.11.0-1
59923c
- Significant speedups to elapsed time stopping pmcd (BZ 1292027)
59923c
- Fix python derived metric exception handling issues (BZ 1299806)
59923c
- incorrect interpolation across <mark> record in a merged archive (BZ 1296750)
59923c
- pcp requires pcp-compat pulling in a lot of unneeded pcp-pmda-* packages (BZ 1293466)
59923c
- Update to latest PCP sources.
59923c
59923c
* Wed Dec 16 2015 Lukas Berk <lberk@redhat.com> - 3.10.9-1
59923c
- Add -V/--version support to several more commands (BZ 1284411)
59923c
- Resolve a pcp-iostat(1) transient device exception (BZ 1249572)
59923c
- Provides pmdapipe, an output-capturing domain agent (BZ 1163413)
59923c
- Python PMAPI pmSetMode allows None timeval parameter (BZ 1284417)
59923c
- Python PMI pmiPutValue now supports singular metrics (BZ 1285371)
59923c
- Fix python PMAPI pmRegisterDerived wrapper interface (BZ 1286733)
59923c
- Fix pmstat SEGV when run with graphical time control (BZ 1287678)
59923c
- Make pmNonOptionsFromList error message less cryptic (BZ 1287778)
59923c
- Drop unimplemented pmdumptext options from usage, man page (BZ 1289909)
59923c
- Stop creating configuration files in tmp_t locations (BZ 1256125)
59923c
- Update to latest PCP sources.
59923c
59923c
* Fri Oct 30 2015 Mark Goodwin <mgoodwin@redhat.com> - 3.10.8-1
59923c
- Update pmlogger to log an immediate sample first (BZ 1269921)
59923c
- Add pmOption host and archive setter python APIs (BZ 1270176)
59923c
- Replace old pmatop(1) man page with pcp-atop(1) (BZ 1270761)
59923c
- Update to latest PCP sources.
59923c
59923c
* Wed Sep 16 2015 Nathan Scott <nathans@redhat.com> - 3.10.7-1
59923c
- Resolved pmchart sigsegv opening view without context (BZ 1256708)
59923c
- Fixed pmchart memory corruption restoring Saved Hosts (BZ 1257009)
59923c
- Fix perl PMDA API double-free on socket error path (BZ 1258862)
59923c
- Fix python API pmGetOption(3) alignment interface (BZ 1262722)
59923c
- Added missing RPM dependencies to several PMDA sub-packages.
59923c
- Update to latest stable Vector release for pcp-vector-webapp.
59923c
- Update to latest PCP sources.
59923c
59923c
* Sat Sep 05 2015 Kalev Lember <klember@redhat.com> - 3.10.6-2.1
59923c
- Rebuilt for librpm soname bump
59923c
59923c
* Thu Aug 06 2015 Lukas Berk <lberk@redhat.com> - 3.10.6-2
59923c
- Fix SDT related build error (BZ 1250894)
59923c
59923c
* Tue Aug 04 2015 Nathan Scott <nathans@redhat.com> - 3.10.6-1
59923c
- Fix pcp2graphite write method invocation failure (BZ 1243123)
59923c
- Reduce diagnostics in pmdaproc unknown state case (BZ 1224431)
59923c
- Derived metrics via multiple files, directory expansion (BZ 1235556)
59923c
- Update to latest PCP sources.
59923c
59923c
* Mon Jun 15 2015 Mark Goodwin <mgoodwin@redhat.com> - 3.10.5-1
59923c
- Provide and use non-exit(1)ing pmGetConfig(3) variant (BZ 1187588)
59923c
- Resolve a pmdaproc.sh pmlogger restart regression (BZ 1229458)
59923c
- Replacement of pmatop/pcp-atop(1) utility (BZ 1160811, BZ 1018575)
59923c
- Reduced installation size for minimal applications (BZ 1182184)
59923c
- Ensure pmlogger start scripts wait on pmcd startup (BZ 1185760)
59923c
- Need to run pmcd at least once before pmval -L will work (BZ 185749)
59923c
59923c
* Wed Apr 15 2015 Nathan Scott <nathans@redhat.com> - 3.10.4-1
59923c
- Update to latest PCP, pcp-webjs and Vector sources.
59923c
- Packaging improvements after re-review (BZ 1204467)
59923c
- Start pmlogger/pmie independent of persistent state (BZ 1185755)
59923c
- Fix cron error reports for disabled pmlogger service (BZ 1208699)
59923c
- Incorporate Vector from Netflix (https://github.com/Netflix/vector)
59923c
- Sub-packages for pcp-webjs allowing choice and reducing used space.
59923c
59923c
* Wed Mar 04 2015 Dave Brolley <brolley@redhat.com> - 3.10.3-2
59923c
- papi 5.4.1 rebuild
59923c
59923c
* Mon Mar 02 2015 Dave Brolley <brolley@redhat.com> - 3.10.3-1
59923c
- Update to latest PCP sources.
59923c
- New sub-package for pcp-import-ganglia2pcp.
59923c
- Python3 support, enabled by default in f22 onward (BZ 1194324)
59923c
59923c
* Mon Feb 23 2015 Slavek Kabrda <bkabrda@redhat.com> - 3.10.2-3
59923c
- Only use Python 3 in Fedora >= 23, more info at
59923c
  https://bugzilla.redhat.com/show_bug.cgi?id=1194324#c4
59923c
59923c
* Mon Feb 23 2015 Nathan Scott <nathans@redhat.com> - 3.10.2-2
59923c
- Initial changes to support python3 as default (BZ 1194324)
59923c
59923c
* Fri Jan 23 2015 Dave Brolley <brolley@redhat.com> - 3.10.2-1
59923c
- Update to latest PCP sources.
59923c
- Improve pmdaInit diagnostics for DSO helptext (BZ 1182949)
59923c
- Tighten up PMDA termination on pmcd stop (BZ 1180109)
59923c
- Correct units for cgroup memory metrics (BZ 1180351)
59923c
- Add the pcp2graphite(1) export script (BZ 1163986)
59923c
59923c
* Mon Dec 01 2014 Nathan Scott <nathans@redhat.com> - 3.10.1-1
59923c
- New conditionally-built pcp-pmda-perfevent sub-package.
59923c
- Update to latest PCP sources.
59923c
59923c
* Tue Nov 18 2014 Dave Brolley <brolley@redhat.com> - 3.10.0-2
59923c
- papi 5.4.0 rebuild
59923c
59923c
* Fri Oct 31 2014 Nathan Scott <nathans@redhat.com> - 3.10.0-1
59923c
- Create new sub-packages for pcp-webjs and python3-pcp.
59923c
- Fix __pmDiscoverServicesWithOptions(1) codes (BZ 1139529)
59923c
- Update to latest PCP sources.
59923c
59923c
* Fri Sep 05 2014 Nathan Scott <nathans@redhat.com> - 3.9.10-1
59923c
- Convert PCP init scripts to systemd services (BZ 996438)
59923c
- Fix pmlogsummary -S/-T time window reporting (BZ 1132476)
59923c
- Resolve pmdumptext segfault with invalid host (BZ 1131779)
59923c
- Fix signedness in some service discovery codes (BZ 1136166)
59923c
- New conditionally-built pcp-pmda-papi sub-package.
59923c
- Update to latest PCP sources.
59923c
59923c
* Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 3.9.9-1.2
59923c
- Perl 5.20 rebuild
59923c
59923c
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.9.9-1.1
59923c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
59923c
59923c
* Wed Aug 13 2014 Nathan Scott <nathans@redhat.com> - 3.9.9-1
59923c
- Update to latest PCP sources.
59923c
59923c
* Wed Jul 16 2014 Mark Goodwin <mgoodwin@redhat.com> - 3.9.7-1
59923c
- Update to latest PCP sources.
59923c
59923c
* Wed Jun 18 2014 Dave Brolley <brolley@redhat.com> - 3.9.5-1
59923c
- Daemon signal handlers no longer use unsafe APIs (BZ 847343)
59923c
- Handle /var/run setups on a temporary filesystem (BZ 656659)
59923c
- Resolve pmlogcheck sigsegv for some archives (BZ 1077432)
59923c
- Ensure pcp-gui-{testsuite,debuginfo} packages get replaced.
59923c
- Revive support for EPEL5 builds, post pcp-gui merge.
59923c
- Update to latest PCP sources.
59923c
59923c
* Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.9.4-1.1
59923c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
59923c
59923c
* Thu May 15 2014 Nathan Scott <nathans@redhat.com> - 3.9.4-1
59923c
- Merged pcp-gui and pcp-doc packages into core PCP.
59923c
- Allow for conditional libmicrohttpd builds in spec file.
59923c
- Adopt slow-start capability in systemd PMDA (BZ 1073658)
59923c
- Resolve pmcollectl network/disk mis-reporting (BZ 1097095)
59923c
- Update to latest PCP sources.
59923c
59923c
* Tue Apr 15 2014 Dave Brolley <brolley@redhat.com> - 3.9.2-1
59923c
- Improve pmdarpm(1) concurrency complications (BZ 1044297)
59923c
- Fix pmconfig(1) shell output string quoting (BZ 1085401)
59923c
- Update to latest PCP sources.
59923c
59923c
* Wed Mar 19 2014 Nathan Scott <nathans@redhat.com> - 3.9.1-1
59923c
- Update to latest PCP sources.
59923c
59923c
* Thu Feb 20 2014 Nathan Scott <nathans@redhat.com> - 3.9.0-2
59923c
- Workaround further PowerPC/tapset-related build fallout.
59923c
59923c
* Wed Feb 19 2014 Nathan Scott <nathans@redhat.com> - 3.9.0-1
59923c
- Create new sub-packages for pcp-webapi and pcp-manager
59923c
- Split configuration from pcp-libs into pcp-conf (multilib)
59923c
- Fix pmdagluster to handle more volumes, fileops (BZ 1066544)
59923c
- Update to latest PCP sources.
59923c
59923c
* Wed Jan 29 2014 Nathan Scott <nathans@redhat.com> - 3.8.12-1
59923c
- Resolves SNMP procfs file ICMP line parse issue (BZ 1055818)
59923c
- Update to latest PCP sources.
59923c
59923c
* Wed Jan 15 2014 Nathan Scott <nathans@redhat.com> - 3.8.10-1
59923c
- Update to latest PCP sources.
59923c
59923c
* Thu Dec 12 2013 Nathan Scott <nathans@redhat.com> - 3.8.9-1
59923c
- Reduce set of exported symbols from DSO PMDAs (BZ 1025694)
59923c
- Symbol-versioning for PCP shared libraries (BZ 1037771)
59923c
- Fix pmcd/Avahi interaction with multiple ports (BZ 1035513)
59923c
- Update to latest PCP sources.
59923c
59923c
* Sun Nov 03 2013 Nathan Scott <nathans@redhat.com> - 3.8.8-1
59923c
- Update to latest PCP sources (simple build fixes only).
59923c
59923c
* Fri Nov 01 2013 Nathan Scott <nathans@redhat.com> - 3.8.6-1
59923c
- Update to latest PCP sources.
59923c
- Rework pmpost test which confused virus checkers (BZ 1024850)
59923c
- Tackle pmatop reporting issues via alternate metrics (BZ 998735)
59923c
59923c
* Fri Oct 18 2013 Nathan Scott <nathans@redhat.com> - 3.8.5-1
59923c
- Update to latest PCP sources.
59923c
- Disable pcp-pmda-infiniband sub-package on RHEL5 (BZ 1016368)
59923c
59923c
* Mon Sep 16 2013 Nathan Scott <nathans@redhat.com> - 3.8.4-2
59923c
- Disable the pcp-pmda-infiniband sub-package on s390 platforms.
59923c
59923c
* Sun Sep 15 2013 Nathan Scott <nathans@redhat.com> - 3.8.4-1
59923c
- Very minor release containing mostly QA related changes.
59923c
- Enables many more metrics to be logged for Linux hosts.
59923c
59923c
* Wed Sep 11 2013 Stan Cox <scox@redhat.com> - 3.8.3-2
59923c
- Disable pmcd.stp on el5 ppc.
59923c
59923c
* Mon Sep 09 2013 Nathan Scott <nathans@redhat.com> - 3.8.3-1
59923c
- Default to Unix domain socket (authenticated) local connections.
59923c
- Introduces new pcp-pmda-infiniband sub-package.
59923c
- Disable systemtap-sdt-devel usage on ppc.
59923c
59923c
* Sat Aug 03 2013 Petr Pisar <ppisar@redhat.com> - 3.8.2-1.1
59923c
- Perl 5.18 rebuild
59923c
59923c
* Wed Jul 31 2013 Nathan Scott <nathans@redhat.com> - 3.8.2-1
59923c
- Update to latest PCP sources.
59923c
- Integrate gluster related stats with PCP (BZ 969348)
59923c
- Fix for iostat2pcp not parsing iostat output (BZ 981545)
59923c
- Start pmlogger with usable config by default (BZ 953759)
59923c
- Fix pmatop failing to start, gives stacktrace (BZ 963085)
59923c
59923c
* Wed Jun 19 2013 Nathan Scott <nathans@redhat.com> - 3.8.1-1
59923c
- Update to latest PCP sources.
59923c
- Fix log import silently dropping >1024 metrics (BZ 968210)
59923c
- Move some commonly used tools on the usual PATH (BZ 967709)
59923c
- Improve pmatop handling of missing proc metrics (BZ 963085)
59923c
- Stop out-of-order records corrupting import logs (BZ 958745)
59923c
59923c
* Tue May 14 2013 Nathan Scott <nathans@redhat.com> - 3.8.0-1
59923c
- Update to latest PCP sources.
59923c
- Validate metric names passed into pmiAddMetric (BZ 958019)
59923c
- Install log directories with correct ownership (BZ 960858)
59923c
59923c
* Fri Apr 19 2013 Nathan Scott <nathans@redhat.com> - 3.7.2-1
59923c
- Update to latest PCP sources.
59923c
- Ensure root namespace exists at the end of install (BZ 952977)
59923c
59923c
* Wed Mar 20 2013 Nathan Scott <nathans@redhat.com> - 3.7.1-1
59923c
- Update to latest PCP sources.
59923c
- Migrate all tempfiles correctly to the new tempdir hierarchy.
59923c
59923c
* Sun Mar 10 2013 Nathan Scott <nathans@redhat.com> - 3.7.0-1
59923c
- Update to latest PCP sources.
59923c
- Migrate all configuration files below the /etc/pcp hierarchy.
59923c
59923c
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.6.10-2.1
59923c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
59923c
59923c
* Wed Nov 28 2012 Nathan Scott <nathans@redhat.com> - 3.6.10-2
59923c
- Ensure tmpfile directories created in %%files section.
59923c
- Resolve tmpfile create/teardown race conditions.
59923c
59923c
* Mon Nov 19 2012 Nathan Scott <nathans@redhat.com> - 3.6.10-1
59923c
- Update to latest PCP sources.
59923c
- Resolve tmpfile security flaws: CVE-2012-5530
59923c
- Introduces new "pcp" user account for all daemons to use.
59923c
59923c
* Fri Oct 12 2012 Nathan Scott <nathans@redhat.com> - 3.6.9-1
59923c
- Update to latest PCP sources.
59923c
- Fix pmcd sigsegv in NUMA/CPU indom setup (BZ 858384)
59923c
- Fix sar2pcp uninitialised perl variable warning (BZ 859117)
59923c
- Fix pcp.py and pmcollectl with older python versions (BZ 852234)
59923c
59923c
* Fri Sep 14 2012 Nathan Scott <nathans@redhat.com> - 3.6.8-1
59923c
- Update to latest PCP sources.
59923c
59923c
* Wed Sep 05 2012 Nathan Scott <nathans@redhat.com> - 3.6.6-1.1
59923c
- Move configure step from prep to build section of spec (BZ 854128)
59923c
59923c
* Tue Aug 28 2012 Mark Goodwin <mgoodwin@redhat.com> - 3.6.6-1
59923c
- Update to latest PCP sources, see installed CHANGELOG for details.
59923c
- Introduces new python-pcp and pcp-testsuite sub-packages.
59923c
59923c
* Thu Aug 16 2012 Mark Goodwin <mgoodwin@redhat.com> - 3.6.5-1
59923c
- Update to latest PCP sources, see installed CHANGELOG for details.
59923c
- Fix security flaws: CVE-2012-3418 CVE-2012-3419 CVE-2012-3420 and CVE-2012-3421 (BZ 848629)
59923c
59923c
* Thu Jul 19 2012 Mark Goodwin <mgoodwin@redhat.com>
59923c
- pmcd and pmlogger services are not supposed to be enabled by default (BZ 840763) - 3.6.3-1.3
59923c
59923c
* Thu Jun 21 2012 Mark Goodwin <mgoodwin@redhat.com>
59923c
- remove pcp-import-sheet2pcp subpackage due to missing deps (BZ 830923) - 3.6.3-1.2
59923c
59923c
* Fri May 18 2012 Dan Hork <dan[at]danny.cz> - 3.6.3-1.1
59923c
- fix build on s390x
59923c
59923c
* Mon Apr 30 2012 Mark Goodwin - 3.6.3-1
59923c
- Update to latest PCP sources
59923c
59923c
* Thu Apr 26 2012 Mark Goodwin - 3.6.2-1
59923c
- Update to latest PCP sources
59923c
59923c
* Thu Apr 12 2012 Mark Goodwin - 3.6.1-1
59923c
- Update to latest PCP sources
59923c
59923c
* Thu Mar 22 2012 Mark Goodwin - 3.6.0-1
59923c
- use %%configure macro for correct libdir logic
59923c
- update to latest PCP sources
59923c
59923c
* Thu Dec 15 2011 Mark Goodwin - 3.5.11-2
59923c
- patched configure.in for libdir=/usr/lib64 on ppc64
59923c
59923c
* Thu Dec 01 2011 Mark Goodwin - 3.5.11-1
59923c
- Update to latest PCP sources.
59923c
59923c
* Fri Nov 04 2011 Mark Goodwin - 3.5.10-1
59923c
- Update to latest PCP sources.
59923c
59923c
* Mon Oct 24 2011 Mark Goodwin - 3.5.9-1
59923c
- Update to latest PCP sources.
59923c
59923c
* Mon Aug 08 2011 Mark Goodwin - 3.5.8-1
59923c
- Update to latest PCP sources.
59923c
59923c
* Fri Aug 05 2011 Mark Goodwin - 3.5.7-1
59923c
- Update to latest PCP sources.
59923c
59923c
* Fri Jul 22 2011 Mark Goodwin - 3.5.6-1
59923c
- Update to latest PCP sources.
59923c
59923c
* Tue Jul 19 2011 Mark Goodwin - 3.5.5-1
59923c
- Update to latest PCP sources.
59923c
59923c
* Thu Feb 03 2011 Mark Goodwin - 3.5.0-1
59923c
- Update to latest PCP sources.
59923c
59923c
* Thu Sep 30 2010 Mark Goodwin - 3.4.0-1
59923c
- Update to latest PCP sources.
59923c
59923c
* Fri Jul 16 2010 Mark Goodwin - 3.3.3-1
59923c
- Update to latest PCP sources.
59923c
59923c
* Sat Jul 10 2010 Mark Goodwin - 3.3.2-1
59923c
- Update to latest PCP sources.
59923c
59923c
* Tue Jun 29 2010 Mark Goodwin - 3.3.1-1
59923c
- Update to latest PCP sources.
59923c
59923c
* Fri Jun 25 2010 Mark Goodwin - 3.3.0-1
59923c
- Update to latest PCP sources.
59923c
59923c
* Thu Mar 18 2010 Mark Goodwin - 3.1.2-1
59923c
- Update to latest PCP sources.
59923c
59923c
* Wed Jan 27 2010 Mark Goodwin - 3.1.0-1
59923c
- BuildRequires: initscripts for %%{_vendor} == redhat.
59923c
59923c
* Thu Dec 10 2009 Mark Goodwin - 3.0.3-1
59923c
- BuildRequires: initscripts for FC12.
59923c
59923c
* Wed Dec 02 2009 Mark Goodwin - 3.0.2-1
59923c
- Added sysfs.kernel metrics, rebased to minor community release.
59923c
59923c
* Mon Oct 19 2009 Martin Hicks <mort@sgi.com> - 3.0.1-2
59923c
- Remove IB dependencies.  The Infiniband PMDA is being moved to
59923c
  a stand-alone package.
59923c
- Move cluster PMDA to a stand-alone package.
59923c
59923c
* Fri Oct 09 2009 Mark Goodwin <mgoodwin@redhat.com> - 3.0.0-9
59923c
- This is the initial import for Fedora
59923c
- See 3.0.0 details in CHANGELOG