2017-04-02 04:14:31 +00:00
Name : pcp
2024-08-01 01:27:23 +00:00
Version : 6.3.0
Release : 1%{?dist}
2010-07-20 00:32:23 +00:00
Summary : System-level performance monitoring and performance management
2023-06-26 01:22:32 +00:00
License : GPL-2.0-or-later AND LGPL-2.1-or-later AND CC-BY-3.0
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2017-04-02 04:14:31 +00:00
2023-09-06 00:38:19 +00:00
Source0 : https://github.com/performancecopilot/pcp/releases/pcp-%{version} .src.tar.gz
2023-11-17 05:07:51 +00:00
%if 0%{?fedora} >= 40 || 0%{?rhel} >= 10
ExcludeArch : %{ix86}
%endif
2022-06-17 00:57:54 +00:00
2022-02-03 04:01:16 +00:00
# The additional linker flags break out-of-tree PMDAs.
# https://bugzilla.redhat.com/show_bug.cgi?id=2043092
2022-08-31 05:36:47 +00:00
%undefine _package_note_flags
2022-02-03 04:01:16 +00:00
2018-02-16 03:29:50 +00:00
%if 0%{?fedora} >= 26 || 0%{?rhel} > 7
2018-01-10 16:43:34 +00:00
%global __python2 python2
%else
%global __python2 python
%endif
2024-08-01 01:27:23 +00:00
# UsrMerge was completed in EL 7, however the latest 'hostname' package in EL 7 contains "Provides: /bin/hostname". Likewise for /bin/ps from procps[-ng] packages.
2021-02-10 05:01:22 +00:00
%if 0%{?rhel} >= 8 || 0%{?fedora} >= 17
2020-02-27 10:54:04 +00:00
%global _hostname_executable /usr/bin/hostname
2024-08-01 01:27:23 +00:00
%global _ps_executable /usr/bin/ps
2020-02-27 10:54:04 +00:00
%else
%global _hostname_executable /bin/hostname
2024-08-01 01:27:23 +00:00
%global _ps_executable /bin/ps
2020-02-27 10:54:04 +00:00
%endif
2021-02-10 05:01:22 +00:00
%global disable_perl 0
2017-10-18 21:20:57 +00:00
%if 0%{?fedora} || 0%{?rhel} > 5
2017-02-17 17:34:51 +00:00
%global disable_selinux 0
%else
%global disable_selinux 1
%endif
2016-06-06 14:07:54 +00:00
%global disable_snmp 0
2015-06-01 13:08:52 +00:00
2019-04-26 06:19:55 +00:00
# No libpfm devel packages for s390, armv7hl nor for some rhels, disable
2017-08-28 03:48:19 +00:00
%ifarch s390 s390x armv7hl
2015-03-31 14:39:29 +00:00
%global disable_perfevent 1
2014-12-01 05:01:40 +00:00
%else
2014-12-01 04:48:13 +00:00
%if 0%{?fedora} >= 20 || 0%{?rhel} > 6
2015-03-31 14:39:29 +00:00
%global disable_perfevent 0
2014-12-01 04:48:13 +00:00
%else
2015-03-31 14:39:29 +00:00
%global disable_perfevent 1
2014-12-01 04:48:13 +00:00
%endif
2014-09-12 18:47:24 +00:00
%endif
2014-12-01 04:18:53 +00:00
2023-11-17 05:07:51 +00:00
# Resource Control kernel feature is on recent Intel/AMD processors only
%ifarch x86_64
%global disable_resctrl 0
%else
%global disable_resctrl 1
%endif
2019-10-19 13:09:24 +00:00
# libchan, libhdr_histogram and pmdastatsd
2020-05-31 02:33:17 +00:00
%if 0%{?fedora} >= 29 || 0%{?rhel} > 7
2019-10-19 13:09:24 +00:00
%global disable_statsd 0
%else
%global disable_statsd 1
%endif
2015-02-23 11:09:10 +00:00
2019-12-11 09:05:37 +00:00
%if 0%{?fedora} >= 30 || 0%{?rhel} > 7
2018-09-21 04:18:14 +00:00
%global _with_python2 --with-python=no
2018-06-15 02:11:17 +00:00
%global disable_python2 1
%else
2015-03-31 14:39:29 +00:00
%global disable_python2 0
2018-06-15 02:11:17 +00:00
%endif
2015-03-16 13:12:36 +00:00
# Default for epel5 is python24, so use the (optional) python26 packages
%if 0%{?rhel} == 5
2015-03-31 14:39:29 +00:00
%global default_python 26
2014-12-08 14:06:18 +00:00
%endif
2015-08-04 03:54:00 +00:00
# No python3 development environment before el8
2015-06-01 13:08:52 +00:00
%if 0%{?rhel} == 0 || 0%{?rhel} > 7
2015-03-31 14:39:29 +00:00
%global disable_python3 0
2015-03-09 13:07:46 +00:00
# Do we wish to mandate python3 use in pcp? (f22+ and el8+)
2015-06-01 13:08:52 +00:00
%if 0%{?fedora} >= 22 || 0%{?rhel} > 7
2015-03-31 14:39:29 +00:00
%global default_python 3
2015-02-23 11:09:10 +00:00
%endif
2014-10-31 05:34:18 +00:00
%else
2015-03-31 14:39:29 +00:00
%global disable_python3 1
2014-10-31 05:34:18 +00:00
%endif
2015-02-23 11:09:10 +00:00
2017-08-16 06:17:29 +00:00
%if 0%{?fedora} >= 24 || 0%{?rhel} > 7
%global perl_interpreter perl-interpreter
%else
%global perl_interpreter perl
%endif
2020-02-27 10:54:04 +00:00
# support for pmdabcc, check bcc.spec for supported architectures of bcc
2019-02-27 03:01:31 +00:00
%if 0%{?fedora} >= 25 || 0%{?rhel} > 6
2020-02-27 10:54:04 +00:00
%ifarch x86_64 %{power64} aarch64 s390x
2018-02-16 03:29:50 +00:00
%global disable_bcc 0
2020-02-27 10:54:04 +00:00
%else
%global disable_bcc 1
2018-02-19 20:43:08 +00:00
%endif
2018-02-16 03:29:50 +00:00
%else
%global disable_bcc 1
%endif
2022-08-31 05:36:47 +00:00
# support for pmdabpf, check bcc.spec for supported architectures of libbpf-tools
2023-02-23 02:03:30 +00:00
%if 0%{?fedora} >= 37 || 0%{?rhel} > 8
2024-06-14 21:32:36 +00:00
%ifarch x86_64 %{power64} aarch64 s390x
2021-09-15 00:07:03 +00:00
%global disable_bpf 0
%else
%global disable_bpf 1
%endif
%else
%global disable_bpf 1
%endif
2020-02-27 10:54:04 +00:00
# support for pmdabpftrace, check bpftrace.spec for supported architectures of bpftrace
%if 0%{?fedora} >= 30 || 0%{?rhel} > 7
%ifarch x86_64 %{power64} aarch64 s390x
2019-10-19 13:09:24 +00:00
%global disable_bpftrace 0
2020-02-27 10:54:04 +00:00
%else
%global disable_bpftrace 1
2019-10-19 13:09:24 +00:00
%endif
%else
%global disable_bpftrace 1
%endif
2015-08-04 03:54:00 +00:00
# support for pmdajson
%if 0%{?rhel} == 0 || 0%{?rhel} > 6
%if !%{disable_python2} || !%{disable_python3}
%global disable_json 0
%else
%global disable_json 1
%endif
%else
%global disable_json 1
%endif
2022-10-27 04:07:59 +00:00
# support for pmdamongodb
%if !%{disable_python2} || !%{disable_python3}
%global disable_mongodb 0
%else
%global disable_mongodb 1
%endif
2020-02-27 10:54:04 +00:00
# No mssql ODBC driver on non-x86 platforms
%ifarch x86_64
%if !%{disable_python2} || !%{disable_python3}
%global disable_mssql 0
%else
%global disable_mssql 1
%endif
%else
%global disable_mssql 1
%endif
2017-04-02 04:14:31 +00:00
# support for pmdanutcracker (perl deps missing on rhel)
%if 0%{?rhel} == 0
%global disable_nutcracker 0
%else
%global disable_nutcracker 1
%endif
2014-12-08 14:06:18 +00:00
# Qt development and runtime environment missing components before el6
2014-06-18 15:45:46 +00:00
%if 0%{?rhel} == 0 || 0%{?rhel} > 5
2015-03-31 14:39:29 +00:00
%global disable_qt 0
2023-11-17 05:07:51 +00:00
%if 0%{?fedora} != 0 || 0%{?rhel} > 9
%global default_qt 6
2017-04-12 21:16:31 +00:00
%endif
2014-06-18 15:45:46 +00:00
%else
2015-03-31 14:39:29 +00:00
%global disable_qt 1
2014-06-18 15:45:46 +00:00
%endif
2014-05-15 05:28:30 +00:00
2015-08-04 03:54:00 +00:00
# systemd services and pmdasystemd
%if 0%{?fedora} >= 19 || 0%{?rhel} >= 7
%global disable_systemd 0
%else
%global disable_systemd 1
%endif
2019-10-19 13:09:24 +00:00
# static probes, missing before el6 and on some architectures
2015-08-04 03:54:00 +00:00
%if 0%{?rhel} == 0 || 0%{?rhel} > 5
2015-09-17 03:11:25 +00:00
%global disable_sdt 0
%else
2015-08-04 03:54:00 +00:00
%ifnarch ppc ppc64
%global disable_sdt 0
%else
%global disable_sdt 1
%endif
%endif
2019-10-19 13:09:24 +00:00
# libuv async event library
2019-01-10 04:09:47 +00:00
%if 0%{?fedora} >= 28 || 0%{?rhel} > 7
%global disable_libuv 0
%else
%global disable_libuv 1
%endif
2019-06-28 05:41:29 +00:00
%global disable_openssl 0
2015-08-04 03:54:00 +00:00
# rpm producing "noarch" packages
%if 0%{?rhel} == 0 || 0%{?rhel} > 5
%global disable_noarch 0
%else
%global disable_noarch 1
%endif
2024-06-14 21:32:36 +00:00
# build pcp2arrow (no python3-arrow on RHEL or 32-bit Fedora)
%if 0%{?fedora} >= 40
2024-02-11 15:13:52 +00:00
%global disable_arrow 0
%else
%global disable_arrow 1
%endif
2018-06-15 02:11:17 +00:00
%if 0%{?fedora} >= 24
%global disable_xlsx 0
2017-10-18 21:20:57 +00:00
%else
%global disable_xlsx 1
%endif
2024-08-01 01:27:23 +00:00
%if 0%{?fedora} >= 40 || 0%{?rhel} >= 10
%global disable_amdgpu 0
%else
%global disable_amdgpu 1
%endif
2015-06-01 13:08:52 +00:00
# prevent conflicting binary and man page install for pcp(1)
2019-12-11 09:05:37 +00:00
Conflicts : librapi < 0.16
2015-06-01 13:08:52 +00:00
2018-08-03 21:05:44 +00:00
# KVM PMDA moved into pcp (no longer using Perl, default on)
2019-12-11 09:05:37 +00:00
Obsoletes : pcp-pmda-kvm < 4.1.1
2021-02-11 00:20:58 +00:00
Provides : pcp-pmda-kvm = %{version} -%{release}
2018-08-03 21:05:44 +00:00
2021-06-04 01:04:40 +00:00
# RPM PMDA retired completely
Obsoletes : pcp-pmda-rpm < 5.3.2
Obsoletes : pcp-pmda-rpm-debuginfo < 5.3.2
2019-10-19 13:09:24 +00:00
# PCP REST APIs are now provided by pmproxy
2019-12-11 09:05:37 +00:00
Obsoletes : pcp-webapi-debuginfo < 5.0.0
Obsoletes : pcp-webapi < 5.0.0
2021-02-11 00:20:58 +00:00
Provides : pcp-webapi = %{version} -%{release}
2019-10-19 13:09:24 +00:00
2020-08-08 04:09:28 +00:00
# PCP discovery service now provided by pmfind
Obsoletes : pcp-manager-debuginfo < 5.2.0
Obsoletes : pcp-manager < 5.2.0
2021-04-16 00:36:37 +00:00
# Some older releases did not update or replace pcp-gui-debuginfo properly
%if 0%{?fedora} < 27 && 0%{?rhel} <= 7 && "%{_vendor}" == "redhat"
Obsoletes : pcp-gui-debuginfo < 4.1.1
%endif
Obsoletes : pcp-compat < 4.2.0
Obsoletes : pcp-monitor < 4.2.0
Obsoletes : pcp-collector < 4.2.0
Obsoletes : pcp-pmda-nvidia < 3.10.5
2018-11-16 07:45:57 +00:00
# https://fedoraproject.org/wiki/Packaging "C and C++"
2021-01-08 01:11:25 +00:00
BuildRequires : make
2015-12-08 01:14:11 +00:00
BuildRequires : gcc gcc-c++
2012-09-14 11:53:58 +00:00
BuildRequires : procps autoconf bison flex
2014-01-15 00:01:11 +00:00
BuildRequires : avahi-devel
2018-08-03 21:05:44 +00:00
BuildRequires : xz-devel
2019-12-11 09:05:37 +00:00
BuildRequires : zlib-devel
2014-12-08 14:06:18 +00:00
%if !%{disable_python2}
2015-03-16 13:12:36 +00:00
%if 0%{?default_python} != 3
BuildRequires : python%{?default_python} -devel
%else
2018-01-10 16:43:34 +00:00
BuildRequires : %{__python 2}-devel
2014-12-08 14:06:18 +00:00
%endif
2015-03-16 13:12:36 +00:00
%endif
2014-10-31 05:34:18 +00:00
%if !%{disable_python3}
BuildRequires : python3-devel
2020-08-08 04:09:28 +00:00
BuildRequires : python3-setuptools
2014-10-31 05:34:18 +00:00
%endif
2012-09-14 11:53:58 +00:00
BuildRequires : ncurses-devel
BuildRequires : readline-devel
2013-05-14 06:38:03 +00:00
BuildRequires : cyrus-sasl-devel
2019-10-19 13:09:24 +00:00
%if !%{disable_statsd}
2020-05-31 02:33:17 +00:00
# ragel unavailable on RHEL8
%if 0%{?rhel} == 0
BuildRequires : ragel
%endif
BuildRequires : chan-devel HdrHistogram_c-devel
2019-10-19 13:09:24 +00:00
%endif
2014-12-01 04:18:53 +00:00
%if !%{disable_perfevent}
2015-04-16 01:57:22 +00:00
BuildRequires : libpfm-devel >= 4
2014-12-01 04:18:53 +00:00
%endif
2015-08-04 03:54:00 +00:00
%if !%{disable_sdt}
2015-03-09 13:07:46 +00:00
BuildRequires : systemtap-sdt-devel
%endif
2019-01-10 04:09:47 +00:00
%if !%{disable_libuv}
2019-10-19 13:09:24 +00:00
BuildRequires : libuv-devel >= 1.0
2019-01-10 04:09:47 +00:00
%endif
2019-06-28 05:41:29 +00:00
%if !%{disable_openssl}
BuildRequires : openssl-devel >= 1.1.1
%endif
2018-08-03 21:05:44 +00:00
%if 0%{?rhel} == 0 || 0%{?rhel} > 7
BuildRequires : perl-generators
2016-06-29 14:52:06 +00:00
%endif
2018-08-03 21:05:44 +00:00
BuildRequires : perl-devel perl(strict)
BuildRequires : perl(ExtUtils::MakeMaker) perl(LWP::UserAgent) perl(JSON)
2021-04-16 01:07:02 +00:00
BuildRequires : perl(Time::HiRes) perl(Digest::MD5)
BuildRequires : perl(XML::LibXML) perl(File::Slurp)
2023-02-23 02:03:30 +00:00
BuildRequires : %{_hostname_executable}
2024-08-01 01:27:23 +00:00
BuildRequires : %{_ps_executable}
2015-08-04 03:54:00 +00:00
%if !%{disable_systemd}
2022-10-27 04:07:59 +00:00
BuildRequires : systemd-devel
2013-03-11 02:00:00 +00:00
%endif
2014-06-18 15:45:46 +00:00
%if !%{disable_qt}
2014-05-15 04:44:12 +00:00
BuildRequires : desktop-file-utils
2023-11-17 05:07:51 +00:00
%if 0%{?default_qt} == 6
BuildRequires : qt6-qtbase-devel
BuildRequires : qt6-qtsvg-devel
2017-04-12 21:16:31 +00:00
%else
BuildRequires : qt5-qtbase-devel
BuildRequires : qt5-qtsvg-devel
%endif
2014-06-18 15:45:46 +00:00
%endif
2014-12-22 14:25:25 +00:00
2024-02-11 15:13:52 +00:00
# Utilities used indirectly e.g. by scripts we install
Requires : bash xz gawk sed grep coreutils diffutils findutils
2024-08-01 01:27:23 +00:00
Requires : which %{_hostname_executable} %{_ps_executable}
2012-09-14 11:53:58 +00:00
Requires : pcp-libs = %{version} -%{release}
2022-04-05 01:40:51 +00:00
2022-10-27 04:07:59 +00:00
%if !%{disable_selinux}
2022-04-05 01:40:51 +00:00
# rpm boolean dependencies are supported since RHEL 8
%if 0%{?fedora} >= 35 || 0%{?rhel} >= 8
2022-10-27 04:07:59 +00:00
# This ensures that the pcp-selinux package and all its dependencies are
# not pulled into containers and other systems that do not use SELinux
2022-04-05 01:40:51 +00:00
Requires : (pcp-selinux = %{version} -%{release} if selinux-policy-targeted)
%else
2017-02-17 17:34:51 +00:00
Requires : pcp-selinux = %{version} -%{release}
%endif
2022-04-05 01:40:51 +00:00
%endif
2020-05-31 02:33:17 +00:00
%global _confdir %{_sysconfdir} /pcp
%global _logsdir %{_localstatedir} /log/pcp
%global _pmnsdir %{_localstatedir} /lib/pcp/pmns
%global _pmdasdir %{_localstatedir} /lib/pcp/pmdas
2020-08-08 04:09:28 +00:00
%global _pmdasexecdir %{_libexecdir} /pcp/pmdas
2020-05-31 02:33:17 +00:00
%global _testsdir %{_localstatedir} /lib/pcp/testsuite
2022-08-31 05:36:47 +00:00
%global _ieconfigdir %{_localstatedir} /lib/pcp/config/pmie
2020-05-31 02:33:17 +00:00
%global _ieconfdir %{_localstatedir} /lib/pcp/config/pmieconf
2022-10-27 04:07:59 +00:00
%global _selinuxdir %{_datadir} /selinux/packages/targeted
2015-03-31 14:39:29 +00:00
%if 0%{?fedora} >= 20 || 0%{?rhel} >= 8
%global _with_doc --with-docdir=%{_docdir} /%{name}
2014-10-31 05:34:18 +00:00
%endif
2015-08-04 03:54:00 +00:00
2018-08-03 21:05:44 +00:00
%if 0%{?fedora} >= 29 || 0%{?rhel} >= 8
%global _with_dstat --with-dstat-symlink=yes
%global disable_dstat 0
%else
2018-12-21 03:11:54 +00:00
%global _with_dstat --with-dstat-symlink=no
2018-08-03 21:05:44 +00:00
%global disable_dstat 1
%endif
2015-08-04 03:54:00 +00:00
%if !%{disable_systemd}
2020-08-08 04:09:28 +00:00
%global _initddir %{_libexecdir} /pcp/lib
2014-09-05 04:40:42 +00:00
%else
2015-03-31 14:39:29 +00:00
%global _initddir %{_sysconfdir} /rc.d/init.d
2015-09-17 03:11:25 +00:00
%global _with_initd --with-rcdir=%{_initddir}
2014-09-05 04:40:42 +00:00
%endif
2013-10-17 22:54:39 +00:00
2017-08-28 03:48:19 +00:00
# we never want Infiniband on s390 and armv7hl platforms
%ifarch s390 s390x armv7hl
2015-03-31 14:39:29 +00:00
%global disable_infiniband 1
2013-07-31 04:04:12 +00:00
%else
2013-10-17 22:54:39 +00:00
# we never want Infiniband on RHEL5 or earlier
%if 0%{?rhel} != 0 && 0%{?rhel} < 6
2015-03-31 14:39:29 +00:00
%global disable_infiniband 1
2013-10-17 22:54:39 +00:00
%else
2015-03-31 14:39:29 +00:00
%global disable_infiniband 0
2013-10-17 22:54:39 +00:00
%endif
%endif
2017-06-30 01:26:52 +00:00
%if !%{disable_infiniband}
%global _with_ib --with-infiniband=yes
2013-07-31 02:40:00 +00:00
%endif
2010-07-20 00:32:23 +00:00
2017-06-30 01:26:52 +00:00
%if %{disable_perfevent}
%global _with_perfevent --with-perfevent=no
%else
2015-03-31 14:39:29 +00:00
%global _with_perfevent --with-perfevent=yes
2014-12-01 04:18:53 +00:00
%endif
2019-10-19 13:09:24 +00:00
%if %{disable_statsd}
2020-05-31 02:33:17 +00:00
%global _with_statsd --with-pmdastatsd=no
2019-10-19 13:09:24 +00:00
%else
2020-05-31 02:33:17 +00:00
%global _with_statsd --with-pmdastatsd=yes
2019-10-19 13:09:24 +00:00
%endif
2018-02-16 03:29:50 +00:00
%if %{disable_bcc}
%global _with_bcc --with-pmdabcc=no
%else
%global _with_bcc --with-pmdabcc=yes
%endif
2021-09-15 00:07:03 +00:00
%if %{disable_bpf}
%global _with_bpf --with-pmdabpf=no
%else
%global _with_bpf --with-pmdabpf=yes
%endif
2019-10-19 13:09:24 +00:00
%if %{disable_bpftrace}
%global _with_bpftrace --with-pmdabpftrace=no
%else
%global _with_bpftrace --with-pmdabpftrace=yes
%endif
2015-08-04 03:54:00 +00:00
%if %{disable_json}
%global _with_json --with-pmdajson=no
%else
%global _with_json --with-pmdajson=yes
%endif
2022-10-27 04:07:59 +00:00
%if %{disable_mongodb}
%global _with_mongodb --with-pmdamongodb=no
%else
%global _with_mongodb --with-pmdamongodb=yes
%endif
2017-04-02 04:14:31 +00:00
%if %{disable_nutcracker}
%global _with_nutcracker --with-pmdanutcracker=no
%else
%global _with_nutcracker --with-pmdanutcracker=yes
%endif
2016-06-06 14:07:54 +00:00
%if %{disable_snmp}
%global _with_snmp --with-pmdasnmp=no
%else
%global _with_snmp --with-pmdasnmp=yes
%endif
2016-03-18 20:04:46 +00:00
%global pmda_remove() %{expand:
2018-02-16 03:29:50 +00:00
if [ %1 -eq 0 ]
2016-03-18 20:04:46 +00:00
then
2019-12-11 09:05:37 +00:00
PCP_PMDAS_DIR=%{_pmdasdir}
PCP_PMCDCONF_PATH=%{_confdir} /pmcd/pmcd.conf
if [ -f " $ P C P _ P M C D C O N F _ P A T H " -a -f " $ P C P _ P M D A S _ D I R / % 2 / d o m a i n . h " ]
2016-03-18 20:04:46 +00:00
then
2020-05-31 02:33:17 +00:00
(cd " $ P C P _ P M D A S _ D I R / % 2 / " && ./Remove >/dev/null 2>&1)
2016-03-18 20:04:46 +00:00
fi
fi
}
2020-04-24 04:54:35 +00:00
%global install_file() %{expand:
if [ -w " % 1 " ]
then
(cd " % 1 " && touch " % 2 " && chmod 644 " % 2 " )
else
echo " W A R N I N G : C a n n o t w r i t e t o % 1 , s k i p p i n g % 2 c r e a t i o n . " >&2
fi
}
%global rebuild_pmns() %{expand:
if [ -w " % 1 " ]
then
(cd " % 1 " && ./Rebuild -s && rm -f " % 2 " )
else
echo " W A R N I N G : C a n n o t w r i t e t o % 1 , s k i p p i n g n a m e s p a c e r e b u i l d . " >&2
fi
}
2022-08-31 05:36:47 +00:00
%global run_pmieconf() %{expand:
if [ -w " % 1 " ]
then
pmieconf -c enable " % 2 "
else
echo " W A R N I N G : C a n n o t w r i t e t o % 1 , s k i p p i n g p m i e c o n f e n a b l e o f % 2 . " >&2
fi
}
2015-06-01 13:08:52 +00:00
%description
Performance Co-Pilot (PCP) provides a framework and services to support
2018-03-29 01:40:40 +00:00
system-level performance monitoring and performance management.
2015-06-01 13:08:52 +00:00
The PCP open source release provides a unifying abstraction for all of
the interesting performance data in a system, and allows client
applications to easily retrieve and process any subset of that data.
2014-02-20 02:36:48 +00:00
#
# pcp-conf
#
%package conf
2023-07-25 16:54:27 +00:00
License : LGPL-2.1-or-later
2014-02-20 02:36:48 +00:00
Summary : Performance Co-Pilot run-time configuration
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2014-02-20 02:36:48 +00:00
# http://fedoraproject.org/wiki/Packaging:Conflicts "Splitting Packages"
Conflicts : pcp-libs < 3.9
%description conf
Performance Co-Pilot (PCP) run-time configuration
2010-07-20 00:32:23 +00:00
#
# pcp-libs
#
%package libs
2023-07-25 16:54:27 +00:00
License : LGPL-2.1-or-later
2010-07-20 00:32:23 +00:00
Summary : Performance Co-Pilot run-time libraries
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2014-02-20 02:36:48 +00:00
Requires : pcp-conf = %{version} -%{release}
2022-08-31 05:36:47 +00:00
# prevent conflicting library (libpcp.so.N) installation
Conflicts : postgresql-pgpool-II
2010-07-20 00:32:23 +00:00
%description libs
Performance Co-Pilot (PCP) run-time libraries
#
# pcp-libs-devel
#
%package libs-devel
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later AND LGPL-2.1-or-later
2016-06-06 14:07:54 +00:00
Summary : Performance Co-Pilot (PCP) development headers
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
2016-06-06 14:07:54 +00:00
2022-08-31 05:36:47 +00:00
# prevent conflicting library (libpcp.so) installation
Conflicts : postgresql-pgpool-II-devel
2016-06-06 14:07:54 +00:00
%description libs-devel
2017-02-17 17:34:51 +00:00
Performance Co-Pilot (PCP) headers for development.
2016-06-06 14:07:54 +00:00
#
# pcp-devel
#
%package devel
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later AND LGPL-2.1-or-later
2016-06-06 14:07:54 +00:00
Summary : Performance Co-Pilot (PCP) development tools and documentation
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2015-03-31 14:39:29 +00:00
Requires : pcp = %{version} -%{release}
2012-09-14 11:53:58 +00:00
Requires : pcp-libs = %{version} -%{release}
2016-06-06 14:07:54 +00:00
Requires : pcp-libs-devel = %{version} -%{release}
2010-07-20 00:32:23 +00:00
2016-06-06 14:07:54 +00:00
%description devel
Performance Co-Pilot (PCP) documentation and tools for development.
2010-07-20 00:32:23 +00:00
2012-08-28 10:54:33 +00:00
#
# pcp-testsuite
#
%package testsuite
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2012-08-28 10:54:33 +00:00
Summary : Performance Co-Pilot (PCP) test suite
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2012-09-14 11:53:58 +00:00
Requires : pcp = %{version} -%{release}
2014-01-29 01:50:12 +00:00
Requires : pcp-libs = %{version} -%{release}
2012-09-14 11:53:58 +00:00
Requires : pcp-libs-devel = %{version} -%{release}
2016-06-06 14:07:54 +00:00
Requires : pcp-devel = %{version} -%{release}
2019-12-11 09:05:37 +00:00
Obsoletes : pcp-gui-testsuite < 3.9.5
2018-11-16 07:45:57 +00:00
# The following are inherited from pcp-collector and pcp-monitor,
# both of which are now obsoleted by the base pcp package
Requires : pcp-pmda-activemq pcp-pmda-bonding pcp-pmda-dbping pcp-pmda-ds389 pcp-pmda-ds389log
Requires : pcp-pmda-elasticsearch pcp-pmda-gpfs pcp-pmda-gpsd pcp-pmda-lustre
Requires : pcp-pmda-memcache pcp-pmda-mysql pcp-pmda-named pcp-pmda-netfilter pcp-pmda-news
Requires : pcp-pmda-nginx pcp-pmda-nfsclient pcp-pmda-pdns pcp-pmda-postfix pcp-pmda-postgresql pcp-pmda-oracle
2021-11-10 02:29:02 +00:00
Requires : pcp-pmda-samba pcp-pmda-slurm pcp-pmda-zimbra
2018-11-16 07:45:57 +00:00
Requires : pcp-pmda-dm pcp-pmda-apache
Requires : pcp-pmda-bash pcp-pmda-cisco pcp-pmda-gfs2 pcp-pmda-mailq pcp-pmda-mounts
2023-11-17 05:07:51 +00:00
Requires : pcp-pmda-nvidia-gpu pcp-pmda-roomtemp pcp-pmda-sendmail pcp-pmda-shping pcp-pmda-smart pcp-pmda-farm
2021-07-30 05:25:03 +00:00
Requires : pcp-pmda-hacluster pcp-pmda-lustrecomm pcp-pmda-logger pcp-pmda-denki pcp-pmda-docker pcp-pmda-bind2
2022-10-27 04:07:59 +00:00
Requires : pcp-pmda-sockets pcp-pmda-podman
2019-10-19 13:09:24 +00:00
%if !%{disable_statsd}
Requires : pcp-pmda-statsd
%endif
2018-11-16 07:45:57 +00:00
%if !%{disable_nutcracker}
Requires : pcp-pmda-nutcracker
%endif
%if !%{disable_bcc}
Requires : pcp-pmda-bcc
%endif
2021-09-15 00:07:03 +00:00
%if !%{disable_bpf}
Requires : pcp-pmda-bpf
%endif
2019-10-19 13:09:24 +00:00
%if !%{disable_bpftrace}
Requires : pcp-pmda-bpftrace
%endif
2018-11-16 07:45:57 +00:00
%if !%{disable_python2} || !%{disable_python3}
2024-06-14 21:32:36 +00:00
Requires : pcp-geolocate pcp-export-pcp2openmetrics pcp-export-pcp2json
Requires : pcp-export-pcp2spark pcp-export-pcp2xml pcp-export-pcp2zabbix
2018-11-16 07:45:57 +00:00
Requires : pcp-pmda-gluster pcp-pmda-zswap pcp-pmda-unbound pcp-pmda-mic
2019-10-19 13:09:24 +00:00
Requires : pcp-pmda-libvirt pcp-pmda-lio pcp-pmda-openmetrics pcp-pmda-haproxy
2024-06-14 21:32:36 +00:00
Requires : pcp-pmda-lmsensors pcp-pmda-netcheck pcp-pmda-rabbitmq pcp-pmda-uwsgi
2022-10-27 04:07:59 +00:00
Requires : pcp-pmda-openvswitch
%endif
%if !%{disable_mongodb}
Requires : pcp-pmda-mongodb
2020-02-27 10:54:04 +00:00
%endif
%if !%{disable_mssql}
Requires : pcp-pmda-mssql
2018-11-16 07:45:57 +00:00
%endif
%if !%{disable_snmp}
Requires : pcp-pmda-snmp
%endif
%if !%{disable_json}
Requires : pcp-pmda-json
%endif
2023-11-17 05:07:51 +00:00
%if !%{disable_resctrl}
Requires : pcp-pmda-resctrl
%endif
2018-11-16 07:45:57 +00:00
Requires : pcp-pmda-summary pcp-pmda-trace pcp-pmda-weblog
2024-08-01 01:27:23 +00:00
%if !%{disable_amdgpu}
Requires : pcp-pmda-amdgpu
%endif
2018-11-16 07:45:57 +00:00
Requires : pcp-system-tools
%if !%{disable_qt}
Requires : pcp-gui
%endif
Requires : bc gcc gzip bzip2
2019-02-27 03:01:31 +00:00
Requires : redhat-rpm-config
2020-05-31 02:33:17 +00:00
%if !%{disable_selinux}
Requires : selinux-policy-devel
Requires : selinux-policy-targeted
%if 0%{?rhel} == 5
Requires : setools
%else
Requires : setools-console
%endif
%endif
2012-08-28 10:54:33 +00:00
%description testsuite
Quality assurance test suite for Performance Co-Pilot (PCP).
2018-11-16 07:45:57 +00:00
# end testsuite
2012-08-28 10:54:33 +00:00
2010-07-20 00:32:23 +00:00
#
2015-06-01 13:08:52 +00:00
# perl-PCP-PMDA. This is the PCP agent perl binding.
#
%package -n perl-PCP-PMDA
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2015-06-01 13:08:52 +00:00
Summary : Performance Co-Pilot (PCP) Perl bindings and documentation
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2015-06-01 13:08:52 +00:00
Requires : pcp-libs = %{version} -%{release}
2017-08-16 06:17:29 +00:00
Requires : %{perl_interpreter}
2015-06-01 13:08:52 +00:00
%description -n perl-PCP-PMDA
The PCP::PMDA Perl module contains the language bindings for
building Performance Metric Domain Agents (PMDAs) using Perl.
Each PMDA exports performance data for one specific domain, for
example the operating system kernel, Cisco routers, a database,
an application, etc.
#
# perl-PCP-MMV
#
%package -n perl-PCP-MMV
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2015-06-01 13:08:52 +00:00
Summary : Performance Co-Pilot (PCP) Perl bindings for PCP Memory Mapped Values
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2015-06-01 13:08:52 +00:00
Requires : pcp-libs = %{version} -%{release}
2017-08-16 06:17:29 +00:00
Requires : %{perl_interpreter}
2015-06-01 13:08:52 +00:00
%description -n perl-PCP-MMV
The PCP::MMV module contains the Perl language bindings for
building scripts instrumented with the Performance Co-Pilot
(PCP) Memory Mapped Value (MMV) mechanism.
This mechanism allows arbitrary values to be exported from an
instrumented script into the PCP infrastructure for monitoring
and analysis with pmchart, pmie, pmlogger and other PCP tools.
#
# perl-PCP-LogImport
#
%package -n perl-PCP-LogImport
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2015-06-01 13:08:52 +00:00
Summary : Performance Co-Pilot (PCP) Perl bindings for importing external data into PCP archives
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2015-06-01 13:08:52 +00:00
Requires : pcp-libs = %{version} -%{release}
2017-08-16 06:17:29 +00:00
Requires : %{perl_interpreter}
2015-06-01 13:08:52 +00:00
%description -n perl-PCP-LogImport
The PCP::LogImport module contains the Perl language bindings for
importing data in various 3rd party formats into PCP archives so
they can be replayed with standard PCP monitoring tools.
#
# perl-PCP-LogSummary
#
%package -n perl-PCP-LogSummary
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2015-06-01 13:08:52 +00:00
Summary : Performance Co-Pilot (PCP) Perl bindings for post-processing output of pmlogsummary
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2015-06-01 13:08:52 +00:00
Requires : pcp-libs = %{version} -%{release}
2017-08-16 06:17:29 +00:00
Requires : %{perl_interpreter}
2015-06-01 13:08:52 +00:00
%description -n perl-PCP-LogSummary
The PCP::LogSummary module provides a Perl module for using the
statistical summary data produced by the Performance Co-Pilot
pmlogsummary utility. This utility produces various averages,
minima, maxima, and other calculations based on the performance
data stored in a PCP archive. The Perl interface is ideal for
exporting this data into third-party tools (e.g. spreadsheets).
#
# pcp-import-sar2pcp
#
%package import-sar2pcp
2023-07-25 16:54:27 +00:00
License : LGPL-2.1-or-later
2015-06-01 13:08:52 +00:00
Summary : Performance Co-Pilot tools for importing sar data into PCP archive logs
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2015-06-01 13:08:52 +00:00
Requires : pcp-libs = %{version} -%{release}
Requires : perl-PCP-LogImport = %{version} -%{release}
2016-03-18 20:04:46 +00:00
Requires : perl(XML::TokeParser)
2015-06-01 13:08:52 +00:00
%description import-sar2pcp
Performance Co-Pilot (PCP) front-end tools for importing sar data
into standard PCP archive logs for replay with any PCP monitoring tool.
#
# pcp-import-iostat2pcp
#
%package import-iostat2pcp
2023-07-25 16:54:27 +00:00
License : LGPL-2.1-or-later
2015-06-01 13:08:52 +00:00
Summary : Performance Co-Pilot tools for importing iostat data into PCP archive logs
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2015-06-01 13:08:52 +00:00
Requires : pcp-libs = %{version} -%{release}
Requires : perl-PCP-LogImport = %{version} -%{release}
%description import-iostat2pcp
Performance Co-Pilot (PCP) front-end tools for importing iostat data
into standard PCP archive logs for replay with any PCP monitoring tool.
#
# pcp-import-mrtg2pcp
#
%package import-mrtg2pcp
2023-07-25 16:54:27 +00:00
License : LGPL-2.1-or-later
2015-06-01 13:08:52 +00:00
Summary : Performance Co-Pilot tools for importing MTRG data into PCP archive logs
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2015-06-01 13:08:52 +00:00
Requires : pcp-libs = %{version} -%{release}
Requires : perl-PCP-LogImport = %{version} -%{release}
%description import-mrtg2pcp
Performance Co-Pilot (PCP) front-end tools for importing MTRG data
into standard PCP archive logs for replay with any PCP monitoring tool.
#
# pcp-import-ganglia2pcp
#
%package import-ganglia2pcp
2023-07-25 16:54:27 +00:00
License : LGPL-2.1-or-later
2015-06-01 13:08:52 +00:00
Summary : Performance Co-Pilot tools for importing ganglia data into PCP archive logs
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2015-06-01 13:08:52 +00:00
Requires : pcp-libs = %{version} -%{release}
Requires : perl-PCP-LogImport = %{version} -%{release}
%description import-ganglia2pcp
Performance Co-Pilot (PCP) front-end tools for importing ganglia data
into standard PCP archive logs for replay with any PCP monitoring tool.
2017-02-17 17:34:51 +00:00
#
# pcp-import-collectl2pcp
#
%package import-collectl2pcp
2023-07-25 16:54:27 +00:00
License : LGPL-2.1-or-later
2017-02-17 17:34:51 +00:00
Summary : Performance Co-Pilot tools for importing collectl log files into PCP archive logs
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2017-02-17 17:34:51 +00:00
Requires : pcp-libs = %{version} -%{release}
%description import-collectl2pcp
Performance Co-Pilot (PCP) front-end tools for importing collectl data
into standard PCP archive logs for replay with any PCP monitoring tool.
2015-11-30 14:23:34 +00:00
#
2015-12-07 15:58:40 +00:00
# pcp-export-zabbix-agent
2015-11-30 14:23:34 +00:00
#
2015-12-07 15:58:40 +00:00
%package export-zabbix-agent
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2016-01-28 15:17:34 +00:00
Summary : Module for exporting PCP metrics to Zabbix agent
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2016-01-28 15:17:34 +00:00
Requires : pcp-libs = %{version} -%{release}
2015-11-30 14:23:34 +00:00
2015-12-07 15:58:40 +00:00
%description export-zabbix-agent
2016-01-28 15:17:34 +00:00
Performance Co-Pilot (PCP) module for exporting metrics from PCP to
Zabbix via the Zabbix agent - see zbxpcp(3) for further details.
2015-11-30 14:23:34 +00:00
2015-06-15 12:03:21 +00:00
%if !%{disable_python2} || !%{disable_python3}
2023-11-17 05:07:51 +00:00
#
# pcp-geolocate
#
%package geolocate
License : GPL-2.0-or-later
Summary : Performance Co-Pilot geographical location metric labels
URL : https://pcp.io
Requires : pcp-libs >= %{version} -%{release}
%if !%{disable_python3}
Requires : python3-pcp = %{version} -%{release}
%else
Requires : %{__python 2}-pcp = %{version} -%{release}
%endif
%description geolocate
Performance Co-Pilot (PCP) tools that automatically apply metric labels
containing latitude and longitude, based on IP-address-based lookups.
Used with live maps to show metric values from different locations.
2015-06-15 12:03:21 +00:00
#
2017-10-18 21:20:57 +00:00
# pcp-export-pcp2elasticsearch
#
%package export-pcp2elasticsearch
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2017-10-18 21:20:57 +00:00
Summary : Performance Co-Pilot tools for exporting PCP metrics to ElasticSearch
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2017-10-18 21:20:57 +00:00
Requires : pcp-libs >= %{version} -%{release}
%if !%{disable_python3}
Requires : python3-pcp = %{version} -%{release}
2018-11-16 07:45:57 +00:00
Requires : python3-requests
BuildRequires : python3-requests
2017-10-18 21:20:57 +00:00
%else
2018-01-10 16:43:34 +00:00
Requires : %{__python 2}-pcp = %{version} -%{release}
2018-11-16 07:45:57 +00:00
Requires : %{__python 2}-requests
BuildRequires : %{__python 2}-requests
2017-10-18 21:20:57 +00:00
%endif
%description export-pcp2elasticsearch
Performance Co-Pilot (PCP) front-end tools for exporting metric values
to Elasticsearch - a distributed, RESTful search and analytics engine.
See https://www.elastic.co/community for further details.
2018-12-21 03:11:54 +00:00
2017-10-18 21:20:57 +00:00
#
2015-06-15 12:03:21 +00:00
# pcp-export-pcp2graphite
#
%package export-pcp2graphite
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2015-06-15 12:03:21 +00:00
Summary : Performance Co-Pilot tools for exporting PCP metrics to Graphite
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2015-06-15 12:03:21 +00:00
Requires : pcp-libs >= %{version} -%{release}
%if !%{disable_python3}
Requires : python3-pcp = %{version} -%{release}
%else
2018-01-10 16:43:34 +00:00
Requires : %{__python 2}-pcp = %{version} -%{release}
2015-06-15 12:03:21 +00:00
%endif
%description export-pcp2graphite
Performance Co-Pilot (PCP) front-end tools for exporting metric values
to graphite (http://graphite.readthedocs.org).
2016-07-11 13:41:54 +00:00
# pcp-export-pcp2influxdb
#
%package export-pcp2influxdb
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2016-07-11 13:41:54 +00:00
Summary : Performance Co-Pilot tools for exporting PCP metrics to InfluxDB
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2016-07-11 13:41:54 +00:00
Requires : pcp-libs >= %{version} -%{release}
%if !%{disable_python3}
2016-07-11 14:18:02 +00:00
Requires : python3-pcp = %{version} -%{release}
2016-07-11 13:41:54 +00:00
Requires : python3-requests
%else
2018-01-10 16:43:34 +00:00
Requires : %{__python 2}-pcp = %{version} -%{release}
Requires : %{__python 2}-requests
2016-07-11 13:41:54 +00:00
%endif
%description export-pcp2influxdb
Performance Co-Pilot (PCP) front-end tools for exporting metric values
to InfluxDB (https://influxdata.com/time-series-platform/influxdb).
2017-10-18 21:20:57 +00:00
#
# pcp-export-pcp2json
#
%package export-pcp2json
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2017-10-18 21:20:57 +00:00
Summary : Performance Co-Pilot tools for exporting PCP metrics in JSON format
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2017-10-18 21:20:57 +00:00
Requires : pcp-libs >= %{version} -%{release}
%if !%{disable_python3}
Requires : python3-pcp = %{version} -%{release}
%else
2018-01-10 16:43:34 +00:00
Requires : %{__python 2}-pcp = %{version} -%{release}
2017-10-18 21:20:57 +00:00
%endif
%description export-pcp2json
Performance Co-Pilot (PCP) front-end tools for exporting metric values
in JSON format.
2024-06-14 21:32:36 +00:00
#
# pcp-export-pcp2openmetrics
#
%package export-pcp2openmetrics
License : GPL-2.0-or-later
Summary : Performance Co-Pilot tools for exporting PCP metrics in OpenMetrics format
URL : https://pcp.io
Requires : pcp-libs >= %{version} -%{release}
%if !%{disable_python3}
Requires : python3-pcp = %{version} -%{release}
%else
Requires : %{__python 2}-pcp = %{version} -%{release}
%endif
%description export-pcp2openmetrics
Performance Co-Pilot (PCP) front-end tools for exporting metric values
in OpenMetrics (https://openmetrics.io/) format.
2018-08-03 21:05:44 +00:00
#
# pcp-export-pcp2spark
#
%package export-pcp2spark
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2018-08-03 21:05:44 +00:00
Summary : Performance Co-Pilot tools for exporting PCP metrics to Apache Spark
URL : https://pcp.io
Requires : pcp-libs >= %{version} -%{release}
%if !%{disable_python3}
Requires : python3-pcp = %{version} -%{release}
%else
Requires : %{__python 2}-pcp = %{version} -%{release}
%endif
%description export-pcp2spark
Performance Co-Pilot (PCP) front-end tools for exporting metric values
in JSON format to Apache Spark. See https://spark.apache.org/ for
further details on Apache Spark.
2024-02-11 15:13:52 +00:00
#
# pcp-export-pcp2arrow
#
%if !%{disable_arrow}
%package export-pcp2arrow
License : GPL-2.0-or-later
Summary : Performance Co-Pilot tools for exporting PCP metrics to Apache Arrow
URL : https://pcp.io
Requires : pcp-libs >= %{version} -%{release}
%if !%{disable_python3}
Requires : python3-pcp = %{version} -%{release}
Requires : python3-pyarrow
BuildRequires : python3-pyarrow
%else
Requires : %{__python 2}-pcp = %{version} -%{release}
Requires : %{__python 2}-pyarrow
BuildRequires : %{__python 2}-pyarrow
%endif
%description export-pcp2arrow
Performance Co-Pilot (PCP) front-end tool for exporting metric values
to Apache Arrow, which supports the columnar parquet data format.
%endif
2017-10-18 21:20:57 +00:00
#
# pcp-export-pcp2xlsx
#
%if !%{disable_xlsx}
%package export-pcp2xlsx
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2017-10-18 21:20:57 +00:00
Summary : Performance Co-Pilot tools for exporting PCP metrics to Excel
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2017-10-18 21:20:57 +00:00
Requires : pcp-libs >= %{version} -%{release}
%if !%{disable_python3}
Requires : python3-pcp = %{version} -%{release}
2018-06-15 02:11:17 +00:00
Requires : python3-openpyxl
BuildRequires : python3-openpyxl
2017-10-18 21:20:57 +00:00
%else
2018-01-10 16:43:34 +00:00
Requires : %{__python 2}-pcp = %{version} -%{release}
2018-06-15 02:11:17 +00:00
Requires : %{__python 2}-openpyxl
BuildRequires : %{__python 2}-openpyxl
2017-10-18 21:20:57 +00:00
%endif
%description export-pcp2xlsx
Performance Co-Pilot (PCP) front-end tools for exporting metric values
in Excel spreadsheet format.
%endif
2024-02-11 15:13:52 +00:00
2017-10-18 21:20:57 +00:00
#
# pcp-export-pcp2xml
#
%package export-pcp2xml
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2017-10-18 21:20:57 +00:00
Summary : Performance Co-Pilot tools for exporting PCP metrics in XML format
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2017-10-18 21:20:57 +00:00
Requires : pcp-libs >= %{version} -%{release}
%if !%{disable_python3}
Requires : python3-pcp = %{version} -%{release}
%else
2018-01-10 16:43:34 +00:00
Requires : %{__python 2}-pcp = %{version} -%{release}
2017-10-18 21:20:57 +00:00
%endif
%description export-pcp2xml
Performance Co-Pilot (PCP) front-end tools for exporting metric values
in XML format.
#
# pcp-export-pcp2zabbix
#
%package export-pcp2zabbix
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2017-10-18 21:20:57 +00:00
Summary : Performance Co-Pilot tools for exporting PCP metrics to Zabbix
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2017-10-18 21:20:57 +00:00
Requires : pcp-libs >= %{version} -%{release}
%if !%{disable_python3}
Requires : python3-pcp = %{version} -%{release}
%else
2018-01-10 16:43:34 +00:00
Requires : %{__python 2}-pcp = %{version} -%{release}
2017-10-18 21:20:57 +00:00
%endif
%description export-pcp2zabbix
Performance Co-Pilot (PCP) front-end tools for exporting metric values
to the Zabbix (https://www.zabbix.org/) monitoring software.
2015-06-15 12:03:21 +00:00
%endif
2018-11-16 07:45:57 +00:00
#
# pcp-pmda-podman
#
%package pmda-podman
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2018-11-16 07:45:57 +00:00
Summary : Performance Co-Pilot (PCP) metrics for podman containers
URL : https://pcp.io
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
%description pmda-podman
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2021-06-04 01:04:40 +00:00
collecting podman container and pod statistics via the podman REST API.
2018-11-16 07:45:57 +00:00
2019-10-19 13:09:24 +00:00
%if !%{disable_statsd}
#
# pcp-pmda-statsd
#
%package pmda-statsd
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2019-10-19 13:09:24 +00:00
Summary : Performance Co-Pilot (PCP) metrics from statsd
URL : https://pcp.io
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
2019-12-11 09:05:37 +00:00
Requires : chan HdrHistogram_c
2019-10-19 13:09:24 +00:00
%description pmda-statsd
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
collecting statistics from the statsd daemon.
%endif
2015-06-01 13:08:52 +00:00
%if !%{disable_perfevent}
#
# pcp-pmda-perfevent
#
%package pmda-perfevent
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2015-06-01 13:08:52 +00:00
Summary : Performance Co-Pilot (PCP) metrics for hardware counters
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2015-06-01 13:08:52 +00:00
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
Requires : libpfm >= 4
BuildRequires : libpfm-devel >= 4
2019-12-11 09:05:37 +00:00
Obsoletes : pcp-pmda-papi < 5.0.0
Obsoletes : pcp-pmda-papi-debuginfo < 5.0.0
2015-06-01 13:08:52 +00:00
%description pmda-perfevent
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
collecting hardware counters statistics through libpfm.
%endif
%if !%{disable_infiniband}
#
# pcp-pmda-infiniband
#
%package pmda-infiniband
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2015-06-01 13:08:52 +00:00
Summary : Performance Co-Pilot (PCP) metrics for Infiniband HCAs and switches
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2015-06-01 13:08:52 +00:00
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
Requires : libibmad >= 1.3.7 libibumad >= 1.3.7
BuildRequires : libibmad-devel >= 1.3.7 libibumad-devel >= 1.3.7
%description pmda-infiniband
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
collecting Infiniband statistics. By default, it monitors the local HCAs
but can also be configured to monitor remote GUIDs such as IB switches.
%endif
2016-09-27 11:46:41 +00:00
2015-06-01 13:08:52 +00:00
#
# pcp-pmda-activemq
#
%package pmda-activemq
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2015-06-01 13:08:52 +00:00
Summary : Performance Co-Pilot (PCP) metrics for ActiveMQ
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2020-04-24 04:54:35 +00:00
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
2015-06-01 13:08:52 +00:00
Requires : perl-PCP-PMDA = %{version} -%{release}
2015-10-13 14:35:56 +00:00
Requires : perl(LWP::UserAgent)
2015-06-01 13:08:52 +00:00
%description pmda-activemq
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2015-08-04 03:54:00 +00:00
collecting metrics about the ActiveMQ message broker.
2015-06-01 13:08:52 +00:00
#end pcp-pmda-activemq
2017-02-17 17:34:51 +00:00
#
# pcp-pmda-bind2
#
%package pmda-bind2
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2017-02-17 17:34:51 +00:00
Summary : Performance Co-Pilot (PCP) metrics for BIND servers
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2020-04-24 04:54:35 +00:00
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
2017-02-17 17:34:51 +00:00
Requires : perl-PCP-PMDA = %{version} -%{release}
Requires : perl(LWP::UserAgent)
Requires : perl(XML::LibXML)
Requires : perl(File::Slurp)
2020-02-27 10:54:04 +00:00
Requires : perl-autodie
2020-03-02 04:22:44 +00:00
Requires : perl-Time-HiRes
2017-02-17 17:34:51 +00:00
%description pmda-bind2
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
collecting metrics from BIND (Berkeley Internet Name Domain).
#end pcp-pmda-bind2
#
# pcp-pmda-redis
#
%package pmda-redis
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2017-02-17 17:34:51 +00:00
Summary : Performance Co-Pilot (PCP) metrics for Redis
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2020-04-24 04:54:35 +00:00
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
2017-02-17 17:34:51 +00:00
Requires : perl-PCP-PMDA = %{version} -%{release}
2020-02-27 10:54:04 +00:00
Requires : perl-autodie
Requires : perl-Time-HiRes
2020-04-24 04:54:35 +00:00
Requires : perl-Data-Dumper
2017-02-17 17:34:51 +00:00
%description pmda-redis
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
collecting metrics from Redis servers (redis.io).
#end pcp-pmda-redis
2017-04-02 04:14:31 +00:00
%if !%{disable_nutcracker}
2017-02-17 17:34:51 +00:00
#
# pcp-pmda-nutcracker
#
%package pmda-nutcracker
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2017-02-17 17:34:51 +00:00
Summary : Performance Co-Pilot (PCP) metrics for NutCracker (TwemCache)
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2020-04-24 04:54:35 +00:00
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
2017-02-17 17:34:51 +00:00
Requires : perl-PCP-PMDA = %{version} -%{release}
2024-02-11 15:13:52 +00:00
Requires : perl(YAML::XS)
2017-02-17 17:34:51 +00:00
Requires : perl(JSON)
%description pmda-nutcracker
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
collecting metrics from NutCracker (TwemCache).
#end pcp-pmda-nutcracker
2017-04-02 04:14:31 +00:00
%endif
2017-02-17 17:34:51 +00:00
2015-06-01 13:08:52 +00:00
#
# pcp-pmda-bonding
#
%package pmda-bonding
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2015-06-01 13:08:52 +00:00
Summary : Performance Co-Pilot (PCP) metrics for Bonded network interfaces
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2020-04-24 04:54:35 +00:00
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
2015-06-01 13:08:52 +00:00
Requires : perl-PCP-PMDA = %{version} -%{release}
%description pmda-bonding
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2015-08-04 03:54:00 +00:00
collecting metrics about bonded network interfaces.
2015-06-01 13:08:52 +00:00
#end pcp-pmda-bonding
#
# pcp-pmda-dbping
#
%package pmda-dbping
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2015-06-01 13:08:52 +00:00
Summary : Performance Co-Pilot (PCP) metrics for Database response times and Availablility
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2020-04-24 04:54:35 +00:00
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
2015-06-01 13:08:52 +00:00
Requires : perl-PCP-PMDA = %{version} -%{release}
2020-02-27 10:54:04 +00:00
Requires : perl-DBI
2015-06-01 13:08:52 +00:00
%description pmda-dbping
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
collecting metrics about the Database response times and Availablility.
#end pcp-pmda-dbping
#
# pcp-pmda-ds389
#
%package pmda-ds389
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2015-06-01 13:08:52 +00:00
Summary : Performance Co-Pilot (PCP) metrics for 389 Directory Servers
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2020-04-24 04:54:35 +00:00
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
2015-06-01 13:08:52 +00:00
Requires : perl-PCP-PMDA = %{version} -%{release}
2018-09-21 03:33:47 +00:00
%if 0%{?rhel} <= 7
2016-07-11 13:41:54 +00:00
Requires : perl-LDAP
2018-09-21 03:33:47 +00:00
%endif
2015-06-01 13:08:52 +00:00
%description pmda-ds389
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2015-08-04 03:54:00 +00:00
collecting metrics about a 389 Directory Server.
2015-06-01 13:08:52 +00:00
#end pcp-pmda-ds389
#
# pcp-pmda-ds389log
#
%package pmda-ds389log
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2015-06-01 13:08:52 +00:00
Summary : Performance Co-Pilot (PCP) metrics for 389 Directory Server Loggers
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2020-04-24 04:54:35 +00:00
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
2015-06-01 13:08:52 +00:00
Requires : perl-PCP-PMDA = %{version} -%{release}
2016-07-11 13:41:54 +00:00
Requires : perl-Date-Manip
2015-06-01 13:08:52 +00:00
%description pmda-ds389log
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2015-08-04 03:54:00 +00:00
collecting metrics from a 389 Directory Server log.
2015-06-01 13:08:52 +00:00
#end pcp-pmda-ds389log
#
# pcp-pmda-gpfs
#
%package pmda-gpfs
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2015-06-01 13:08:52 +00:00
Summary : Performance Co-Pilot (PCP) metrics for GPFS Filesystem
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2020-04-24 04:54:35 +00:00
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
2015-06-01 13:08:52 +00:00
Requires : perl-PCP-PMDA = %{version} -%{release}
%description pmda-gpfs
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2015-08-04 03:54:00 +00:00
collecting metrics about the GPFS filesystem.
2015-06-01 13:08:52 +00:00
#end pcp-pmda-gpfs
#
# pcp-pmda-gpsd
#
%package pmda-gpsd
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2015-06-01 13:08:52 +00:00
Summary : Performance Co-Pilot (PCP) metrics for a GPS Daemon
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2020-04-24 04:54:35 +00:00
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
2015-06-01 13:08:52 +00:00
Requires : perl-PCP-PMDA = %{version} -%{release}
2020-02-27 10:54:04 +00:00
Requires : perl-Time-HiRes
Requires : perl-JSON
2015-06-01 13:08:52 +00:00
%description pmda-gpsd
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2015-08-04 03:54:00 +00:00
collecting metrics about a GPS Daemon.
2015-06-01 13:08:52 +00:00
#end pcp-pmda-gpsd
2021-07-30 05:25:03 +00:00
#
# pcp-pmda-denki
#
%package pmda-denki
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2021-07-30 05:25:03 +00:00
Summary : Performance Co-Pilot (PCP) metrics dealing with electrical power
URL : https://pcp.io
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
%description pmda-denki
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
collecting metrics related to the electrical power consumed by and inside
the system.
# end pcp-pmda-denki
2017-02-17 17:34:51 +00:00
#
# pcp-pmda-docker
#
%package pmda-docker
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2017-02-17 17:34:51 +00:00
Summary : Performance Co-Pilot (PCP) metrics from the Docker daemon
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
2017-02-17 17:34:51 +00:00
%description pmda-docker
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
collecting metrics using the Docker daemon REST API.
#end pcp-pmda-docker
2015-06-01 13:08:52 +00:00
#
# pcp-pmda-lustre
#
%package pmda-lustre
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2015-06-01 13:08:52 +00:00
Summary : Performance Co-Pilot (PCP) metrics for the Lustre Filesytem
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2020-04-24 04:54:35 +00:00
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
2015-06-01 13:08:52 +00:00
Requires : perl-PCP-PMDA = %{version} -%{release}
%description pmda-lustre
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2015-08-04 03:54:00 +00:00
collecting metrics about the Lustre Filesystem.
2015-06-01 13:08:52 +00:00
#end pcp-pmda-lustre
2018-03-29 01:40:40 +00:00
2015-06-01 13:08:52 +00:00
#
# pcp-pmda-lustrecomm
#
%package pmda-lustrecomm
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2015-06-01 13:08:52 +00:00
Summary : Performance Co-Pilot (PCP) metrics for the Lustre Filesytem Comms
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2020-04-24 04:54:35 +00:00
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
2015-06-01 13:08:52 +00:00
%description pmda-lustrecomm
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2015-08-04 03:54:00 +00:00
collecting metrics about the Lustre Filesystem Comms.
2015-06-01 13:08:52 +00:00
#end pcp-pmda-lustrecomm
#
# pcp-pmda-memcache
#
%package pmda-memcache
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2015-06-01 13:08:52 +00:00
Summary : Performance Co-Pilot (PCP) metrics for Memcached
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2020-04-24 04:54:35 +00:00
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
2015-06-01 13:08:52 +00:00
Requires : perl-PCP-PMDA = %{version} -%{release}
%description pmda-memcache
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2015-08-04 03:54:00 +00:00
collecting metrics about Memcached.
2015-06-01 13:08:52 +00:00
#end pcp-pmda-memcache
#
# pcp-pmda-mysql
#
%package pmda-mysql
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2015-06-01 13:08:52 +00:00
Summary : Performance Co-Pilot (PCP) metrics for MySQL
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2020-04-24 04:54:35 +00:00
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
2015-06-01 13:08:52 +00:00
Requires : perl-PCP-PMDA = %{version} -%{release}
2015-11-12 01:39:18 +00:00
Requires : perl(DBI) perl(DBD::mysql)
BuildRequires : perl(DBI) perl(DBD::mysql)
2015-06-01 13:08:52 +00:00
%description pmda-mysql
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2015-08-04 03:54:00 +00:00
collecting metrics about the MySQL database.
2015-06-01 13:08:52 +00:00
#end pcp-pmda-mysql
#
# pcp-pmda-named
#
%package pmda-named
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2015-06-01 13:08:52 +00:00
Summary : Performance Co-Pilot (PCP) metrics for Named
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2020-04-24 04:54:35 +00:00
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
2015-06-01 13:08:52 +00:00
Requires : perl-PCP-PMDA = %{version} -%{release}
%description pmda-named
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2015-08-04 03:54:00 +00:00
collecting metrics about the Named nameserver.
2015-06-01 13:08:52 +00:00
#end pcp-pmda-named
# pcp-pmda-netfilter
#
%package pmda-netfilter
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2015-06-01 13:08:52 +00:00
Summary : Performance Co-Pilot (PCP) metrics for Netfilter framework
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2020-04-24 04:54:35 +00:00
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
2015-06-01 13:08:52 +00:00
Requires : perl-PCP-PMDA = %{version} -%{release}
%description pmda-netfilter
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2015-08-04 03:54:00 +00:00
collecting metrics about the Netfilter packet filtering framework.
2015-06-01 13:08:52 +00:00
#end pcp-pmda-netfilter
#
# pcp-pmda-news
#
%package pmda-news
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2015-06-01 13:08:52 +00:00
Summary : Performance Co-Pilot (PCP) metrics for Usenet News
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2020-04-24 04:54:35 +00:00
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
2015-06-01 13:08:52 +00:00
Requires : perl-PCP-PMDA = %{version} -%{release}
%description pmda-news
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2015-08-04 03:54:00 +00:00
collecting metrics about Usenet News.
2015-06-01 13:08:52 +00:00
#end pcp-pmda-news
#
# pcp-pmda-nginx
#
%package pmda-nginx
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2015-06-01 13:08:52 +00:00
Summary : Performance Co-Pilot (PCP) metrics for the Nginx Webserver
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2020-04-24 04:54:35 +00:00
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
2015-06-01 13:08:52 +00:00
Requires : perl-PCP-PMDA = %{version} -%{release}
2015-09-17 03:11:25 +00:00
Requires : perl(LWP::UserAgent)
2015-11-12 01:39:18 +00:00
BuildRequires : perl(LWP::UserAgent)
2015-06-01 13:08:52 +00:00
%description pmda-nginx
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2015-08-04 03:54:00 +00:00
collecting metrics about the Nginx Webserver.
2015-06-01 13:08:52 +00:00
#end pcp-pmda-nginx
2016-03-18 20:04:46 +00:00
#
# pcp-pmda-oracle
#
%package pmda-oracle
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2016-03-18 20:04:46 +00:00
Summary : Performance Co-Pilot (PCP) metrics for the Oracle database
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2020-04-24 04:54:35 +00:00
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
2016-03-18 20:04:46 +00:00
Requires : perl-PCP-PMDA = %{version} -%{release}
Requires : perl(DBI)
BuildRequires : perl(DBI)
%description pmda-oracle
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
collecting metrics about the Oracle database.
#end pcp-pmda-oracle
2015-06-01 13:08:52 +00:00
#
# pcp-pmda-pdns
#
%package pmda-pdns
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2015-06-01 13:08:52 +00:00
Summary : Performance Co-Pilot (PCP) metrics for PowerDNS
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2020-04-24 04:54:35 +00:00
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
2015-06-01 13:08:52 +00:00
Requires : perl-PCP-PMDA = %{version} -%{release}
2020-02-27 10:54:04 +00:00
Requires : perl-Time-HiRes
2015-06-01 13:08:52 +00:00
%description pmda-pdns
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2015-08-04 03:54:00 +00:00
collecting metrics about the PowerDNS.
2015-06-01 13:08:52 +00:00
#end pcp-pmda-pdns
#
# pcp-pmda-postfix
#
%package pmda-postfix
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2015-06-01 13:08:52 +00:00
Summary : Performance Co-Pilot (PCP) metrics for the Postfix (MTA)
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2020-04-24 04:54:35 +00:00
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
2015-06-01 13:08:52 +00:00
Requires : perl-PCP-PMDA = %{version} -%{release}
2019-12-11 09:05:37 +00:00
Requires : perl-Time-HiRes
2015-06-01 13:08:52 +00:00
%if 0%{?fedora} > 16 || 0%{?rhel} > 5
Requires : postfix-perl-scripts
2015-11-12 01:39:18 +00:00
BuildRequires : postfix-perl-scripts
2015-06-01 13:08:52 +00:00
%endif
%if 0%{?rhel} <= 5
Requires : postfix
2015-11-12 01:39:18 +00:00
BuildRequires : postfix
2015-06-01 13:08:52 +00:00
%endif
%if "%{_vendor}" == "suse"
Requires : postfix-doc
2015-11-12 01:39:18 +00:00
BuildRequires : postfix-doc
2015-06-01 13:08:52 +00:00
%endif
%description pmda-postfix
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2015-08-04 03:54:00 +00:00
collecting metrics about the Postfix (MTA).
2015-06-01 13:08:52 +00:00
#end pcp-pmda-postfix
#
# pcp-pmda-rsyslog
#
%package pmda-rsyslog
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2015-06-01 13:08:52 +00:00
Summary : Performance Co-Pilot (PCP) metrics for Rsyslog
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2020-04-24 04:54:35 +00:00
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
2015-06-01 13:08:52 +00:00
Requires : perl-PCP-PMDA = %{version} -%{release}
%description pmda-rsyslog
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2015-08-04 03:54:00 +00:00
collecting metrics about Rsyslog.
2015-06-01 13:08:52 +00:00
#end pcp-pmda-rsyslog
#
# pcp-pmda-samba
#
%package pmda-samba
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2015-06-01 13:08:52 +00:00
Summary : Performance Co-Pilot (PCP) metrics for Samba
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2020-04-24 04:54:35 +00:00
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
2015-06-01 13:08:52 +00:00
Requires : perl-PCP-PMDA = %{version} -%{release}
%description pmda-samba
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2015-08-04 03:54:00 +00:00
collecting metrics about Samba.
2015-06-01 13:08:52 +00:00
#end pcp-pmda-samba
2015-09-21 13:37:17 +00:00
#
# pcp-pmda-slurm
#
%package pmda-slurm
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2018-09-21 03:33:47 +00:00
Summary : Performance Co-Pilot (PCP) metrics for the SLURM Workload Manager
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2020-04-24 04:54:35 +00:00
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
2015-09-21 13:37:17 +00:00
Requires : perl-PCP-PMDA = %{version} -%{release}
%description pmda-slurm
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
collecting metrics from the SLURM Workload Manager.
#end pcp-pmda-slurm
2016-06-06 14:07:54 +00:00
%if !%{disable_snmp}
2015-06-01 13:08:52 +00:00
#
# pcp-pmda-snmp
#
%package pmda-snmp
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2015-06-01 13:08:52 +00:00
Summary : Performance Co-Pilot (PCP) metrics for Simple Network Management Protocol
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2020-04-24 04:54:35 +00:00
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
2015-06-01 13:08:52 +00:00
Requires : perl-PCP-PMDA = %{version} -%{release}
2016-06-06 14:07:54 +00:00
# There are no perl-Net-SNMP packages in rhel, disable unless non-rhel or epel5
%if 0%{?rhel} == 0 || 0%{?rhel} < 6
2016-01-28 15:17:34 +00:00
Requires : perl(Net::SNMP)
2016-06-06 14:07:54 +00:00
%endif
2015-06-01 13:08:52 +00:00
%description pmda-snmp
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2015-08-04 03:54:00 +00:00
collecting metrics about SNMP.
2015-06-01 13:08:52 +00:00
#end pcp-pmda-snmp
2016-06-06 14:07:54 +00:00
%endif
2015-06-01 13:08:52 +00:00
#
# pcp-pmda-zimbra
#
%package pmda-zimbra
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2015-06-01 13:08:52 +00:00
Summary : Performance Co-Pilot (PCP) metrics for Zimbra
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2020-04-24 04:54:35 +00:00
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
2015-06-01 13:08:52 +00:00
Requires : perl-PCP-PMDA = %{version} -%{release}
%description pmda-zimbra
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2015-08-04 03:54:00 +00:00
collecting metrics about Zimbra.
2015-06-01 13:08:52 +00:00
#end pcp-pmda-zimbra
#
# pcp-pmda-dm
#
%package pmda-dm
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2015-06-01 13:08:52 +00:00
Summary : Performance Co-Pilot (PCP) metrics for the Device Mapper Cache and Thin Client
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2020-04-24 04:54:35 +00:00
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
2018-11-16 07:45:57 +00:00
BuildRequires : device-mapper-devel
2015-06-01 13:08:52 +00:00
%description pmda-dm
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2015-08-04 03:54:00 +00:00
collecting metrics about the Device Mapper Cache and Thin Client.
2015-06-01 13:08:52 +00:00
# end pcp-pmda-dm
2018-03-29 01:40:40 +00:00
2015-06-01 13:08:52 +00:00
2018-02-16 03:29:50 +00:00
%if !%{disable_bcc}
#
# pcp-pmda-bcc
#
%package pmda-bcc
2023-07-25 16:54:27 +00:00
License : Apache-2.0 AND GPL-2.0-or-later
2018-02-16 03:29:50 +00:00
Summary : Performance Co-Pilot (PCP) metrics from eBPF/BCC modules
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2020-04-24 04:54:35 +00:00
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
2018-02-16 03:29:50 +00:00
Requires : python3-bcc
Requires : python3-pcp
%description pmda-bcc
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
extracting performance metrics from eBPF/BCC Python modules.
# end pcp-pmda-bcc
%endif
2021-09-15 00:07:03 +00:00
%if !%{disable_bpf}
#
# pcp-pmda-bpf
#
%package pmda-bpf
2023-07-25 16:54:27 +00:00
License : Apache-2.0 AND GPL-2.0-or-later
2021-09-15 00:07:03 +00:00
Summary : Performance Co-Pilot (PCP) metrics from eBPF ELF modules
URL : https://pcp.io
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
Requires : libbpf
2024-02-11 15:13:52 +00:00
BuildRequires : libbpf-devel clang llvm
2021-09-15 00:07:03 +00:00
%description pmda-bpf
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
extracting performance metrics from eBPF ELF modules.
# end pcp-pmda-bpf
%endif
2019-10-19 13:09:24 +00:00
%if !%{disable_bpftrace}
#
# pcp-pmda-bpftrace
#
%package pmda-bpftrace
2023-07-25 16:54:27 +00:00
License : Apache-2.0 AND GPL-2.0-or-later
2019-10-19 13:09:24 +00:00
Summary : Performance Co-Pilot (PCP) metrics from bpftrace scripts
URL : https://pcp.io
2020-04-24 04:54:35 +00:00
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
2019-10-19 13:09:24 +00:00
Requires : bpftrace >= 0.9.2
Requires : python3-pcp
Requires : python3 >= 3.6
%description pmda-bpftrace
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
extracting performance metrics from bpftrace scripts.
# end pcp-pmda-bpftrace
%endif
2015-06-01 13:08:52 +00:00
%if !%{disable_python2} || !%{disable_python3}
#
# pcp-pmda-gluster
#
%package pmda-gluster
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2015-06-01 13:08:52 +00:00
Summary : Performance Co-Pilot (PCP) metrics for the Gluster filesystem
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2020-04-24 04:54:35 +00:00
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
2015-06-01 13:08:52 +00:00
%if !%{disable_python3}
Requires : python3-pcp
%else
2018-01-10 16:43:34 +00:00
Requires : %{__python 2}-pcp
2015-06-01 13:08:52 +00:00
%endif
%description pmda-gluster
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2015-08-04 03:54:00 +00:00
collecting metrics about the gluster filesystem.
2015-06-01 13:08:52 +00:00
# end pcp-pmda-gluster
2018-03-29 01:40:40 +00:00
2018-11-16 07:45:57 +00:00
#
# pcp-pmda-nfsclient
#
%package pmda-nfsclient
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2018-11-16 07:45:57 +00:00
Summary : Performance Co-Pilot (PCP) metrics for NFS Clients
URL : https://pcp.io
2020-04-24 04:54:35 +00:00
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
2018-11-16 07:45:57 +00:00
%if !%{disable_python3}
Requires : python3-pcp
%else
Requires : %{__python 2}-pcp
%endif
%description pmda-nfsclient
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
collecting metrics for NFS Clients.
#end pcp-pmda-nfsclient
#
# pcp-pmda-postgresql
#
%package pmda-postgresql
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2018-11-16 07:45:57 +00:00
Summary : Performance Co-Pilot (PCP) metrics for PostgreSQL
URL : https://pcp.io
2020-04-24 04:54:35 +00:00
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
2018-11-16 07:45:57 +00:00
%if !%{disable_python3}
Requires : python3-pcp
Requires : python3-psycopg2
BuildRequires : python3-psycopg2
%else
Requires : %{__python 2}-pcp
Requires : %{__python 2}-psycopg2
BuildRequires : %{__python 2}-psycopg2
%endif
%description pmda-postgresql
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
collecting metrics about the PostgreSQL database.
#end pcp-pmda-postgresql
2015-06-01 13:08:52 +00:00
#
# pcp-pmda-zswap
#
%package pmda-zswap
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2015-06-01 13:08:52 +00:00
Summary : Performance Co-Pilot (PCP) metrics for compressed swap
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2020-04-24 04:54:35 +00:00
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
2015-06-01 13:08:52 +00:00
%if !%{disable_python3}
Requires : python3-pcp
%else
2018-01-10 16:43:34 +00:00
Requires : %{__python 2}-pcp
2015-06-01 13:08:52 +00:00
%endif
%description pmda-zswap
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2015-08-04 03:54:00 +00:00
collecting metrics about compressed swap.
2015-06-01 13:08:52 +00:00
# end pcp-pmda-zswap
#
# pcp-pmda-unbound
#
%package pmda-unbound
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2015-06-01 13:08:52 +00:00
Summary : Performance Co-Pilot (PCP) metrics for the Unbound DNS Resolver
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2020-04-24 04:54:35 +00:00
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
2015-06-01 13:08:52 +00:00
%if !%{disable_python3}
Requires : python3-pcp
%else
2018-01-10 16:43:34 +00:00
Requires : %{__python 2}-pcp
2015-06-01 13:08:52 +00:00
%endif
%description pmda-unbound
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2015-08-04 03:54:00 +00:00
collecting metrics about the Unbound DNS Resolver.
2015-06-01 13:08:52 +00:00
# end pcp-pmda-unbound
2015-09-17 03:11:25 +00:00
#
# pcp-pmda-mic
#
%package pmda-mic
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2015-09-17 03:11:25 +00:00
Summary : Performance Co-Pilot (PCP) metrics for Intel MIC cards
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2020-04-24 04:54:35 +00:00
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
2015-09-17 03:11:25 +00:00
%if !%{disable_python3}
Requires : python3-pcp
%else
2018-01-10 16:43:34 +00:00
Requires : %{__python 2}-pcp
2015-09-17 03:11:25 +00:00
%endif
%description pmda-mic
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
collecting metrics about Intel MIC cards.
# end pcp-pmda-mic
2017-08-16 06:17:29 +00:00
#
# pcp-pmda-haproxy
#
%package pmda-haproxy
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2017-08-16 06:17:29 +00:00
Summary : Performance Co-Pilot (PCP) metrics for HAProxy
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2020-04-24 04:54:35 +00:00
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
2017-08-16 06:17:29 +00:00
%if !%{disable_python3}
Requires : python3-pcp
%else
2018-01-10 16:43:34 +00:00
Requires : %{__python 2}-pcp
2017-08-16 06:17:29 +00:00
%endif
%description pmda-haproxy
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
extracting performance metrics from HAProxy over the HAProxy stats socket.
# end pcp-pmda-haproxy
2016-09-27 11:46:41 +00:00
#
# pcp-pmda-libvirt
#
%package pmda-libvirt
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2021-02-10 05:01:22 +00:00
Summary : Performance Co-Pilot (PCP) metrics from virtual machines
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2020-04-24 04:54:35 +00:00
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
2016-09-27 11:46:41 +00:00
%if !%{disable_python3}
Requires : python3-pcp
Requires : libvirt-python3 python3-lxml
2017-06-30 01:26:52 +00:00
BuildRequires : libvirt-python3 python3-lxml
2016-09-27 11:46:41 +00:00
%else
2018-05-11 02:30:01 +00:00
%if 0%{?rhel} == 0 || 0%{?fedora} >= 27
2018-01-10 16:43:34 +00:00
Requires : %{__python 2}-pcp
2018-03-01 05:12:42 +00:00
Requires : %{__python 2}-libvirt %{__python 2}-lxml
BuildRequires : %{__python 2}-libvirt %{__python 2}-lxml
2016-09-27 11:46:41 +00:00
%endif
2018-03-29 01:40:40 +00:00
%if 0%{?rhel} > 5
2018-05-11 02:30:01 +00:00
Requires : %{__python 2}-pcp
Requires : libvirt-%{__python 2} %{__python 2}-lxml
BuildRequires : libvirt-%{__python 2} %{__python 2}-lxml
2018-03-29 01:40:40 +00:00
%endif
2016-11-16 01:38:18 +00:00
%endif
2016-09-27 11:46:41 +00:00
%description pmda-libvirt
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
extracting virtualisation statistics from libvirt about behaviour of guest
and hypervisor machines.
# end pcp-pmda-libvirt
2018-11-16 07:45:57 +00:00
#
# pcp-pmda-elasticsearch
#
%package pmda-elasticsearch
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2018-11-16 07:45:57 +00:00
Summary : Performance Co-Pilot (PCP) metrics for Elasticsearch
URL : https://pcp.io
2020-04-24 04:54:35 +00:00
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
2018-11-16 07:45:57 +00:00
%if !%{disable_python3}
Requires : python3-pcp
%else
Requires : %{__python 2}-pcp
%endif
%description pmda-elasticsearch
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
collecting metrics about Elasticsearch.
#end pcp-pmda-elasticsearch
2020-05-31 02:33:17 +00:00
#
# pcp-pmda-openvswitch
#
%package pmda-openvswitch
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2020-05-31 02:33:17 +00:00
Summary : Performance Co-Pilot (PCP) metrics for Open vSwitch
URL : https://pcp.io
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
%if !%{disable_python3}
Requires : python3-pcp
%else
Requires : %{__python 2}-pcp
%endif
%description pmda-openvswitch
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
collecting metrics from Open vSwitch.
#end pcp-pmda-openvswitch
2020-04-24 04:54:35 +00:00
#
# pcp-pmda-rabbitmq
#
%package pmda-rabbitmq
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2020-04-24 04:54:35 +00:00
Summary : Performance Co-Pilot (PCP) metrics for RabbitMQ queues
URL : https://pcp.io
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
%if !%{disable_python3}
Requires : python3-pcp
%else
Requires : %{__python 2}-pcp
%endif
%description pmda-rabbitmq
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
collecting metrics about RabbitMQ message queues.
#end pcp-pmda-rabbitmq
2024-06-14 21:32:36 +00:00
#
# pcp-pmda-uwsgi
#
%package pmda-uwsgi
License : GPL-2.0-or-later
Summary : Performance Co-Pilot (PCP) metrics from uWSGI servers
URL : https://pcp.io
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
%if !%{disable_python3}
Requires : python3-pcp
%else
Requires : %{__python 2}-pcp
%endif
%description pmda-uwsgi
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
collecting metrics from uWSGI servers.
#end pcp-pmda-uwsgi
2017-02-17 17:34:51 +00:00
#
# pcp-pmda-lio
#
%package pmda-lio
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2017-02-17 17:34:51 +00:00
Summary : Performance Co-Pilot (PCP) metrics for the LIO subsystem
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2020-04-24 04:54:35 +00:00
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
2017-02-17 17:34:51 +00:00
%if !%{disable_python3}
Requires : python3-pcp
Requires : python3-rtslib
2017-06-30 01:26:52 +00:00
BuildRequires : python3-rtslib
2017-02-17 17:34:51 +00:00
%else
2018-01-10 16:43:34 +00:00
Requires : %{__python 2}-pcp
Requires : %{__python 2}-rtslib
BuildRequires : %{__python 2}-rtslib
2017-02-17 17:34:51 +00:00
%endif
%description pmda-lio
This package provides a PMDA to gather performance metrics from the kernels
iSCSI target interface (LIO). The metrics are stored by LIO within the Linux
kernels configfs filesystem. The PMDA provides per LUN level stats, and a
summary instance per iSCSI target, which aggregates all LUN metrics within the
target.
#end pcp-pmda-lio
2017-06-30 01:26:52 +00:00
#
2019-10-19 13:09:24 +00:00
# pcp-pmda-openmetrics
2017-06-30 01:26:52 +00:00
#
2019-10-19 13:09:24 +00:00
%package pmda-openmetrics
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2019-10-19 13:09:24 +00:00
Summary : Performance Co-Pilot (PCP) metrics from OpenMetrics endpoints
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2020-04-24 04:54:35 +00:00
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
2017-06-30 01:26:52 +00:00
%if !%{disable_python3}
Requires : python3-pcp
Requires : python3-requests
BuildRequires : python3-requests
%else
2018-01-10 16:43:34 +00:00
Requires : %{__python 2}-pcp
Requires : %{__python 2}-requests
BuildRequires : %{__python 2}-requests
2017-06-30 01:26:52 +00:00
%endif
2019-12-11 09:05:37 +00:00
Obsoletes : pcp-pmda-prometheus < 5.0.0
Provides : pcp-pmda-prometheus < 5.0.0
2021-11-10 02:29:02 +00:00
Obsoletes : pcp-pmda-vmware < 5.3.5
2017-06-30 01:26:52 +00:00
2019-10-19 13:09:24 +00:00
%description pmda-openmetrics
2017-06-30 01:26:52 +00:00
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2019-10-19 13:09:24 +00:00
extracting metrics from OpenMetrics (https://openmetrics.io/) endpoints.
#end pcp-pmda-openmetrics
2017-06-30 01:26:52 +00:00
2018-11-16 07:45:57 +00:00
#
# pcp-pmda-lmsensors
#
%package pmda-lmsensors
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2018-11-16 07:45:57 +00:00
Summary : Performance Co-Pilot (PCP) metrics for hardware sensors
URL : https://pcp.io
2020-04-24 04:54:35 +00:00
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
2020-02-27 10:54:04 +00:00
Requires : lm_sensors
2018-11-16 07:45:57 +00:00
%if !%{disable_python3}
Requires : python3-pcp
%else
Requires : %{__python 2}-pcp
%endif
# rewritten in python, so there is no longer a debuginfo package
2019-12-11 09:05:37 +00:00
Obsoletes : pcp-pmda-lmsensors-debuginfo < 4.2.0
2018-11-16 07:45:57 +00:00
%description pmda-lmsensors
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
collecting metrics about the Linux hardware monitoring sensors.
# end pcp-pmda-lmsensors
2019-10-19 13:09:24 +00:00
#
2020-02-27 10:54:04 +00:00
# pcp-pmda-netcheck
2019-10-19 13:09:24 +00:00
#
2020-02-27 10:54:04 +00:00
%package pmda-netcheck
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2020-02-27 10:54:04 +00:00
Summary : Performance Co-Pilot (PCP) metrics for simple network checks
2019-10-19 13:09:24 +00:00
URL : https://pcp.io
2020-04-24 04:54:35 +00:00
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
2019-10-19 13:09:24 +00:00
%if !%{disable_python3}
Requires : python3-pcp
%else
Requires : %{__python 2}-pcp
%endif
2020-02-27 10:54:04 +00:00
%description pmda-netcheck
2019-10-19 13:09:24 +00:00
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2020-02-27 10:54:04 +00:00
collecting metrics from simple network checks.
# end pcp-pmda-netcheck
2022-10-27 04:07:59 +00:00
%endif
2020-02-27 10:54:04 +00:00
2022-10-27 04:07:59 +00:00
%if !%{disable_mongodb}
2021-11-10 02:29:02 +00:00
#
# pcp-pmda-mongodb
#
%package pmda-mongodb
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2021-11-10 02:29:02 +00:00
Summary : Performance Co-Pilot (PCP) metrics for MongoDB
URL : https://pcp.io
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
%if !%{disable_python3}
Requires : python3-pcp
%if 0%{?rhel} == 0
Requires : python3-pymongo
2022-08-31 05:36:47 +00:00
BuildRequires : python3-pymongo
2021-11-10 02:29:02 +00:00
%endif
%else
Requires : %{__python 2}-pcp
%if 0%{?rhel} == 0
Requires : %{__python 2}-pymongo
2022-08-31 05:36:47 +00:00
BuildRequires : %{__python 2}-pymongo
2021-11-10 02:29:02 +00:00
%endif
%endif
%description pmda-mongodb
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
collecting metrics from MongoDB.
# end pcp-pmda-mongodb
2020-02-27 10:54:04 +00:00
%endif
2019-10-19 13:09:24 +00:00
2020-02-27 10:54:04 +00:00
%if !%{disable_mssql}
2019-10-19 13:09:24 +00:00
#
2020-02-27 10:54:04 +00:00
# pcp-pmda-mssql
2019-10-19 13:09:24 +00:00
#
2020-02-27 10:54:04 +00:00
%package pmda-mssql
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2020-02-27 10:54:04 +00:00
Summary : Performance Co-Pilot (PCP) metrics for Microsoft SQL Server
2019-10-19 13:09:24 +00:00
URL : https://pcp.io
2020-04-24 04:54:35 +00:00
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
2019-10-19 13:09:24 +00:00
%if !%{disable_python3}
Requires : python3-pcp
2023-11-17 05:07:51 +00:00
%if 0%{?rhel} == 0 || 0%{?rhel} >= 9
2020-09-25 00:52:40 +00:00
Requires : python3-pyodbc
2023-09-06 00:38:19 +00:00
BuildRequires : python3-pyodbc
2020-09-25 00:52:40 +00:00
%endif
2019-10-19 13:09:24 +00:00
%else
Requires : %{__python 2}-pcp
2020-09-25 00:52:40 +00:00
%if 0%{?rhel} == 0
Requires : %{__python 2}-pyodbc
2023-09-06 00:38:19 +00:00
BuildRequires : %{__python 2}-pyodbc
2020-09-25 00:52:40 +00:00
%endif
2019-10-19 13:09:24 +00:00
%endif
2020-02-27 10:54:04 +00:00
%description pmda-mssql
2019-10-19 13:09:24 +00:00
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2020-02-27 10:54:04 +00:00
collecting metrics from Microsoft SQL Server.
# end pcp-pmda-mssql
2019-12-11 09:05:37 +00:00
%endif
2015-08-04 03:54:00 +00:00
%if !%{disable_json}
2015-06-15 12:03:21 +00:00
#
# pcp-pmda-json
#
%package pmda-json
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2015-06-15 12:03:21 +00:00
Summary : Performance Co-Pilot (PCP) metrics for JSON data
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2020-04-24 04:54:35 +00:00
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
2015-06-15 12:03:21 +00:00
%if !%{disable_python3}
Requires : python3-pcp
2015-11-12 01:39:18 +00:00
Requires : python3-jsonpointer python3-six
BuildRequires : python3-jsonpointer python3-six
2015-06-15 12:03:21 +00:00
%else
2018-01-10 16:43:34 +00:00
Requires : %{__python 2}-pcp
Requires : %{__python 2}-jsonpointer %{__python 2}-six
BuildRequires : %{__python 2}-jsonpointer %{__python 2}-six
2015-06-15 12:03:21 +00:00
%endif
%description pmda-json
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2015-08-04 03:54:00 +00:00
collecting metrics output in JSON.
2015-06-15 12:03:21 +00:00
# end pcp-pmda-json
2019-12-11 09:05:37 +00:00
%endif
2015-06-01 13:08:52 +00:00
#
# C pmdas
# pcp-pmda-apache
2010-07-20 00:32:23 +00:00
#
2015-06-01 13:08:52 +00:00
%package pmda-apache
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2015-06-01 13:08:52 +00:00
Summary : Performance Co-Pilot (PCP) metrics for the Apache webserver
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2020-04-24 04:54:35 +00:00
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
2015-06-01 13:08:52 +00:00
%description pmda-apache
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2015-08-04 03:54:00 +00:00
collecting metrics about the Apache webserver.
2015-06-01 13:08:52 +00:00
# end pcp-pmda-apache
2010-07-20 00:32:23 +00:00
#
2015-06-01 13:08:52 +00:00
# pcp-pmda-bash
2010-07-20 00:32:23 +00:00
#
2015-06-01 13:08:52 +00:00
%package pmda-bash
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2015-06-01 13:08:52 +00:00
Summary : Performance Co-Pilot (PCP) metrics for the Bash shell
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2020-04-24 04:54:35 +00:00
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
2015-06-01 13:08:52 +00:00
%description pmda-bash
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2015-08-04 03:54:00 +00:00
collecting metrics about the Bash shell.
2015-06-01 13:08:52 +00:00
# end pcp-pmda-bash
2010-07-20 00:32:23 +00:00
2011-02-02 02:51:56 +00:00
#
2015-06-01 13:08:52 +00:00
# pcp-pmda-cifs
2011-02-02 02:51:56 +00:00
#
2015-06-01 13:08:52 +00:00
%package pmda-cifs
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2017-02-17 17:34:51 +00:00
Summary : Performance Co-Pilot (PCP) metrics for the CIFS protocol
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2020-04-24 04:54:35 +00:00
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
2015-06-01 13:08:52 +00:00
%description pmda-cifs
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2015-08-04 03:54:00 +00:00
collecting metrics about the Common Internet Filesytem.
2015-06-01 13:08:52 +00:00
# end pcp-pmda-cifs
2011-02-02 02:51:56 +00:00
2014-09-05 04:40:42 +00:00
#
2015-06-01 13:08:52 +00:00
# pcp-pmda-cisco
2011-12-12 07:58:13 +00:00
#
2015-06-01 13:08:52 +00:00
%package pmda-cisco
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2017-02-17 17:34:51 +00:00
Summary : Performance Co-Pilot (PCP) metrics for Cisco routers
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2020-04-24 04:54:35 +00:00
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
2015-06-01 13:08:52 +00:00
%description pmda-cisco
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2015-08-04 03:54:00 +00:00
collecting metrics about Cisco routers.
2015-06-01 13:08:52 +00:00
# end pcp-pmda-cisco
2011-12-12 07:58:13 +00:00
2023-11-17 05:07:51 +00:00
#
# pcp-pmda-farm
#
%package pmda-farm
License : GPL-2.0-or-later
Summary : Performance Co-Pilot (PCP) metrics for Seagate FARM Log metrics
URL : https://pcp.io
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
Requires : smartmontools
%description pmda-farm
This package contains the PCP Performance Metric Domain Agent (PMDA) for
collecting metrics from Seagate Hard Drive vendor specific Field Accessible
Reliability Metrics (FARM) Log making use of data from the smartmontools
package.
#end pcp-pmda-farm
2011-02-02 02:51:56 +00:00
#
2015-06-01 13:08:52 +00:00
# pcp-pmda-gfs2
2011-02-02 02:51:56 +00:00
#
2015-06-01 13:08:52 +00:00
%package pmda-gfs2
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2017-02-17 17:34:51 +00:00
Summary : Performance Co-Pilot (PCP) metrics for the GFS2 filesystem
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2020-04-24 04:54:35 +00:00
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
2015-06-01 13:08:52 +00:00
%description pmda-gfs2
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2015-08-04 03:54:00 +00:00
collecting metrics about the Global Filesystem v2.
2015-06-01 13:08:52 +00:00
# end pcp-pmda-gfs2
2011-02-02 02:51:56 +00:00
2023-11-17 05:07:51 +00:00
#
# pcp-pmda-hacluster
#
%package pmda-hacluster
License : GPL-2.0-or-later
Summary : Performance Co-Pilot (PCP) metrics for High Availability Clusters
URL : https://pcp.io
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
%description pmda-hacluster
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
collecting metrics about linux High Availability (HA) Clusters.
# end pcp-pmda-hacluster
2015-06-15 12:03:21 +00:00
#
# pcp-pmda-logger
#
%package pmda-logger
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2015-06-15 12:03:21 +00:00
Summary : Performance Co-Pilot (PCP) metrics from arbitrary log files
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2020-04-24 04:54:35 +00:00
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
2015-06-15 12:03:21 +00:00
%description pmda-logger
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
collecting metrics from a specified set of log files (or pipes). The PMDA
2015-08-04 03:54:00 +00:00
supports both sampled and event-style metrics.
2015-06-15 12:03:21 +00:00
# end pcp-pmda-logger
2011-02-02 02:51:56 +00:00
#
2015-06-01 13:08:52 +00:00
# pcp-pmda-mailq
2011-02-02 02:51:56 +00:00
#
2015-06-01 13:08:52 +00:00
%package pmda-mailq
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2017-02-17 17:34:51 +00:00
Summary : Performance Co-Pilot (PCP) metrics for the sendmail queue
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2020-04-24 04:54:35 +00:00
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
2015-06-01 13:08:52 +00:00
%description pmda-mailq
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2015-08-04 03:54:00 +00:00
collecting metrics about email queues managed by sendmail.
2015-06-01 13:08:52 +00:00
# end pcp-pmda-mailq
2011-02-02 02:51:56 +00:00
2015-06-01 13:08:52 +00:00
#
# pcp-pmda-mounts
#
%package pmda-mounts
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2017-02-17 17:34:51 +00:00
Summary : Performance Co-Pilot (PCP) metrics for filesystem mounts
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2020-04-24 04:54:35 +00:00
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
2015-06-01 13:08:52 +00:00
%description pmda-mounts
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2015-08-04 03:54:00 +00:00
collecting metrics about filesystem mounts.
2015-06-01 13:08:52 +00:00
# end pcp-pmda-mounts
2011-02-02 02:51:56 +00:00
2015-03-02 20:39:32 +00:00
#
2015-06-01 13:08:52 +00:00
# pcp-pmda-nvidia-gpu
2015-03-02 20:39:32 +00:00
#
2015-06-01 13:08:52 +00:00
%package pmda-nvidia-gpu
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2017-02-17 17:34:51 +00:00
Summary : Performance Co-Pilot (PCP) metrics for the Nvidia GPU
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2020-04-24 04:54:35 +00:00
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
2015-06-01 13:08:52 +00:00
%description pmda-nvidia-gpu
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2017-02-17 17:34:51 +00:00
collecting metrics about Nvidia GPUs.
2015-06-01 13:08:52 +00:00
# end pcp-pmda-nvidia-gpu
2015-03-02 20:39:32 +00:00
2023-11-17 05:07:51 +00:00
%if !%{disable_resctrl}
#
# pcp-pmda-resctrl
#
%package pmda-resctrl
License : GPL-2.0-or-later
Summary : Performance Co-Pilot (PCP) metrics from Linux resource control
URL : https://pcp.io
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
%description pmda-resctrl
This package contains the PCP Performance Metric Domain Agent (PMDA) for
collecting metrics from the Linux kernel resource control functionality.
#end pcp-pmda-resctrl
%endif
2015-06-01 13:08:52 +00:00
#
# pcp-pmda-roomtemp
#
%package pmda-roomtemp
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2017-02-17 17:34:51 +00:00
Summary : Performance Co-Pilot (PCP) metrics for the room temperature
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2020-04-24 04:54:35 +00:00
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
2015-06-01 13:08:52 +00:00
%description pmda-roomtemp
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2017-02-17 17:34:51 +00:00
collecting metrics about the room temperature.
2015-06-01 13:08:52 +00:00
# end pcp-pmda-roomtemp
2015-03-02 20:39:32 +00:00
2014-09-05 04:40:42 +00:00
#
2015-06-01 13:08:52 +00:00
# pcp-pmda-sendmail
2014-09-05 04:40:42 +00:00
#
2015-06-01 13:08:52 +00:00
%package pmda-sendmail
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2017-02-17 17:34:51 +00:00
Summary : Performance Co-Pilot (PCP) metrics for Sendmail
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2020-04-24 04:54:35 +00:00
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
2015-06-01 13:08:52 +00:00
%description pmda-sendmail
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2017-02-17 17:34:51 +00:00
collecting metrics about Sendmail traffic.
2015-06-01 13:08:52 +00:00
# end pcp-pmda-sendmail
2014-09-05 04:40:42 +00:00
2015-06-01 13:08:52 +00:00
#
# pcp-pmda-shping
#
%package pmda-shping
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2017-02-17 17:34:51 +00:00
Summary : Performance Co-Pilot (PCP) metrics for shell command responses
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2020-04-24 04:54:35 +00:00
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
2015-06-01 13:08:52 +00:00
%description pmda-shping
2014-09-05 04:40:42 +00:00
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2015-06-01 13:08:52 +00:00
collecting metrics about quality of service and response time measurements of
2015-08-04 03:54:00 +00:00
arbitrary shell commands.
2015-06-01 13:08:52 +00:00
# end pcp-pmda-shping
2014-09-05 04:40:42 +00:00
2018-05-11 02:30:01 +00:00
#
# pcp-pmda-smart
#
%package pmda-smart
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2018-05-11 02:30:01 +00:00
Summary : Performance Co-Pilot (PCP) metrics for S.M.A.R.T values
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2020-04-24 04:54:35 +00:00
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
2020-02-27 10:54:04 +00:00
Requires : smartmontools
2018-05-11 02:30:01 +00:00
%description pmda-smart
This package contains the PCP Performance Metric Domain Agent (PMDA) for
collecting metrics of disk S.M.A.R.T values making use of data from the
smartmontools package.
#end pcp-pmda-smart
2021-02-10 05:01:22 +00:00
#
# pcp-pmda-sockets
#
%package pmda-sockets
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2021-02-10 05:01:22 +00:00
Summary : Performance Co-Pilot (PCP) per-socket metrics
URL : https://pcp.io
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
Requires : iproute
%description pmda-sockets
This package contains the PCP Performance Metric Domain Agent (PMDA) for
collecting per-socket statistics, making use of utilities such as 'ss' .
#end pcp-pmda-sockets
2014-12-01 04:18:53 +00:00
#
2015-06-01 13:08:52 +00:00
# pcp-pmda-summary
2014-12-01 04:18:53 +00:00
#
2015-06-01 13:08:52 +00:00
%package pmda-summary
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2017-02-17 17:34:51 +00:00
Summary : Performance Co-Pilot (PCP) summary metrics from pmie
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2020-04-24 04:54:35 +00:00
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
2015-06-01 13:08:52 +00:00
%description pmda-summary
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2019-02-27 03:01:31 +00:00
collecting metrics about other installed PMDAs.
2015-06-01 13:08:52 +00:00
# end pcp-pmda-summary
2014-12-01 04:18:53 +00:00
2015-08-04 03:54:00 +00:00
%if !%{disable_systemd}
2015-06-01 13:08:52 +00:00
#
# pcp-pmda-systemd
#
%package pmda-systemd
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2017-02-17 17:34:51 +00:00
Summary : Performance Co-Pilot (PCP) metrics from the Systemd journal
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2020-04-24 04:54:35 +00:00
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
2015-06-01 13:08:52 +00:00
%description pmda-systemd
2014-12-01 04:18:53 +00:00
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2017-02-17 17:34:51 +00:00
collecting metrics from the Systemd journal.
2015-06-01 13:08:52 +00:00
# end pcp-pmda-systemd
2015-08-04 03:54:00 +00:00
%endif
2014-12-01 04:18:53 +00:00
2013-09-09 11:52:51 +00:00
#
2015-06-01 13:08:52 +00:00
# pcp-pmda-trace
2013-09-09 11:52:51 +00:00
#
2015-06-01 13:08:52 +00:00
%package pmda-trace
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2017-02-17 17:34:51 +00:00
Summary : Performance Co-Pilot (PCP) metrics for application tracing
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2020-04-24 04:54:35 +00:00
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
2015-06-01 13:08:52 +00:00
%description pmda-trace
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2017-02-17 17:34:51 +00:00
collecting metrics about trace performance data in applications.
2015-06-01 13:08:52 +00:00
# end pcp-pmda-trace
2013-09-09 11:52:51 +00:00
2015-06-01 13:08:52 +00:00
#
# pcp-pmda-weblog
#
%package pmda-weblog
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2017-02-17 17:34:51 +00:00
Summary : Performance Co-Pilot (PCP) metrics from web server logs
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2020-04-24 04:54:35 +00:00
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
2015-06-01 13:08:52 +00:00
%description pmda-weblog
2013-09-09 11:52:51 +00:00
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
2015-08-04 03:54:00 +00:00
collecting metrics about web server logs.
2015-06-01 13:08:52 +00:00
# end pcp-pmda-weblog
# end C pmdas
2024-08-01 01:27:23 +00:00
%if !%{disable_amdgpu}
#
# pcp-pmda-amdgpu
#
%package pmda-amdgpu
License : GPL-2.0-or-later
Summary : Performance Co-Pilot (PCP) metrics from AMD GPU devices
URL : https://pcp.io
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
Requires : libdrm
BuildRequires : libdrm-devel
%description pmda-amdgpu
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
extracting performance metrics from AMDGPU devices.
# end pcp-pmda-amdgpu
%endif
2017-05-17 19:55:06 +00:00
%package zeroconf
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2017-05-17 19:55:06 +00:00
Summary : Performance Co-Pilot (PCP) Zeroconf Package
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2020-09-25 00:52:40 +00:00
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
Requires : pcp-system-tools = %{version} -%{release}
Requires : pcp-doc = %{version} -%{release}
Requires : pcp-pmda-dm = %{version} -%{release}
2020-05-31 02:33:17 +00:00
%if !%{disable_python2} || !%{disable_python3}
2020-09-25 00:52:40 +00:00
Requires : pcp-pmda-nfsclient = %{version} -%{release}
Requires : pcp-pmda-openmetrics = %{version} -%{release}
2020-05-31 02:33:17 +00:00
%endif
2017-05-17 19:55:06 +00:00
%description zeroconf
This package contains configuration tweaks and files to increase metrics
gathering frequency, several extended pmlogger configurations, as well as
automated pmie diagnosis, alerting and self-healing for the localhost.
2014-12-08 14:06:18 +00:00
%if !%{disable_python2}
2012-08-28 10:54:33 +00:00
#
2018-02-16 03:29:50 +00:00
# python2-pcp. This is the PCP library bindings for python.
2012-08-28 10:54:33 +00:00
#
2018-01-10 16:43:34 +00:00
%package -n %{__python2}-pcp
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2012-08-28 10:54:33 +00:00
Summary : Performance Co-Pilot (PCP) Python bindings and documentation
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2015-03-31 14:39:29 +00:00
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
2018-02-16 03:29:50 +00:00
%if 0%{?fedora} >= 26 || 0%{?rhel} > 7
# on these platforms, python2-pcp replaces python-pcp
2019-12-11 09:05:37 +00:00
Obsoletes : python-pcp < %{version}
2018-02-16 03:29:50 +00:00
%endif
2016-06-06 14:07:54 +00:00
%if 0%{?rhel} == 5
Requires : python%{default_python}
%else
2018-03-29 01:40:40 +00:00
Requires : %{__python 2}
2016-06-06 14:07:54 +00:00
%endif
2012-08-28 10:54:33 +00:00
2018-01-10 16:43:34 +00:00
%description -n %{__python2}-pcp
2014-10-31 05:34:18 +00:00
This python PCP module contains the language bindings for
Performance Metric API (PMAPI) monitor tools and Performance
Metric Domain Agent (PMDA) collector tools written in Python.
2014-12-08 14:06:18 +00:00
%endif
2014-10-31 05:34:18 +00:00
%if !%{disable_python3}
#
# python3-pcp. This is the PCP library bindings for python3.
#
%package -n python3-pcp
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2014-10-31 05:34:18 +00:00
Summary : Performance Co-Pilot (PCP) Python3 bindings and documentation
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2015-03-31 14:39:29 +00:00
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
2016-06-06 14:07:54 +00:00
Requires : python3
2014-10-31 05:34:18 +00:00
%description -n python3-pcp
This python PCP module contains the language bindings for
Performance Metric API (PMAPI) monitor tools and Performance
Metric Domain Agent (PMDA) collector tools written in Python3.
%endif
2012-08-28 10:54:33 +00:00
2015-06-01 13:08:52 +00:00
#
# pcp-system-tools
#
2017-02-17 17:34:51 +00:00
%package system-tools
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later
2015-06-01 13:08:52 +00:00
Summary : Performance Co-Pilot (PCP) System and Monitoring Tools
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2021-07-30 05:25:03 +00:00
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
%if !%{disable_python2} || !%{disable_python3}
2015-06-01 13:08:52 +00:00
%if !%{disable_python3}
Requires : python3-pcp = %{version} -%{release}
2018-06-15 02:11:17 +00:00
%else
2018-01-10 16:43:34 +00:00
Requires : %{__python 2}-pcp = %{version} -%{release}
2015-06-01 13:08:52 +00:00
%endif
2018-08-03 21:05:44 +00:00
%if !%{disable_dstat}
2018-11-16 07:45:57 +00:00
# https://fedoraproject.org/wiki/Packaging:Guidelines "Renaming/Replacing Existing Packages"
Provides : dstat = %{version} -%{release}
2018-08-03 21:05:44 +00:00
Provides : /usr/bin/dstat
2019-04-26 06:19:55 +00:00
Obsoletes : dstat <= 0.8
2018-08-03 21:05:44 +00:00
%endif
2021-07-30 05:25:03 +00:00
%endif
2017-02-17 17:34:51 +00:00
%description system-tools
2015-06-01 13:08:52 +00:00
This PCP module contains additional system monitoring tools written
2018-06-15 02:11:17 +00:00
in the Python language.
2018-03-29 01:40:40 +00:00
2014-06-18 15:45:46 +00:00
%if !%{disable_qt}
2014-05-15 04:44:12 +00:00
#
# pcp-gui package for Qt tools
#
2017-02-17 17:34:51 +00:00
%package gui
2023-09-06 00:38:19 +00:00
License : GPL-2.0-or-later AND LGPL-2.1-or-later AND LGPL-2.1-or-later WITH Qwt-exception-1.0
2014-05-15 04:44:12 +00:00
Summary : Visualization tools for the Performance Co-Pilot toolkit
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2015-03-31 14:39:29 +00:00
Requires : pcp = %{version} -%{release} pcp-libs = %{version} -%{release}
2018-03-29 01:40:40 +00:00
Requires : liberation-sans-fonts
2017-10-18 21:20:57 +00:00
BuildRequires : hicolor-icon-theme
2014-05-15 04:44:12 +00:00
2017-02-17 17:34:51 +00:00
%description gui
2014-05-15 04:44:12 +00:00
Visualization tools for the Performance Co-Pilot toolkit.
The pcp-gui package primarily includes visualization tools for
monitoring systems using live and archived Performance Co-Pilot
(PCP) sources.
2014-06-18 15:45:46 +00:00
%endif
2014-05-15 04:44:12 +00:00
#
# pcp-doc package
#
2017-02-17 17:34:51 +00:00
%package doc
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later AND CC-BY-3.0
2015-08-04 03:54:00 +00:00
%if !%{disable_noarch}
2014-05-15 04:44:12 +00:00
BuildArch : noarch
2014-07-16 03:53:30 +00:00
%endif
2014-05-15 04:44:12 +00:00
Summary : Documentation and tutorial for the Performance Co-Pilot
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2015-08-04 03:54:00 +00:00
# http://fedoraproject.org/wiki/Packaging:Conflicts "Splitting Packages"
# (all man pages migrated to pcp-doc during great package split of '15)
Conflicts : pcp-pmda-infiniband < 3.10.5
2014-05-15 04:44:12 +00:00
2017-02-17 17:34:51 +00:00
%description doc
2014-05-15 04:44:12 +00:00
Documentation and tutorial for the Performance Co-Pilot
Performance Co-Pilot (PCP) provides a framework and services to support
system-level performance monitoring and performance management.
The pcp-doc package provides useful information on using and
configuring the Performance Co-Pilot (PCP) toolkit for system
level performance management. It includes tutorials, HOWTOs,
and other detailed documentation about the internals of core
PCP utilities and daemons, and the PCP graphical tools.
2017-02-17 17:34:51 +00:00
#
# pcp-selinux package
#
%if !%{disable_selinux}
%package selinux
2023-07-25 16:54:27 +00:00
License : GPL-2.0-or-later AND CC-BY-3.0
2017-02-17 17:34:51 +00:00
Summary : Selinux policy package
2018-06-15 02:11:17 +00:00
URL : https://pcp.io
2017-02-17 17:34:51 +00:00
BuildRequires : selinux-policy-devel
2017-06-30 01:26:52 +00:00
BuildRequires : selinux-policy-targeted
2017-04-02 04:14:31 +00:00
%if 0%{?rhel} == 5
BuildRequires : setools
%else
2017-02-17 17:34:51 +00:00
BuildRequires : setools-console
2017-04-02 04:14:31 +00:00
%endif
2019-10-19 13:09:24 +00:00
Requires : policycoreutils selinux-policy-targeted
2017-02-17 17:34:51 +00:00
%description selinux
This package contains SELinux support for PCP. The package contains
interface rules, type enforcement and file context adjustments for an
updated policy package.
%endif
2021-09-15 00:07:03 +00:00
2010-07-20 00:32:23 +00:00
%prep
2022-12-12 09:41:49 +00:00
%autosetup -p1
2010-07-20 00:32:23 +00:00
%build
2022-08-31 05:36:47 +00:00
# the buildsubdir macro gets defined in %%setup and is apparently only available in the next step (i.e. the %%build step)
2021-09-15 00:07:03 +00:00
%global __strip %{_builddir} /%{?buildsubdir} /build/rpm/custom-strip
2020-08-08 04:09:28 +00:00
# fix up build version
_build=`echo %{release} | sed -e 's/\..*$//' `
sed -i " / P A C K A G E _ B U I L D / s / = [ 0 - 9 ] * / = $ _ b u i l d / " VERSION.pcp
2020-07-01 21:20:16 +00:00
2015-03-16 13:12:36 +00:00
%if !%{disable_python2} && 0%{?default_python} != 3
export PYTHON=python%{?default_python}
%endif
2022-10-27 04:07:59 +00:00
%configure %{?_with_initd} %{?_with_doc} %{?_with_dstat} %{?_with_ib} %{?_with_statsd} %{?_with_perfevent} %{?_with_bcc} %{?_with_bpf} %{?_with_bpftrace} %{?_with_json} %{?_with_mongodb} %{?_with_snmp} %{?_with_nutcracker} %{?_with_python2}
2015-06-01 13:08:52 +00:00
make %{?_smp_mflags} default_pcp
2010-07-20 00:32:23 +00:00
%install
2011-12-12 07:58:13 +00:00
rm -Rf $RPM_BUILD_ROOT
2020-08-08 04:09:28 +00:00
BACKDIR=`pwd`
NO_CHOWN=true
DIST_ROOT=$RPM_BUILD_ROOT
DIST_TMPFILES=$BACKDIR/install.tmpfiles
2021-02-10 05:01:22 +00:00
DIST_MANIFEST=$BACKDIR/install.manifest
export NO_CHOWN DIST_ROOT DIST_MANIFEST DIST_TMPFILES
rm -f $DIST_MANIFEST $DIST_TMPFILES
2010-07-20 00:32:23 +00:00
make install_pcp
2014-10-31 05:34:18 +00:00
2021-02-10 05:01:22 +00:00
### TODO: remove these by incorporating into the actual build
2010-07-20 00:32:23 +00:00
# Fix stuff we do/don't want to ship
rm -f $RPM_BUILD_ROOT /%{_libdir} /*.a
2021-02-10 05:01:22 +00:00
sed -i -e '/\.a$/d' $DIST_MANIFEST
2010-07-20 00:32:23 +00:00
2012-06-21 03:48:22 +00:00
# remove sheet2pcp until BZ 830923 and BZ 754678 are resolved.
2015-03-31 14:39:29 +00:00
rm -f $RPM_BUILD_ROOT /%{_bindir} /sheet2pcp $RPM_BUILD_ROOT /%{_mandir} /man1/sheet2pcp.1*
2021-02-10 05:01:22 +00:00
sed -i -e '/sheet2pcp/d' $DIST_MANIFEST
2012-06-21 03:48:22 +00:00
2016-06-06 14:07:54 +00:00
# remove {config,platform}sz.h as these are not multilib friendly.
2014-02-20 02:36:48 +00:00
rm -f $RPM_BUILD_ROOT /%{_includedir} /pcp/configsz.h
2021-02-10 05:01:22 +00:00
sed -i -e '/configsz.h/d' $DIST_MANIFEST
2016-06-06 14:07:54 +00:00
rm -f $RPM_BUILD_ROOT /%{_includedir} /pcp/platformsz.h
2021-02-10 05:01:22 +00:00
sed -i -e '/platformsz.h/d' $DIST_MANIFEST
2013-09-16 07:34:17 +00:00
2020-02-27 10:54:04 +00:00
%if %{disable_mssql}
# remove pmdamssql on platforms lacking MSODBC driver packages.
2021-06-04 01:04:40 +00:00
rm -fr $RPM_BUILD_ROOT /%{_confdir} /mssql
rm -fr $RPM_BUILD_ROOT /%{_confdir} /pmieconf/mssql
rm -fr $RPM_BUILD_ROOT /%{_ieconfdir} /mssql
2020-02-27 10:54:04 +00:00
rm -fr $RPM_BUILD_ROOT /%{_pmdasdir} /mssql
2020-08-08 04:09:28 +00:00
rm -fr $RPM_BUILD_ROOT /%{_pmdasexecdir} /mssql
%endif
2021-02-10 05:01:22 +00:00
%if !%{disable_qt}
2014-05-15 04:44:12 +00:00
desktop-file-validate $RPM_BUILD_ROOT /%{_datadir} /applications/pmchart.desktop
2014-06-18 15:45:46 +00:00
%endif
2014-05-15 04:44:12 +00:00
2019-11-04 01:45:46 +00:00
%if 0%{?rhel} || 0%{?fedora}
# Fedora and RHEL default local only access for pmcd and pmlogger
sed -i -e '/^# .*_LOCAL=1/s/^# //' $RPM_BUILD_ROOT /%{_sysconfdir} /sysconfig/{pmcd,pmlogger}
%endif
# default chkconfig off (all RPM platforms)
2020-08-08 04:09:28 +00:00
for f in $RPM_BUILD_ROOT /%{_initddir} /{pcp,pmcd,pmlogger,pmie,pmproxy}; do
2020-05-31 02:33:17 +00:00
test -f " $ f " || continue
sed -i -e '/^# chkconfig/s/:.*$/: - 95 05/' -e '/^# Default-Start:/s/:.*$/:/' $f
2010-07-20 00:32:23 +00:00
done
2021-02-10 05:01:22 +00:00
### end TODO
PCP_GUI='pmchart|pmconfirm|pmdumptext|pmmessage|pmquery|pmsnap|pmtime'
PCP_CONF=$BACKDIR/src/include/pcp.conf
export PCP_CONF
. $BACKDIR/src/include/pcp.env
CFGFILELIST=`ls -1 $BACKDIR/debian/pcp-conf.{install,dirs}`
2021-02-11 00:20:58 +00:00
LIBFILELIST=`ls -1 $BACKDIR/debian/lib*.{install,dirs} | grep -F -v -- -dev.`
2021-02-10 05:01:22 +00:00
DEVFILELIST=`ls -1 $BACKDIR/debian/lib*-dev.{install,dirs}`
# Package split: pcp{-conf,-libs,-libs-devel,-testsuite,-import-*,-export-*}...
# The above list is ordered by file selection; files for each package are
# removed from a global set, then the base package catches all remaining.
sed -e 's/^/\//' $CFGFILELIST >pcp-conf-files
sed -e 's/^/\//' $LIBFILELIST >pcp-libs-files
sed -e 's/^/\//' $DEVFILELIST >pcp-devel-files
grep " \ . h $ " $DEVFILELIST | cut -f2 -d" : " >pcp-libs-devel-files
grep " \ . p c $ " $DEVFILELIST | cut -f2 -d" : " >>pcp-libs-devel-files
grep " \ . s o $ " $DEVFILELIST | cut -f2 -d" : " >>pcp-libs-devel-files
grep " \ . a $ " $DEVFILELIST | cut -f2 -d" : " >>pcp-libs-devel-files
sed -i -e 's/^/\//' pcp-libs-devel-files
sed -i '/.h$/d' pcp-devel-files
sed -i '/.pc$/d' pcp-devel-files
sed -i '/.so$/d' pcp-devel-files
sed -i '/.a$/d' pcp-devel-files
sed -i '/\/man\//d' pcp-devel-files
sed -i '/\/include\//d' pcp-devel-files
2024-06-14 21:32:36 +00:00
%ifarch x86_64 ppc64 ppc64le aarch64 s390x riscv64
2021-02-10 05:01:22 +00:00
sed -i -e 's/usr\/lib\//usr\/lib64\//' pcp-libs-files
sed -i -e 's/usr\/lib\//usr\/lib64\//' pcp-devel-files
sed -i -e 's/usr\/lib\//usr\/lib64\//' pcp-libs-devel-files
%endif
%ifarch ia64
%if "%{_vendor}" != "suse"
sed -i -e 's/usr\/lib\//usr\/lib64\//' pcp-libs-files
sed -i -e 's/usr\/lib\//usr\/lib64\//' pcp-devel-files
sed -i -e 's/usr\/lib\//usr\/lib64\//' pcp-libs-devel-files
%endif
%endif
# some special cases for devel
awk '{print $NF}' $DIST_MANIFEST |\
2024-02-11 15:13:52 +00:00
grep -E 'pcp/(examples|demos)|(etc/pcp|pcp/pmdas)/(sample|simple|trivial|txmon)|bin/(pmdbg|pmclient|pmerr|genpmda)' | grep -E -v tutorials >>pcp-devel-files
2021-02-10 05:01:22 +00:00
2021-02-11 00:20:58 +00:00
# Patterns for files to be marked %%config(noreplace).
# Note: /etc/pcp.{conf,env,sh} are %%config but not noreplace
2021-02-10 05:01:22 +00:00
# and are treated specially below.
cat >confpath.list <<EOF
2021-06-04 01:04:40 +00:00
etc/zabbix/zabbix_agentd.d/
2021-02-10 05:01:22 +00:00
etc/sysconfig/
etc/cron.d/
2021-06-04 01:04:40 +00:00
etc/sasl2/
2021-02-10 05:01:22 +00:00
etc/pcp/
EOF
# functions to manipulate the manifest of files - keeping
# or culling given (or common) patterns from the stream.
keep() {
2021-02-11 00:20:58 +00:00
grep -E $@ || return 0
2021-02-10 05:01:22 +00:00
}
cull() {
2021-02-11 00:20:58 +00:00
grep -E -v $@ || return 0
2021-02-10 05:01:22 +00:00
}
total_manifest() {
awk '{print $NF}' $DIST_MANIFEST
}
basic_manifest() {
2022-08-31 05:36:47 +00:00
total_manifest | cull '/pcp-doc/|/testsuite/|/man/|pcp/examples/'
2021-02-10 05:01:22 +00:00
}
#
# Files for the various subpackages. We use these subpackages
# to isolate the (somewhat exotic) dependencies for these tools.
# Likewise, for the pcp-pmda and pcp-testsuite subpackages.
#
total_manifest | keep 'tutorials|/html/|pcp-doc|man.*\.[1-9].*' | cull 'out' >pcp-doc-files
2024-06-14 21:32:36 +00:00
total_manifest | keep 'testsuite|pcpqa|etc/systemd/system|libpcp_fault|pcp/fault.h|pmcheck/pmda-sample' >pcp-testsuite-files
2021-02-10 05:01:22 +00:00
basic_manifest | keep " $ P C P _ G U I | p c p - g u i | a p p l i c a t i o n s | p i x m a p s | h i c o l o r " | cull 'pmtime.h' >pcp-gui-files
2022-10-27 04:07:59 +00:00
basic_manifest | keep 'selinux' | cull 'tmp|testsuite' >pcp-selinux-files
2024-06-14 21:32:36 +00:00
basic_manifest | keep 'zeroconf|daily[-_]report|/sa$' | cull 'pmcheck' >pcp-zeroconf-files
2021-07-30 05:25:03 +00:00
basic_manifest | grep -E -e 'pmiostat|pmrep|dstat|htop|pcp2csv' \
2023-11-17 05:07:51 +00:00
-e 'pcp-atop|pcp-dmcache|pcp-dstat|pcp-free' \
-e 'pcp-htop|pcp-ipcs|pcp-iostat|pcp-lvmcache|pcp-mpstat' \
-e 'pcp-numastat|pcp-pidstat|pcp-shping|pcp-ss' \
2024-08-01 01:27:23 +00:00
-e 'pcp-tapestat|pcp-uptime|pcp-verify|pcp-xsos' | \
2021-02-10 05:01:22 +00:00
cull 'selinux|pmlogconf|pmieconf|pmrepconf' >pcp-system-tools-files
2023-11-17 05:07:51 +00:00
basic_manifest | keep 'geolocate' >pcp-geolocate-files
2021-02-10 05:01:22 +00:00
basic_manifest | keep 'sar2pcp' >pcp-import-sar2pcp-files
basic_manifest | keep 'iostat2pcp' >pcp-import-iostat2pcp-files
basic_manifest | keep 'sheet2pcp' >pcp-import-sheet2pcp-files
basic_manifest | keep 'mrtg2pcp' >pcp-import-mrtg2pcp-files
basic_manifest | keep 'ganglia2pcp' >pcp-import-ganglia2pcp-files
basic_manifest | keep 'collectl2pcp' >pcp-import-collectl2pcp-files
2024-02-11 15:13:52 +00:00
basic_manifest | keep 'pcp2arrow' >pcp-export-pcp2arrow-files
2021-02-10 05:01:22 +00:00
basic_manifest | keep 'pcp2elasticsearch' >pcp-export-pcp2elasticsearch-files
basic_manifest | keep 'pcp2influxdb' >pcp-export-pcp2influxdb-files
basic_manifest | keep 'pcp2xlsx' >pcp-export-pcp2xlsx-files
basic_manifest | keep 'pcp2graphite' >pcp-export-pcp2graphite-files
basic_manifest | keep 'pcp2json' >pcp-export-pcp2json-files
2024-06-14 21:32:36 +00:00
basic_manifest | keep 'pcp2openmetrics' >pcp-export-pcp2openmetrics-files
2021-02-10 05:01:22 +00:00
basic_manifest | keep 'pcp2spark' >pcp-export-pcp2spark-files
basic_manifest | keep 'pcp2xml' >pcp-export-pcp2xml-files
basic_manifest | keep 'pcp2zabbix' >pcp-export-pcp2zabbix-files
basic_manifest | keep 'zabbix|zbxpcp' | cull pcp2zabbix >pcp-export-zabbix-agent-files
basic_manifest | keep '(etc/pcp|pmdas)/activemq(/|$)' >pcp-pmda-activemq-files
2024-08-01 01:27:23 +00:00
basic_manifest | keep '(etc/pcp|pmdas)/amdgpu(/|$)' >pcp-pmda-amdgpu-files
2021-02-10 05:01:22 +00:00
basic_manifest | keep '(etc/pcp|pmdas)/apache(/|$)' >pcp-pmda-apache-files
basic_manifest | keep '(etc/pcp|pmdas)/bash(/|$)' >pcp-pmda-bash-files
basic_manifest | keep '(etc/pcp|pmdas)/bcc(/|$)' >pcp-pmda-bcc-files
basic_manifest | keep '(etc/pcp|pmdas)/bind2(/|$)' >pcp-pmda-bind2-files
basic_manifest | keep '(etc/pcp|pmdas)/bonding(/|$)' >pcp-pmda-bonding-files
2021-09-15 00:07:03 +00:00
basic_manifest | keep '(etc/pcp|pmdas)/bpf(/|$)' >pcp-pmda-bpf-files
2021-02-10 05:01:22 +00:00
basic_manifest | keep '(etc/pcp|pmdas)/bpftrace(/|$)' >pcp-pmda-bpftrace-files
basic_manifest | keep '(etc/pcp|pmdas)/cifs(/|$)' >pcp-pmda-cifs-files
basic_manifest | keep '(etc/pcp|pmdas)/cisco(/|$)' >pcp-pmda-cisco-files
basic_manifest | keep '(etc/pcp|pmdas)/dbping(/|$)' >pcp-pmda-dbping-files
basic_manifest | keep '(etc/pcp|pmdas|pmieconf)/dm(/|$)' >pcp-pmda-dm-files
2021-07-30 05:25:03 +00:00
basic_manifest | keep '(etc/pcp|pmdas)/denki(/|$)' >pcp-pmda-denki-files
2021-02-10 05:01:22 +00:00
basic_manifest | keep '(etc/pcp|pmdas)/docker(/|$)' >pcp-pmda-docker-files
basic_manifest | keep '(etc/pcp|pmdas)/ds389log(/|$)' >pcp-pmda-ds389log-files
basic_manifest | keep '(etc/pcp|pmdas)/ds389(/|$)' >pcp-pmda-ds389-files
basic_manifest | keep '(etc/pcp|pmdas)/elasticsearch(/|$)' >pcp-pmda-elasticsearch-files
2023-11-17 05:07:51 +00:00
basic_manifest | keep '(etc/pcp|pmdas)/farm(/|$)' >pcp-pmda-farm-files
2021-02-10 05:01:22 +00:00
basic_manifest | keep '(etc/pcp|pmdas)/gfs2(/|$)' >pcp-pmda-gfs2-files
basic_manifest | keep '(etc/pcp|pmdas)/gluster(/|$)' >pcp-pmda-gluster-files
basic_manifest | keep '(etc/pcp|pmdas)/gpfs(/|$)' >pcp-pmda-gpfs-files
basic_manifest | keep '(etc/pcp|pmdas)/gpsd(/|$)' >pcp-pmda-gpsd-files
basic_manifest | keep '(etc/pcp|pmdas)/hacluster(/|$)' >pcp-pmda-hacluster-files
basic_manifest | keep '(etc/pcp|pmdas)/haproxy(/|$)' >pcp-pmda-haproxy-files
basic_manifest | keep '(etc/pcp|pmdas)/infiniband(/|$)' >pcp-pmda-infiniband-files
basic_manifest | keep '(etc/pcp|pmdas)/json(/|$)' >pcp-pmda-json-files
basic_manifest | keep '(etc/pcp|pmdas)/libvirt(/|$)' >pcp-pmda-libvirt-files
basic_manifest | keep '(etc/pcp|pmdas)/lio(/|$)' >pcp-pmda-lio-files
basic_manifest | keep '(etc/pcp|pmdas)/lmsensors(/|$)' >pcp-pmda-lmsensors-files
basic_manifest | keep '(etc/pcp|pmdas)/logger(/|$)' >pcp-pmda-logger-files
basic_manifest | keep '(etc/pcp|pmdas)/lustre(/|$)' >pcp-pmda-lustre-files
basic_manifest | keep '(etc/pcp|pmdas)/lustrecomm(/|$)' >pcp-pmda-lustrecomm-files
basic_manifest | keep '(etc/pcp|pmdas)/memcache(/|$)' >pcp-pmda-memcache-files
basic_manifest | keep '(etc/pcp|pmdas)/mailq(/|$)' >pcp-pmda-mailq-files
basic_manifest | keep '(etc/pcp|pmdas)/mic(/|$)' >pcp-pmda-mic-files
basic_manifest | keep '(etc/pcp|pmdas)/mounts(/|$)' >pcp-pmda-mounts-files
2021-11-10 02:29:02 +00:00
basic_manifest | keep '(etc/pcp|pmdas)/mongodb(/|$)' >pcp-pmda-mongodb-files
2021-06-04 01:04:40 +00:00
basic_manifest | keep '(etc/pcp|pmdas|pmieconf)/mssql(/|$)' >pcp-pmda-mssql-files
2021-02-10 05:01:22 +00:00
basic_manifest | keep '(etc/pcp|pmdas)/mysql(/|$)' >pcp-pmda-mysql-files
basic_manifest | keep '(etc/pcp|pmdas)/named(/|$)' >pcp-pmda-named-files
basic_manifest | keep '(etc/pcp|pmdas)/netfilter(/|$)' >pcp-pmda-netfilter-files
basic_manifest | keep '(etc/pcp|pmdas)/netcheck(/|$)' >pcp-pmda-netcheck-files
basic_manifest | keep '(etc/pcp|pmdas)/news(/|$)' >pcp-pmda-news-files
basic_manifest | keep '(etc/pcp|pmdas)/nfsclient(/|$)' >pcp-pmda-nfsclient-files
basic_manifest | keep '(etc/pcp|pmdas)/nginx(/|$)' >pcp-pmda-nginx-files
basic_manifest | keep '(etc/pcp|pmdas)/nutcracker(/|$)' >pcp-pmda-nutcracker-files
basic_manifest | keep '(etc/pcp|pmdas)/nvidia(/|$)' >pcp-pmda-nvidia-files
basic_manifest | keep '(etc/pcp|pmdas)/openmetrics(/|$)' >pcp-pmda-openmetrics-files
2022-08-31 05:36:47 +00:00
basic_manifest | keep '(etc/pcp|pmdas|pmieconf)/openvswitch(/|$)' >pcp-pmda-openvswitch-files
2021-02-10 05:01:22 +00:00
basic_manifest | keep '(etc/pcp|pmdas)/oracle(/|$)' >pcp-pmda-oracle-files
basic_manifest | keep '(etc/pcp|pmdas)/pdns(/|$)' >pcp-pmda-pdns-files
basic_manifest | keep '(etc/pcp|pmdas)/perfevent(/|$)' >pcp-pmda-perfevent-files
basic_manifest | keep '(etc/pcp|pmdas)/podman(/|$)' >pcp-pmda-podman-files
basic_manifest | keep '(etc/pcp|pmdas)/postfix(/|$)' >pcp-pmda-postfix-files
basic_manifest | keep '(etc/pcp|pmdas)/postgresql(/|$)' >pcp-pmda-postgresql-files
basic_manifest | keep '(etc/pcp|pmdas)/rabbitmq(/|$)' >pcp-pmda-rabbitmq-files
basic_manifest | keep '(etc/pcp|pmdas)/redis(/|$)' >pcp-pmda-redis-files
2023-11-17 05:07:51 +00:00
basic_manifest | keep '(etc/pcp|pmdas)/resctrl(/|$)|sys-fs-resctrl' >pcp-pmda-resctrl-files
2021-02-10 05:01:22 +00:00
basic_manifest | keep '(etc/pcp|pmdas)/roomtemp(/|$)' >pcp-pmda-roomtemp-files
basic_manifest | keep '(etc/pcp|pmdas)/rpm(/|$)' >pcp-pmda-rpm-files
basic_manifest | keep '(etc/pcp|pmdas)/rsyslog(/|$)' >pcp-pmda-rsyslog-files
basic_manifest | keep '(etc/pcp|pmdas)/samba(/|$)' >pcp-pmda-samba-files
basic_manifest | keep '(etc/pcp|pmdas)/sendmail(/|$)' >pcp-pmda-sendmail-files
basic_manifest | keep '(etc/pcp|pmdas)/shping(/|$)' >pcp-pmda-shping-files
basic_manifest | keep '(etc/pcp|pmdas)/slurm(/|$)' >pcp-pmda-slurm-files
basic_manifest | keep '(etc/pcp|pmdas)/smart(/|$)' >pcp-pmda-smart-files
basic_manifest | keep '(etc/pcp|pmdas)/snmp(/|$)' >pcp-pmda-snmp-files
basic_manifest | keep '(etc/pcp|pmdas)/sockets(/|$)' >pcp-pmda-sockets-files
basic_manifest | keep '(etc/pcp|pmdas)/statsd(/|$)' >pcp-pmda-statsd-files
basic_manifest | keep '(etc/pcp|pmdas)/summary(/|$)' >pcp-pmda-summary-files
basic_manifest | keep '(etc/pcp|pmdas)/systemd(/|$)' >pcp-pmda-systemd-files
basic_manifest | keep '(etc/pcp|pmdas)/trace(/|$)' >pcp-pmda-trace-files
basic_manifest | keep '(etc/pcp|pmdas)/unbound(/|$)' >pcp-pmda-unbound-files
2024-06-14 21:32:36 +00:00
basic_manifest | keep '(etc/pcp|pmdas)/uwsgi(/|$)' >pcp-pmda-uwsgi-files
2021-02-10 05:01:22 +00:00
basic_manifest | keep '(etc/pcp|pmdas)/weblog(/|$)' >pcp-pmda-weblog-files
basic_manifest | keep '(etc/pcp|pmdas)/zimbra(/|$)' >pcp-pmda-zimbra-files
basic_manifest | keep '(etc/pcp|pmdas)/zswap(/|$)' >pcp-pmda-zswap-files
rm -f packages.list
for pmda_package in \
2024-08-01 01:27:23 +00:00
activemq amdgpu apache \
2021-09-15 00:07:03 +00:00
bash bcc bind2 bonding bpf bpftrace \
2021-02-10 05:01:22 +00:00
cifs cisco \
2021-07-30 05:25:03 +00:00
dbping denki docker dm ds389 ds389log \
2021-02-10 05:01:22 +00:00
elasticsearch \
2023-11-17 05:07:51 +00:00
farm \
2021-02-10 05:01:22 +00:00
gfs2 gluster gpfs gpsd \
hacluster haproxy \
infiniband \
json \
libvirt lio lmsensors logger lustre lustrecomm \
2021-11-10 02:29:02 +00:00
mailq memcache mic mounts mongodb mssql mysql \
2021-02-10 05:01:22 +00:00
named netcheck netfilter news nfsclient nginx \
nutcracker nvidia \
openmetrics openvswitch oracle \
pdns perfevent podman postfix postgresql \
2023-11-17 05:07:51 +00:00
rabbitmq redis resctrl roomtemp rpm rsyslog \
2021-02-10 05:01:22 +00:00
samba sendmail shping slurm smart snmp \
sockets statsd summary systemd \
2024-06-14 21:32:36 +00:00
unbound uwsgi \
2021-02-10 05:01:22 +00:00
trace \
weblog \
zimbra zswap ; \
do \
pmda_packages=" $ p m d a _ p a c k a g e s p c p - p m d a - $ p m d a _ p a c k a g e " ; \
done
for import_package in \
collectl2pcp iostat2pcp ganglia2pcp mrtg2pcp sar2pcp sheet2pcp ; \
do \
import_packages=" $ i m p o r t _ p a c k a g e s p c p - i m p o r t - $ i m p o r t _ p a c k a g e " ; \
2020-08-08 04:09:28 +00:00
done
2021-02-10 05:01:22 +00:00
for export_package in \
2024-02-11 15:13:52 +00:00
pcp2arrow pcp2elasticsearch pcp2graphite pcp2influxdb pcp2json \
2024-06-14 21:32:36 +00:00
pcp2openmetrics pcp2spark pcp2xlsx pcp2xml pcp2zabbix zabbix-agent ; \
2021-02-10 05:01:22 +00:00
do \
export_packages=" $ e x p o r t _ p a c k a g e s p c p - e x p o r t - $ e x p o r t _ p a c k a g e " ; \
2020-08-08 04:09:28 +00:00
done
2021-02-10 05:01:22 +00:00
for subpackage in \
pcp-conf pcp-gui pcp-doc pcp-libs pcp-devel pcp-libs-devel \
2023-11-17 05:07:51 +00:00
pcp-geolocate pcp-selinux pcp-system-tools pcp-testsuite pcp-zeroconf \
2021-02-10 05:01:22 +00:00
$pmda_packages $import_packages $export_packages ; \
do \
echo $subpackage >> packages.list; \
done
2015-06-15 12:03:21 +00:00
2021-02-10 05:01:22 +00:00
rm -f *-files.rpm *-tmpfiles.rpm
sort -u $DIST_MANIFEST | awk '
function loadfiles(files) {
system (" t o u c h " files" - f i l e s " );
filelist=files" - f i l e s " ;
while (getline < filelist) {
if (length(pkg[$0]) > 0 && pkg[$0] != files)
print " D u p : " , $0, " p a c k a g e : " , pkg[$0], " a n d " , files;
if (length(pkg[$0]) == 0)
pkg[$0] = files;
}
}
BEGIN {
while (getline < " p a c k a g e s . l i s t " ) loadfiles($0);
while (getline < " c o n f p a t h . l i s t " ) conf[nconf++]=$0;
}
{
if (pkg[$NF]) p=pkg[$NF];
else p=" p c p " ;
f=p" - f i l e s . r p m " ;
}
$1 == " d " {
if (match ($5, " ' $ P C P _ R U N _ D I R ' " )) {
printf (" % % % % g h o s t " ) >> f;
}
2021-04-22 02:30:07 +00:00
if (match ($5, " ' $ P C P _ V A R _ D I R ' / t e s t s u i t e " )) {
$3 = $4 = " p c p q a " ;
}
2021-02-10 05:01:22 +00:00
printf (" % % % % d i r % % % % a t t r ( % s , % s , % s ) % s \n " , $2, $3, $4, $5) >> f
}
$1 == " f " && $6 ~ " e t c / p c p \\ . c o n f " { printf (" % % % % c o n f i g " ) >> f; }
$1 == " f " && $6 ~ " e t c / p c p \\ . e n v " { printf (" % % % % c o n f i g " ) >> f; }
$1 == " f " && $6 ~ " e t c / p c p \\ . s h " { printf (" % % % % c o n f i g " ) >> f; }
$1 == " f " {
for (i=0; i < nconf; i++) {
if ($6 ~ conf[i]) {
printf (" % % % % c o n f i g ( n o r e p l a c e ) " ) >> f;
break;
}
}
2021-04-22 02:30:07 +00:00
if (match ($6, " ' $ P C P _ V A R _ D I R ' / t e s t s u i t e " )) {
$3 = $4 = " p c p q a " ;
}
2021-02-10 05:01:22 +00:00
if (match ($6, " ' $ P C P _ M A N _ D I R ' " ) || match ($6, " ' $ P C P _ D O C _ D I R ' " )) {
printf (" % % % % d o c " ) >> f;
}
printf (" % % % % a t t r ( % s , % s , % s ) % s \n " , $2, $3, $4, $6) >> f
}
$1 == " l " {
%if !%{disable_systemd}
if (match ($3, " ' $ P C P _ V A R _ D I R ' " )) {
print $3 >> p" - t m p f i l e s " ;
if (length(tmpfiles[p]) == 0) {
printf (" ' $ P C P _ S Y S T E M D T M P F I L E S _ D I R ' / % s . c o n f \n " , p) >> f;
tmpfiles[p] = p;
}
}
%endif
print $3 >> f;
}'
2020-08-08 04:09:28 +00:00
%if !%{disable_systemd}
2021-02-10 05:01:22 +00:00
mkdir -p $DIST_ROOT/$PCP_SYSTEMDTMPFILES_DIR
sort -u $DIST_TMPFILES | awk '
function loadtmpfiles(files) {
system (" t o u c h " files" - t m p f i l e s " );
filelist=files" - t m p f i l e s " ;
while (getline < filelist) {
if (pkg[$0] && pkg[$0] != files)
print " D u p : " , $0, " p a c k a g e : " , pkg[$0], " a n d " , files;
pkg[$0] = files;
}
}
BEGIN {
while (getline < " p a c k a g e s . l i s t " ) loadtmpfiles($0);
}
{
if (pkg[$2]) p=pkg[$2];
else p=" p c p " ;
f=p" . c o n f " ;
printf (" % s \n " , $0) >> f;
}'
2021-02-10 22:09:17 +00:00
%if %{disable_mssql}
# TODO: integrate better into the PCP build (via autoconf)
# so that this and other mssql artifacts are not generated.
rm -f pcp-pmda-mssql.conf
%endif
2021-02-10 05:01:22 +00:00
for tmpfile in *.conf ; \
do \
mv $tmpfile $DIST_ROOT/$PCP_SYSTEMDTMPFILES_DIR/$tmpfile; \
2020-08-08 04:09:28 +00:00
done
2021-02-10 05:01:22 +00:00
%endif
2011-02-02 02:51:56 +00:00
2012-08-28 10:54:33 +00:00
%pre testsuite
2022-10-27 04:07:59 +00:00
%if !%{disable_selinux}
%selinux_relabel_pre -s targeted
%endif
2022-08-31 05:36:47 +00:00
%if 0%{?fedora} >= 32 || 0%{?rhel} >= 9
2022-11-11 03:11:39 +00:00
echo u pcpqa - \" P C P Q u a l i t y A s s u r a n c e \" %{_testsdir} / b i n / b a s h | \
systemd-sysusers --replace=/usr/lib/sysusers.d/pcp-testsuite.conf -
2022-08-31 05:36:47 +00:00
%else
2012-08-28 10:54:33 +00:00
getent group pcpqa >/dev/null || groupadd -r pcpqa
getent passwd pcpqa >/dev/null || \
2014-02-20 02:36:48 +00:00
useradd -c " P C P Q u a l i t y A s s u r a n c e " -g pcpqa -d %{_testsdir} -M -r -s /bin/bash pcpqa 2>/dev/null
2022-08-31 05:36:47 +00:00
%endif
test -d %{_testsdir} || mkdir -p -m 755 %{_testsdir}
2014-02-20 02:36:48 +00:00
chown -R pcpqa:pcpqa %{_testsdir} 2>/dev/null
2012-08-28 10:54:33 +00:00
exit 0
2012-11-19 04:29:37 +00:00
%post testsuite
2022-10-27 04:07:59 +00:00
%if !%{disable_selinux}
PCP_SELINUX_DIR=%{_selinuxdir}
semodule -r pcpqa >/dev/null 2>&1 || true
%selinux_modules_install -s targeted " $ P C P _ S E L I N U X _ D I R / p c p - t e s t s u i t e . p p . b z 2 "
%selinux_relabel_post -s targeted
%endif
2012-11-19 04:29:37 +00:00
chown -R pcpqa:pcpqa %{_testsdir} 2>/dev/null
2018-11-16 07:45:57 +00:00
%if 0%{?rhel}
%if !%{disable_systemd}
2024-02-11 15:13:52 +00:00
systemctl restart pcp-reboot-init pmcd pmlogger >/dev/null 2>&1
systemctl enable pcp-reboot-init pmcd pmlogger >/dev/null 2>&1
2018-11-16 07:45:57 +00:00
%else
/sbin/chkconfig --add pmcd >/dev/null 2>&1
/sbin/chkconfig --add pmlogger >/dev/null 2>&1
/sbin/service pmcd condrestart
/sbin/service pmlogger condrestart
%endif
%endif
2012-11-19 04:29:37 +00:00
exit 0
2022-10-27 04:07:59 +00:00
%if !%{disable_selinux}
%postun testsuite
if [ $1 -eq 0 ]; then
%selinux_modules_uninstall -s targeted pcp-testsuite
%selinux_relabel_post -s targeted
fi
%endif
2012-11-19 04:29:37 +00:00
%pre
2022-08-31 05:36:47 +00:00
%if 0%{?fedora} >= 32 || 0%{?rhel} >= 9
2022-11-11 03:11:39 +00:00
echo u pcp - \" P e r f o r m a n c e C o - P i l o t \" %{_localstatedir} / l i b / p c p | \
systemd-sysusers --replace=/usr/lib/sysusers.d/pcp.conf -
2022-08-31 05:36:47 +00:00
%else
2012-11-19 04:29:37 +00:00
getent group pcp >/dev/null || groupadd -r pcp
getent passwd pcp >/dev/null || \
useradd -c " P e r f o r m a n c e C o - P i l o t " -g pcp -d %{_localstatedir} /lib/pcp -M -r -s /sbin/nologin pcp
2022-08-31 05:36:47 +00:00
%endif
2012-11-19 04:29:37 +00:00
exit 0
2016-03-18 20:04:46 +00:00
%if !%{disable_systemd}
%preun pmda-systemd
%{pmda_remove " $ 1 " " s y s t e m d " }
2019-12-11 09:05:37 +00:00
%endif
2016-03-18 20:04:46 +00:00
%if !%{disable_infiniband}
%preun pmda-infiniband
%{pmda_remove " $ 1 " " i n f i n i b a n d " }
2019-12-11 09:05:37 +00:00
%endif
2016-03-18 20:04:46 +00:00
%if !%{disable_perfevent}
%preun pmda-perfevent
%{pmda_remove " $ 1 " " p e r f e v e n t " }
2019-12-11 09:05:37 +00:00
%endif
2016-03-18 20:04:46 +00:00
2018-11-16 07:45:57 +00:00
%preun pmda-podman
%{pmda_remove " $ 1 " " p o d m a n " }
2019-10-19 13:09:24 +00:00
%if !%{disable_statsd}
%preun pmda-statsd
%{pmda_remove " $ 1 " " s t a t s d " }
2019-12-11 09:05:37 +00:00
%endif
2019-10-19 13:09:24 +00:00
2016-03-18 20:04:46 +00:00
%if !%{disable_json}
%preun pmda-json
%{pmda_remove " $ 1 " " j s o n " }
2019-12-11 09:05:37 +00:00
%endif
2016-03-18 20:04:46 +00:00
%preun pmda-nginx
%{pmda_remove " $ 1 " " n g i n x " }
%preun pmda-oracle
%{pmda_remove " $ 1 " " o r a c l e " }
%preun pmda-postgresql
%{pmda_remove " $ 1 " " p o s t g r e s q l " }
%preun pmda-postfix
%{pmda_remove " $ 1 " " p o s t f i x " }
%preun pmda-elasticsearch
%{pmda_remove " $ 1 " " e l a s t i c s e a r c h " }
2020-05-31 02:33:17 +00:00
%preun pmda-openvswitch
%{pmda_remove " $ 1 " " o p e n v s w i t c h " }
2020-04-24 04:54:35 +00:00
%preun pmda-rabbitmq
%{pmda_remove " $ 1 " " r a b b i t m q " }
2024-06-14 21:32:36 +00:00
%preun pmda-uwsgi
%{pmda_remove " $ 1 " " u w s g i " }
2016-06-06 14:07:54 +00:00
%if !%{disable_snmp}
2016-03-18 20:04:46 +00:00
%preun pmda-snmp
%{pmda_remove " $ 1 " " s n m p " }
2016-06-06 14:07:54 +00:00
%endif
2016-03-18 20:04:46 +00:00
%preun pmda-mysql
%{pmda_remove " $ 1 " " m y s q l " }
%preun pmda-activemq
%{pmda_remove " $ 1 " " a c t i v e m q " }
2017-02-17 17:34:51 +00:00
%preun pmda-bind2
%{pmda_remove " $ 1 " " b i n d 2 " }
2016-03-18 20:04:46 +00:00
%preun pmda-bonding
%{pmda_remove " $ 1 " " b o n d i n g " }
%preun pmda-dbping
%{pmda_remove " $ 1 " " d b p i n g " }
2021-07-30 05:25:03 +00:00
%preun pmda-denki
%{pmda_remove " $ 1 " " d e n k i " }
2017-02-17 17:34:51 +00:00
%preun pmda-docker
%{pmda_remove " $ 1 " " d o c k e r " }
2016-03-18 20:04:46 +00:00
%preun pmda-ds389
%{pmda_remove " $ 1 " " d s 3 8 9 " }
%preun pmda-ds389log
%{pmda_remove " $ 1 " " d s 3 8 9 l o g " }
%preun pmda-gpfs
%{pmda_remove " $ 1 " " g p f s " }
%preun pmda-gpsd
%{pmda_remove " $ 1 " " g p s d " }
2017-02-17 17:34:51 +00:00
%preun pmda-lio
%{pmda_remove " $ 1 " " l i o " }
2019-10-19 13:09:24 +00:00
%preun pmda-openmetrics
%{pmda_remove " $ 1 " " o p e n m e t r i c s " }
2017-06-30 01:26:52 +00:00
2016-03-18 20:04:46 +00:00
%preun pmda-lustre
%{pmda_remove " $ 1 " " l u s t r e " }
%preun pmda-lustrecomm
%{pmda_remove " $ 1 " " l u s t r e c o m m " }
%preun pmda-memcache
%{pmda_remove " $ 1 " " m e m c a c h e " }
%preun pmda-named
%{pmda_remove " $ 1 " " n a m e d " }
%preun pmda-netfilter
%{pmda_remove " $ 1 " " n e t f i l t e r " }
%preun pmda-news
%{pmda_remove " $ 1 " " n e w s " }
%preun pmda-nfsclient
%{pmda_remove " $ 1 " " n f s c l i e n t " }
2017-04-02 04:14:31 +00:00
%if !%{disable_nutcracker}
2017-02-17 17:34:51 +00:00
%preun pmda-nutcracker
%{pmda_remove " $ 1 " " n u t c r a c k e r " }
2017-04-02 04:14:31 +00:00
%endif
2017-02-17 17:34:51 +00:00
2016-03-18 20:04:46 +00:00
%preun pmda-pdns
%{pmda_remove " $ 1 " " p d n s " }
%preun pmda-rsyslog
%{pmda_remove " $ 1 " " r s y s l o g " }
2017-02-17 17:34:51 +00:00
%preun pmda-redis
%{pmda_remove " $ 1 " " r e d i s " }
2016-03-18 20:04:46 +00:00
%preun pmda-samba
%{pmda_remove " $ 1 " " s a m b a " }
%preun pmda-zimbra
%{pmda_remove " $ 1 " " z i m b r a " }
%preun pmda-dm
%{pmda_remove " $ 1 " " d m " }
2018-02-16 03:29:50 +00:00
%if !%{disable_bcc}
%preun pmda-bcc
%{pmda_remove " $ 1 " " b c c " }
%endif
2021-09-15 00:07:03 +00:00
%if !%{disable_bpf}
%preun pmda-bpf
%{pmda_remove " $ 1 " " b p f " }
%endif
2019-10-19 13:09:24 +00:00
%if !%{disable_bpftrace}
%preun pmda-bpftrace
%{pmda_remove " $ 1 " " b p f t r a c e " }
%endif
2016-03-18 20:04:46 +00:00
%if !%{disable_python2} || !%{disable_python3}
%preun pmda-gluster
%{pmda_remove " $ 1 " " g l u s t e r " }
%preun pmda-zswap
%{pmda_remove " $ 1 " " z s w a p " }
%preun pmda-unbound
%{pmda_remove " $ 1 " " u n b o u n d " }
%preun pmda-mic
%{pmda_remove " $ 1 " " m i c " }
2016-09-27 11:46:41 +00:00
2017-08-16 06:17:29 +00:00
%preun pmda-haproxy
%{pmda_remove " $ 1 " " h a p r o x y " }
2016-09-27 11:46:41 +00:00
%preun pmda-libvirt
%{pmda_remove " $ 1 " " l i b v i r t " }
2018-11-16 07:45:57 +00:00
%preun pmda-lmsensors
%{pmda_remove " $ 1 " " l m s e n s o r s " }
2022-10-27 04:07:59 +00:00
%if !%{disable_mongodb}
2021-11-10 02:29:02 +00:00
%preun pmda-mongodb
%{pmda_remove " $ 1 " " m o n g o d b " }
2022-10-27 04:07:59 +00:00
%endif
2021-11-10 02:29:02 +00:00
2020-02-27 10:54:04 +00:00
%if !%{disable_mssql}
2019-10-19 13:09:24 +00:00
%preun pmda-mssql
%{pmda_remove " $ 1 " " m s s q l " }
2020-02-27 10:54:04 +00:00
%endif
2019-10-19 13:09:24 +00:00
%preun pmda-netcheck
%{pmda_remove " $ 1 " " n e t c h e c k " }
2019-12-11 09:05:37 +00:00
%endif
2016-03-18 20:04:46 +00:00
%preun pmda-apache
%{pmda_remove " $ 1 " " a p a c h e " }
%preun pmda-bash
%{pmda_remove " $ 1 " " b a s h " }
%preun pmda-cifs
%{pmda_remove " $ 1 " " c i f s " }
%preun pmda-cisco
%{pmda_remove " $ 1 " " c i s c o " }
2023-11-17 05:07:51 +00:00
%preun pmda-farm
%{pmda_remove " $ 1 " " f a r m " }
2016-03-18 20:04:46 +00:00
%preun pmda-gfs2
%{pmda_remove " $ 1 " " g f s 2 " }
2023-11-17 05:07:51 +00:00
%preun pmda-hacluster
%{pmda_remove " $ 1 " " h a c l u s t e r " }
2016-03-18 20:04:46 +00:00
%preun pmda-logger
%{pmda_remove " $ 1 " " l o g g e r " }
%preun pmda-mailq
%{pmda_remove " $ 1 " " m a i l q " }
%preun pmda-mounts
%{pmda_remove " $ 1 " " m o u n t s " }
%preun pmda-nvidia-gpu
%{pmda_remove " $ 1 " " n v i d i a " }
2023-11-17 05:07:51 +00:00
%if !%{disable_resctrl}
%preun pmda-resctrl
%{pmda_remove " $ 1 " " r e s c t r l " }
%endif
2016-03-18 20:04:46 +00:00
%preun pmda-roomtemp
%{pmda_remove " $ 1 " " r o o m t e m p " }
%preun pmda-sendmail
%{pmda_remove " $ 1 " " s e n d m a i l " }
%preun pmda-shping
%{pmda_remove " $ 1 " " s h p i n g " }
2018-05-11 02:30:01 +00:00
%preun pmda-smart
%{pmda_remove " $ 1 " " s m a r t " }
2021-02-10 05:01:22 +00:00
%preun pmda-sockets
%{pmda_remove " $ 1 " " s o c k e t s " }
2016-03-18 20:04:46 +00:00
%preun pmda-summary
%{pmda_remove " $ 1 " " s u m m a r y " }
%preun pmda-trace
%{pmda_remove " $ 1 " " t r a c e " }
%preun pmda-weblog
%{pmda_remove " $ 1 " " w e b l o g " }
2024-08-01 01:27:23 +00:00
%if !%{disable_amdgpu}
%preun pmda-amdgpu
%{pmda_remove " $ 1 " " a m d g p u " }
%endif
2010-07-20 00:32:23 +00:00
%preun
if [ " $ 1 " -eq 0 ]
then
2014-01-15 00:01:11 +00:00
# stop daemons before erasing the package
2014-09-05 04:40:42 +00:00
%if !%{disable_systemd}
2024-02-11 15:13:52 +00:00
%systemd_preun pmlogger_check.timer pmlogger_daily.timer pmlogger_farm_check.timer pmlogger_farm_check.service pmlogger_farm.service pmlogger.service pmie_check.timer pmie_daily.timer pmie_farm_check.timer pmie_farm_check.service pmie_farm.service pmie.service pmproxy.service pmfind.service pmcd.service pcp-reboot-init.service
2022-02-02 03:03:13 +00:00
2024-02-11 15:13:52 +00:00
systemctl stop pmlogger.service pmie.service pmproxy.service pmfind.service pmcd.service pcp-reboot-init.service >/dev/null 2>&1
2014-09-05 04:40:42 +00:00
%else
2020-08-08 04:09:28 +00:00
/sbin/service pmlogger stop >/dev/null 2>&1
/sbin/service pmie stop >/dev/null 2>&1
/sbin/service pmproxy stop >/dev/null 2>&1
/sbin/service pmcd stop >/dev/null 2>&1
/sbin/chkconfig --del pcp >/dev/null 2>&1
/sbin/chkconfig --del pmcd >/dev/null 2>&1
/sbin/chkconfig --del pmlogger >/dev/null 2>&1
/sbin/chkconfig --del pmie >/dev/null 2>&1
/sbin/chkconfig --del pmproxy >/dev/null 2>&1
2014-09-05 04:40:42 +00:00
%endif
2014-01-15 00:01:11 +00:00
# cleanup namespace state/flag, may still exist
PCP_PMNS_DIR=%{_pmnsdir}
rm -f " $ P C P _ P M N S _ D I R / . N e e d R e b u i l d " >/dev/null 2>&1
2010-07-20 00:32:23 +00:00
fi
2017-05-17 19:55:06 +00:00
%post zeroconf
PCP_PMDAS_DIR=%{_pmdasdir}
PCP_SYSCONFIG_DIR=%{_sysconfdir} /sysconfig
2019-02-27 03:01:31 +00:00
PCP_PMCDCONF_PATH=%{_confdir} /pmcd/pmcd.conf
2022-08-31 05:36:47 +00:00
PCP_PMIECONFIG_DIR=%{_ieconfigdir}
2019-02-27 03:01:31 +00:00
# auto-install important PMDAs for RH Support (if not present already)
2020-05-31 02:33:17 +00:00
for PMDA in dm nfsclient openmetrics ; do
2019-02-27 03:01:31 +00:00
if ! grep -q " $ P M D A / p m d a $ P M D A " " $ P C P _ P M C D C O N F _ P A T H "
then
2020-05-31 02:33:17 +00:00
%{install_file " $ P C P _ P M D A S _ D I R / $ P M D A " .NeedInstall}
2019-02-27 03:01:31 +00:00
fi
2017-05-17 19:55:06 +00:00
done
# auto-enable these usually optional pmie rules
2022-10-27 04:07:59 +00:00
%{run_pmieconf " $ P C P _ P M I E C O N F I G _ D I R " dmthin}
2024-02-11 15:13:52 +00:00
%if 0%{?rhel} <= 9
2017-05-17 19:55:06 +00:00
%if !%{disable_systemd}
2024-02-11 15:13:52 +00:00
systemctl restart pcp-reboot-init pmcd pmlogger pmie >/dev/null 2>&1
systemctl enable pcp-reboot-init pmcd pmlogger pmie >/dev/null 2>&1
2017-05-17 19:55:06 +00:00
%else
/sbin/chkconfig --add pmcd >/dev/null 2>&1
/sbin/chkconfig --add pmlogger >/dev/null 2>&1
/sbin/chkconfig --add pmie >/dev/null 2>&1
/sbin/service pmcd condrestart
/sbin/service pmlogger condrestart
/sbin/service pmie condrestart
%endif
2019-12-11 09:05:37 +00:00
%endif
2017-05-17 19:55:06 +00:00
2010-07-20 00:32:23 +00:00
%post
2013-04-19 07:08:20 +00:00
PCP_PMNS_DIR=%{_pmnsdir}
2020-08-08 04:09:28 +00:00
PCP_LOG_DIR=%{_logsdir}
2020-04-24 04:54:35 +00:00
%{install_file " $ P C P _ P M N S _ D I R " .NeedRebuild}
2020-08-08 04:09:28 +00:00
%{install_file " $ P C P _ L O G _ D I R / p m l o g g e r " .NeedRewrite}
2014-09-05 04:40:42 +00:00
%if !%{disable_systemd}
2021-09-15 00:07:03 +00:00
# clean up any stale symlinks for deprecated pm*-poll services
rm -f %{_sysconfdir} /systemd/system/pm*.requires/pm*-poll.* >/dev/null 2>&1 || true
2021-11-10 02:29:02 +00:00
2017-08-16 06:17:29 +00:00
%systemd_postun_with_restart pmcd.service
%systemd_post pmcd.service
%systemd_postun_with_restart pmlogger.service
%systemd_post pmlogger.service
%systemd_postun_with_restart pmie.service
%systemd_post pmie.service
2022-02-02 03:03:13 +00:00
%systemd_postun_with_restart pmproxy.service
%systemd_post pmproxy.service
%systemd_post pmfind.service
2014-09-05 04:40:42 +00:00
%else
/sbin/chkconfig --add pmcd >/dev/null 2>&1
/sbin/service pmcd condrestart
/sbin/chkconfig --add pmlogger >/dev/null 2>&1
/sbin/service pmlogger condrestart
/sbin/chkconfig --add pmie >/dev/null 2>&1
/sbin/service pmie condrestart
/sbin/chkconfig --add pmproxy >/dev/null 2>&1
/sbin/service pmproxy condrestart
%endif
2020-04-24 04:54:35 +00:00
%{rebuild_pmns " $ P C P _ P M N S _ D I R " .NeedRebuild}
2015-06-15 12:03:21 +00:00
2019-08-16 00:54:35 +00:00
%if 0%{?fedora} >= 26 || 0%{?rhel} > 7
2019-03-07 03:42:04 +00:00
%ldconfig_scriptlets libs
2019-08-16 00:54:35 +00:00
%else
%post libs -p /sbin/ldconfig
%postun libs -p /sbin/ldconfig
%endif
2010-07-20 00:32:23 +00:00
2017-02-17 17:34:51 +00:00
%if !%{disable_selinux}
2022-10-27 04:07:59 +00:00
%pre selinux
%selinux_relabel_pre -s targeted
2017-04-02 04:14:31 +00:00
2022-10-27 04:07:59 +00:00
%post selinux
PCP_SELINUX_DIR=%{_selinuxdir}
semodule -r pcpupstream-container >/dev/null 2>&1 || true
semodule -r pcpupstream-docker >/dev/null 2>&1 || true
semodule -r pcpupstream >/dev/null 2>&1 || true
%selinux_modules_install -s targeted " $ P C P _ S E L I N U X _ D I R / p c p . p p . b z 2 "
%selinux_relabel_post -s targeted
%postun selinux
if [ $1 -eq 0 ]; then
%selinux_modules_uninstall -s targeted pcp
%selinux_relabel_post -s targeted
fi
2017-02-17 17:34:51 +00:00
%endif
2020-08-08 04:09:28 +00:00
2021-02-10 05:01:22 +00:00
%files -f pcp-files.rpm
2016-06-17 07:04:01 +00:00
%doc CHANGELOG COPYING INSTALL.md README.md VERSION.pcp pcp.lsm
2021-02-10 05:01:22 +00:00
%ghost %dir %attr (0775,pcp,pcp) %{_localstatedir} /run/pcp
2010-07-20 00:32:23 +00:00
2021-02-10 05:01:22 +00:00
%files conf -f pcp-conf-files.rpm
2014-10-31 05:34:18 +00:00
2021-02-10 05:01:22 +00:00
%files libs -f pcp-libs-files.rpm
2010-07-20 00:32:23 +00:00
2021-02-10 05:01:22 +00:00
%files libs-devel -f pcp-libs-devel-files.rpm
2012-08-28 10:54:33 +00:00
2021-02-10 05:01:22 +00:00
%files devel -f pcp-devel-files.rpm
2011-02-02 02:51:56 +00:00
2021-02-10 05:01:22 +00:00
%files doc -f pcp-doc-files.rpm
%if !%{disable_selinux}
%files selinux -f pcp-selinux-files.rpm
2022-10-27 04:07:59 +00:00
%ghost %verify (not md5 size mode mtime) %{_sharedstatedir} /selinux/targeted/active/modules/200/pcp
2021-02-10 05:01:22 +00:00
%endif
2011-02-02 02:51:56 +00:00
2021-02-10 05:01:22 +00:00
%if !%{disable_qt}
%files gui -f pcp-gui-files.rpm
%endif
2011-02-02 02:51:56 +00:00
2021-02-10 05:01:22 +00:00
%files testsuite -f pcp-testsuite-files.rpm
2015-03-02 20:39:32 +00:00
2021-02-10 05:01:22 +00:00
%if !%{disable_infiniband}
%files pmda-infiniband -f pcp-pmda-infiniband-files.rpm
%endif
2013-06-19 03:43:45 +00:00
2021-02-10 05:01:22 +00:00
%files pmda-podman -f pcp-pmda-podman-files.rpm
2018-11-16 07:45:57 +00:00
2019-10-19 13:09:24 +00:00
%if !%{disable_statsd}
2021-02-10 05:01:22 +00:00
%files pmda-statsd -f pcp-pmda-statsd-files.rpm
2019-10-19 13:09:24 +00:00
%endif
2014-12-01 04:18:53 +00:00
%if !%{disable_perfevent}
2021-02-10 05:01:22 +00:00
%files pmda-perfevent -f pcp-pmda-perfevent-files.rpm
2014-12-01 04:18:53 +00:00
%endif
2021-02-10 05:01:22 +00:00
%if !%{disable_perl}
%files pmda-activemq -f pcp-pmda-activemq-files.rpm
2013-09-16 07:34:17 +00:00
%endif
2013-09-09 11:52:51 +00:00
2021-02-10 05:01:22 +00:00
%if !%{disable_perl}
%files pmda-bind2 -f pcp-pmda-bind2-files.rpm
%endif
2015-06-01 13:08:52 +00:00
2021-02-10 05:01:22 +00:00
%if !%{disable_nutcracker}
%files pmda-nutcracker -f pcp-pmda-nutcracker-files.rpm
%endif
2015-06-01 13:08:52 +00:00
2021-02-10 05:01:22 +00:00
%if !%{disable_python2} || !%{disable_python3}
%files pmda-elasticsearch -f pcp-pmda-elasticsearch-files.rpm
%endif
2015-06-01 13:08:52 +00:00
2021-02-10 05:01:22 +00:00
%if !%{disable_perl}
%files pmda-redis -f pcp-pmda-redis-files.rpm
2015-06-01 13:08:52 +00:00
2021-02-10 05:01:22 +00:00
%files pmda-bonding -f pcp-pmda-bonding-files.rpm
2020-05-31 02:33:17 +00:00
2021-02-10 05:01:22 +00:00
%files pmda-dbping -f pcp-pmda-dbping-files.rpm
2020-04-24 04:54:35 +00:00
2021-02-10 05:01:22 +00:00
%files pmda-ds389log -f pcp-pmda-ds389log-files.rpm
2015-06-01 13:08:52 +00:00
2021-02-10 05:01:22 +00:00
%files pmda-ds389 -f pcp-pmda-ds389-files.rpm
2015-06-01 13:08:52 +00:00
2021-02-10 05:01:22 +00:00
%files pmda-gpfs -f pcp-pmda-gpfs-files.rpm
2017-02-17 17:34:51 +00:00
2021-02-10 05:01:22 +00:00
%files pmda-gpsd -f pcp-pmda-gpsd-files.rpm
2017-02-17 17:34:51 +00:00
2021-02-10 05:01:22 +00:00
%files pmda-lustre -f pcp-pmda-lustre-files.rpm
2017-06-30 01:26:52 +00:00
2021-02-10 05:01:22 +00:00
%files pmda-memcache -f pcp-pmda-memcache-files.rpm
2015-06-01 13:08:52 +00:00
2021-02-10 05:01:22 +00:00
%files pmda-named -f pcp-pmda-named-files.rpm
2015-06-01 13:08:52 +00:00
2021-02-10 05:01:22 +00:00
%files pmda-netfilter -f pcp-pmda-netfilter-files.rpm
2015-06-01 13:08:52 +00:00
2021-02-10 05:01:22 +00:00
%files pmda-news -f pcp-pmda-news-files.rpm
2015-06-01 13:08:52 +00:00
2021-02-10 05:01:22 +00:00
%files pmda-pdns -f pcp-pmda-pdns-files.rpm
2015-06-01 13:08:52 +00:00
2021-02-10 05:01:22 +00:00
%files pmda-rsyslog -f pcp-pmda-rsyslog-files.rpm
2015-06-01 13:08:52 +00:00
2021-02-10 05:01:22 +00:00
%files pmda-samba -f pcp-pmda-samba-files.rpm
2015-06-01 13:08:52 +00:00
2021-02-10 05:01:22 +00:00
%files pmda-slurm -f pcp-pmda-slurm-files.rpm
2015-06-01 13:08:52 +00:00
2021-02-10 05:01:22 +00:00
%files pmda-zimbra -f pcp-pmda-zimbra-files.rpm
2017-04-02 04:14:31 +00:00
%endif
2017-02-17 17:34:51 +00:00
2021-07-30 05:25:03 +00:00
%files pmda-denki -f pcp-pmda-denki-files.rpm
2021-02-10 05:01:22 +00:00
%files pmda-docker -f pcp-pmda-docker-files.rpm
2016-03-18 20:04:46 +00:00
2021-02-10 05:01:22 +00:00
%files pmda-lustrecomm -f pcp-pmda-lustrecomm-files.rpm
2015-06-01 13:08:52 +00:00
2021-02-10 05:01:22 +00:00
%if !%{disable_perl}
%files pmda-mysql -f pcp-pmda-mysql-files.rpm
%endif
2015-06-01 13:08:52 +00:00
2021-02-10 05:01:22 +00:00
%files pmda-nginx -f pcp-pmda-nginx-files.rpm
2015-06-01 13:08:52 +00:00
2021-02-10 05:01:22 +00:00
%if !%{disable_perl}
%files pmda-postfix -f pcp-pmda-postfix-files.rpm
2016-06-06 14:07:54 +00:00
%endif
2015-09-21 13:37:17 +00:00
2021-02-10 05:01:22 +00:00
%if !%{disable_python2} || !%{disable_python3}
%files pmda-postgresql -f pcp-pmda-postgresql-files.rpm
%endif
2015-06-01 13:08:52 +00:00
2021-02-10 05:01:22 +00:00
%if !%{disable_perl}
%files pmda-oracle -f pcp-pmda-oracle-files.rpm
%endif
2015-06-01 13:08:52 +00:00
2021-02-10 05:01:22 +00:00
%if !%{disable_perl}
%files pmda-snmp -f pcp-pmda-snmp-files.rpm
%endif
2015-06-01 13:08:52 +00:00
2021-02-10 05:01:22 +00:00
%files pmda-dm -f pcp-pmda-dm-files.rpm
2015-06-01 13:08:52 +00:00
2018-02-16 03:29:50 +00:00
%if !%{disable_bcc}
2021-02-10 05:01:22 +00:00
%files pmda-bcc -f pcp-pmda-bcc-files.rpm
2018-02-16 03:29:50 +00:00
%endif
2021-09-15 00:07:03 +00:00
%if !%{disable_bpf}
%files pmda-bpf -f pcp-pmda-bpf-files.rpm
%endif
2019-10-19 13:09:24 +00:00
%if !%{disable_bpftrace}
2021-02-10 05:01:22 +00:00
%files pmda-bpftrace -f pcp-pmda-bpftrace-files.rpm
2019-10-19 13:09:24 +00:00
%endif
2015-06-01 13:08:52 +00:00
%if !%{disable_python2} || !%{disable_python3}
2023-11-17 05:07:51 +00:00
%files geolocate -f pcp-geolocate-files.rpm
2021-02-10 05:01:22 +00:00
%files pmda-gluster -f pcp-pmda-gluster-files.rpm
2015-06-01 13:08:52 +00:00
2021-02-10 05:01:22 +00:00
%files pmda-zswap -f pcp-pmda-zswap-files.rpm
2015-06-01 13:08:52 +00:00
2021-02-10 05:01:22 +00:00
%files pmda-unbound -f pcp-pmda-unbound-files.rpm
2015-06-15 12:03:21 +00:00
2021-02-10 05:01:22 +00:00
%files pmda-mic -f pcp-pmda-mic-files.rpm
2015-11-30 14:23:34 +00:00
2021-02-10 05:01:22 +00:00
%files pmda-haproxy -f pcp-pmda-haproxy-files.rpm
2017-08-16 06:17:29 +00:00
2021-02-10 05:01:22 +00:00
%files pmda-lmsensors -f pcp-pmda-lmsensors-files.rpm
2016-09-27 11:46:41 +00:00
2022-10-27 04:07:59 +00:00
%if !%{disable_mongodb}
2021-11-10 02:29:02 +00:00
%files pmda-mongodb -f pcp-pmda-mongodb-files.rpm
2022-10-27 04:07:59 +00:00
%endif
2021-11-10 02:29:02 +00:00
2021-02-10 05:01:22 +00:00
%if !%{disable_mssql}
%files pmda-mssql -f pcp-pmda-mssql-files.rpm
%endif
2017-10-18 21:20:57 +00:00
2021-02-10 05:01:22 +00:00
%files pmda-netcheck -f pcp-pmda-netcheck-files.rpm
2016-07-11 13:41:54 +00:00
2021-02-10 05:01:22 +00:00
%files pmda-nfsclient -f pcp-pmda-nfsclient-files.rpm
2017-10-18 21:20:57 +00:00
2021-02-10 05:01:22 +00:00
%files pmda-openvswitch -f pcp-pmda-openvswitch-files.rpm
2017-10-18 21:20:57 +00:00
2021-02-10 05:01:22 +00:00
%files pmda-rabbitmq -f pcp-pmda-rabbitmq-files.rpm
2018-08-03 21:05:44 +00:00
2024-06-14 21:32:36 +00:00
%files pmda-uwsgi -f pcp-pmda-uwsgi-files.rpm
2021-02-10 05:01:22 +00:00
%files export-pcp2graphite -f pcp-export-pcp2graphite-files.rpm
2017-10-18 21:20:57 +00:00
2021-02-10 05:01:22 +00:00
%files export-pcp2json -f pcp-export-pcp2json-files.rpm
2017-10-18 21:20:57 +00:00
2024-06-14 21:32:36 +00:00
%files export-pcp2openmetrics -f pcp-export-pcp2openmetrics-files.rpm
2021-02-10 05:01:22 +00:00
%files export-pcp2spark -f pcp-export-pcp2spark-files.rpm
2018-11-16 07:45:57 +00:00
2021-02-10 05:01:22 +00:00
%files export-pcp2xml -f pcp-export-pcp2xml-files.rpm
2018-11-16 07:45:57 +00:00
2021-02-10 05:01:22 +00:00
%files export-pcp2zabbix -f pcp-export-pcp2zabbix-files.rpm
%endif
2019-10-19 13:09:24 +00:00
2021-02-10 05:01:22 +00:00
%if !%{disable_python2} || !%{disable_python3}
%files export-pcp2elasticsearch -f pcp-export-pcp2elasticsearch-files.rpm
2019-12-11 09:05:37 +00:00
%endif
2015-06-01 13:08:52 +00:00
2021-02-10 05:01:22 +00:00
%if !%{disable_python2} || !%{disable_python3}
%files export-pcp2influxdb -f pcp-export-pcp2influxdb-files.rpm
%endif
2015-11-30 14:23:34 +00:00
2024-02-11 15:13:52 +00:00
%if !%{disable_arrow}
%files export-pcp2arrow -f pcp-export-pcp2arrow-files.rpm
%endif
2021-02-10 05:01:22 +00:00
%if !%{disable_xlsx}
%files export-pcp2xlsx -f pcp-export-pcp2xlsx-files.rpm
2020-02-27 10:54:04 +00:00
%endif
2021-02-10 05:01:22 +00:00
%files export-zabbix-agent -f pcp-export-zabbix-agent-files.rpm
2015-08-04 03:54:00 +00:00
%if !%{disable_json}
2021-02-10 05:01:22 +00:00
%files pmda-json -f pcp-pmda-json-files.rpm
%endif
%if !%{disable_python2} || !%{disable_python3}
%files pmda-libvirt -f pcp-pmda-libvirt-files.rpm
%files pmda-lio -f pcp-pmda-lio-files.rpm
%files pmda-openmetrics -f pcp-pmda-openmetrics-files.rpm
2015-08-04 03:54:00 +00:00
%endif
2024-08-01 01:27:23 +00:00
%if !%{disable_amdgpu}
%files pmda-amdgpu -f pcp-pmda-amdgpu-files.rpm
%endif
2021-02-10 05:01:22 +00:00
%files pmda-apache -f pcp-pmda-apache-files.rpm
2015-06-01 13:08:52 +00:00
2021-02-10 05:01:22 +00:00
%files pmda-bash -f pcp-pmda-bash-files.rpm
2015-06-01 13:08:52 +00:00
2021-02-10 05:01:22 +00:00
%files pmda-cifs -f pcp-pmda-cifs-files.rpm
2015-06-01 13:08:52 +00:00
2021-02-10 05:01:22 +00:00
%files pmda-cisco -f pcp-pmda-cisco-files.rpm
2015-06-01 13:08:52 +00:00
2023-11-17 05:07:51 +00:00
%files pmda-farm -f pcp-pmda-farm-files.rpm
2021-02-10 05:01:22 +00:00
%files pmda-gfs2 -f pcp-pmda-gfs2-files.rpm
2015-06-01 13:08:52 +00:00
2023-11-17 05:07:51 +00:00
%files pmda-hacluster -f pcp-pmda-hacluster-files.rpm
2021-02-10 05:01:22 +00:00
%files pmda-logger -f pcp-pmda-logger-files.rpm
2015-06-15 12:03:21 +00:00
2021-02-10 05:01:22 +00:00
%files pmda-mailq -f pcp-pmda-mailq-files.rpm
2015-06-01 13:08:52 +00:00
2021-02-10 05:01:22 +00:00
%files pmda-mounts -f pcp-pmda-mounts-files.rpm
2015-06-01 13:08:52 +00:00
2021-02-10 05:01:22 +00:00
%files pmda-nvidia-gpu -f pcp-pmda-nvidia-files.rpm
2015-06-01 13:08:52 +00:00
2023-11-17 05:07:51 +00:00
%if !%{disable_resctrl}
%files pmda-resctrl -f pcp-pmda-resctrl-files.rpm
%endif
2021-02-10 05:01:22 +00:00
%files pmda-roomtemp -f pcp-pmda-roomtemp-files.rpm
2015-06-01 13:08:52 +00:00
2021-02-10 05:01:22 +00:00
%files pmda-sendmail -f pcp-pmda-sendmail-files.rpm
2015-06-01 13:08:52 +00:00
2021-02-10 05:01:22 +00:00
%files pmda-shping -f pcp-pmda-shping-files.rpm
2015-06-01 13:08:52 +00:00
2021-02-10 05:01:22 +00:00
%files pmda-smart -f pcp-pmda-smart-files.rpm
2015-06-01 13:08:52 +00:00
2021-02-10 05:01:22 +00:00
%files pmda-sockets -f pcp-pmda-sockets-files.rpm
2018-05-11 02:30:01 +00:00
2021-02-10 05:01:22 +00:00
%files pmda-summary -f pcp-pmda-summary-files.rpm
2015-06-01 13:08:52 +00:00
2015-08-04 03:54:00 +00:00
%if !%{disable_systemd}
2021-02-10 05:01:22 +00:00
%files pmda-systemd -f pcp-pmda-systemd-files.rpm
2015-08-04 03:54:00 +00:00
%endif
2015-06-01 13:08:52 +00:00
2021-02-10 05:01:22 +00:00
%files pmda-trace -f pcp-pmda-trace-files.rpm
%files pmda-weblog -f pcp-pmda-weblog-files.rpm
2015-06-01 13:08:52 +00:00
2021-02-10 05:01:22 +00:00
%if !%{disable_perl}
%files import-sar2pcp -f pcp-import-sar2pcp-files.rpm
2015-06-01 13:08:52 +00:00
2021-02-10 05:01:22 +00:00
%files import-iostat2pcp -f pcp-import-iostat2pcp-files.rpm
#TODO:
2021-02-11 00:20:58 +00:00
#%%files import-sheet2pcp -f pcp-import-sheet2pcp-files.rpm
2021-02-10 05:01:22 +00:00
%files import-mrtg2pcp -f pcp-import-mrtg2pcp-files.rpm
%files import-ganglia2pcp -f pcp-import-ganglia2pcp-files.rpm
%endif
%files import-collectl2pcp -f pcp-import-collectl2pcp-files.rpm
%if !%{disable_perl}
2010-07-20 00:32:23 +00:00
%files -n perl-PCP-PMDA -f perl-pcp-pmda.list
%files -n perl-PCP-MMV -f perl-pcp-mmv.list
2011-02-02 02:51:56 +00:00
%files -n perl-PCP-LogImport -f perl-pcp-logimport.list
2011-12-12 07:58:13 +00:00
%files -n perl-PCP-LogSummary -f perl-pcp-logsummary.list
2021-02-10 05:01:22 +00:00
%endif
2011-12-12 07:58:13 +00:00
2014-12-08 14:06:18 +00:00
%if !%{disable_python2}
2018-01-10 16:43:34 +00:00
%files -n %{__python2}-pcp -f python-pcp.list.rpm
2014-12-08 14:06:18 +00:00
%endif
2012-08-28 10:54:33 +00:00
2014-10-31 05:34:18 +00:00
%if !%{disable_python3}
%files -n python3-pcp -f python3-pcp.list.rpm
%endif
2021-02-10 05:01:22 +00:00
%files system-tools -f pcp-system-tools-files.rpm
2014-05-15 04:44:12 +00:00
2021-02-10 05:01:22 +00:00
%files zeroconf -f pcp-zeroconf-files.rpm
2017-02-17 17:34:51 +00:00
2010-07-20 00:32:23 +00:00
%changelog
2024-08-01 01:27:23 +00:00
* Thu Aug 1 2024 Nathan Scott <nathans@redhat.com> - 6.3.0-1
- Update to latest stable version of PCP (RHEL-43429)
* Wed Apr 10 2024 Nathan Scott <nathans@redhat.com> - 6.2.1-1
- Rebase to latest stable version of PCP (RHEL-30198)
* Wed Mar 20 2024 Nathan Scott <nathans@redhat.com> - 6.2.0-2
- Fix python sub-package year day range issue (RHEL-25543)
* Mon Feb 12 2024 Nathan Scott <nathans@redhat.com> - 6.2.0-1
- Rebase to latest stable version of PCP (RHEL-2317)
* Thu Dec 14 2023 Nathan Scott <nathans@redhat.com> - 6.1.1-4
- Fix pcp-ss(1) handling of UDP packet states (RHEL-17649)
* Wed Nov 29 2023 Nathan Scott <nathans@redhat.com> - 6.1.1-2
- Fix pcp-ss(1) default handling of listen state (RHEL-17335)
- Added pcp package dependency on diffutils for diffstat(1)
* Mon Nov 20 2023 Nathan Scott <nathans@redhat.com> - 6.1.1-1
- Improve pmlogcheck performance with compressed archives (RHEL-3930)
- Fix pcp-ss(1) utility handling of duplicate sources (RHEL-7498)
- Fine-tune PCP python wrapper path resolution (RHEL-7509)
- Rebase to latest stable version of PCP (RHEL-2317)
2024-06-24 16:07:13 +00:00
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 6.2.2-5
- Bump release for June 2024 mass rebuild
2024-06-14 21:32:36 +00:00
* Wed Jun 19 2024 Nathan Scott <nathans@redhat.com> - 6.2.2-4
- Update to latest stable version of PCP (RHEL-43429)
2022-04-05 01:40:51 +00:00
2024-06-14 21:32:36 +00:00
* Wed Apr 10 2024 Nathan Scott <nathans@redhat.com> - 6.2.1-1
- Rebase to latest stable version of PCP (RHEL-30198)
2022-02-03 04:01:16 +00:00
2024-06-14 21:32:36 +00:00
* Wed Mar 20 2024 Nathan Scott <nathans@redhat.com> - 6.2.0-2
- Fix python sub-package year day range issue (RHEL-25543)
2022-02-02 03:03:13 +00:00
2024-06-14 21:32:36 +00:00
* Mon Feb 12 2024 Nathan Scott <nathans@redhat.com> - 6.2.0-1
- Rebase to latest stable version of PCP (RHEL-2317)
2010-07-20 00:32:23 +00:00
2024-06-14 21:32:36 +00:00
* Thu Dec 14 2023 Nathan Scott <nathans@redhat.com> - 6.1.1-4
- Fix pcp-ss(1) handling of UDP packet states (RHEL-17649)
2010-07-20 00:32:23 +00:00
2024-06-14 21:32:36 +00:00
* Wed Nov 29 2023 Nathan Scott <nathans@redhat.com> - 6.1.1-2
- Fix pcp-ss(1) default handling of listen state (RHEL-17335)
- Added pcp package dependency on diffutils for diffstat(1)
2010-07-20 00:32:23 +00:00
2024-06-14 21:32:36 +00:00
* Mon Nov 20 2023 Nathan Scott <nathans@redhat.com> - 6.1.1-1
- Improve pmlogcheck performance with compressed archives (RHEL-3930)
- Fix pcp-ss(1) utility handling of duplicate sources (RHEL-7498)
- Fine-tune PCP python wrapper path resolution (RHEL-7509)
- Rebase to latest stable version of PCP (RHEL-2317)