Blame SPECS/pcp.spec

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