39 lines
957 B
Plaintext
39 lines
957 B
Plaintext
%define _tag RE2_&
|
|
|
|
Name: nagios-plugins-pgactivity
|
|
Version: 2.7
|
|
Release: 1%{dist}
|
|
Summary: PostgreSQL monitoring plugin for Nagios
|
|
License: PostgreSQL
|
|
Group: Applications/Databases
|
|
Url: https://github.com/OPMDG/check_pgactivity
|
|
Source0: https://github.com/OPMDG/check_pgactivity/archive/%{_tag}.tar.gz
|
|
BuildArch: noarch
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
Requires: postgresql
|
|
Requires: nagios-plugins
|
|
Provides: check_pgactivity = %{version}
|
|
|
|
|
|
%description
|
|
check_pgactivity is a monitoring plugin of PostgreSQL for Nagios. It provides
|
|
many checks and allow the gathering of many performance counters.
|
|
check_pgactivity is part of Open PostgreSQL Monitoring.
|
|
|
|
|
|
%prep
|
|
%setup -n check_pgactivity-%{_tag}
|
|
|
|
|
|
%install
|
|
install -D -p -m 0755 check_pgactivity %{buildroot}/%{_libdir}/nagios/plugins/check_pgactivity
|
|
|
|
|
|
%files
|
|
%defattr(-,root,root,0755)
|
|
%{_libdir}/nagios/plugins/check_pgactivity
|
|
%doc README LICENSE
|
|
|
|
|
|
%changelog
|