Accepting request 689480 from home:mnhauke:monitoring

- Update to version 2.24.0
  * Support new_version_pg for PG10
  * Option to skip CYCLE sequences in action sequence
  * Output per-database perfdata for pgbouncer pool checks
  * German message translations
  * Consider only client backends in query_time and friends
- Use github Source URL

OBS-URL: https://build.opensuse.org/request/show/689480
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/check_postgres?expand=0&rev=18
This commit is contained in:
Lars Vogdt 2019-04-03 19:26:06 +00:00 committed by Git OBS Bridge
parent ca30ddca57
commit dae45ac071
4 changed files with 22 additions and 14 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:93cdbe92bb451525219b131a6810d9da0525000f6795160f70751b105c858615
size 200985

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:db3da2854d5b3dbb381ae2165611c1864ec97f4eb2c0d73e878e11d9b59c6d50
size 207201

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Thu Mar 28 20:54:59 UTC 2019 - Martin Hauke <mardnh@gmx.de>
- Update to version 2.24.0
* Support new_version_pg for PG10
* Option to skip CYCLE sequences in action sequence
* Output per-database perfdata for pgbouncer pool checks
* German message translations
* Consider only client backends in query_time and friends
- Use github Source URL
-------------------------------------------------------------------
Wed Mar 21 10:43:56 UTC 2018 - lars@linux-schulserver.de

View File

@ -1,7 +1,7 @@
#
# spec file for package check_postgres
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,19 +12,18 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: check_postgres
Version: 2.23.0
Version: 2.24.0
Release: 0
Summary: Postgres monitoring script
License: GPL-2.0+
License: GPL-2.0-or-later
Group: System/Monitoring
Url: http://bucardo.org/wiki/Check_postgres
# https://github.com/bucardo/check_postgres/releases
Source0: %{name}-%{version}.tar.gz
URL: http://bucardo.org/wiki/Check_postgres
Source: https://github.com/bucardo/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source1: nagios-commands-postgres.cfg
Source2: create_manpage.pl
BuildRequires: nagios-rpm-macros
@ -61,8 +60,8 @@ and outputs the results in one of three formats: Nagios, MRTG, or simple.
%package -n monitoring-plugins-postgres
Summary: Postgres monitoring script using check_postgres.pl
Group: System/Monitoring
# FIXME: use proper Requires(pre/post/preun/...)
Group: System/Monitoring
PreReq: %{name} = %{version}
Provides: nagios-plugins-postgres = %{version}-%{release}
Obsoletes: nagios-plugins-postgres < %{version}-%{release}
@ -103,17 +102,15 @@ mkdir -p %{buildroot}/%{_mandir}/man1
perl %{SOURCE2} "%{version}" "1" check_postgres.pl > %{buildroot}/%{_mandir}/man1/check_postgres.pl.1
%files -f %{name}.files
%defattr(-,root,root)
%doc MANIFEST README* TODO nagios-commands-postgres.cfg check_postgres.pl.html
%if 0%{?suse_version} > 1315
%license LICENSE
%else
%doc LICENSE
%endif
%{_mandir}/man1/check_postgres.pl.1*
%{_mandir}/man1/check_postgres.pl.1%{?ext_man}
%files -n monitoring-plugins-postgres
%defattr(-,root,root)
# avoid build dependecy of nagios - own the dirs
%dir %{nagios_libdir}
%dir %{nagios_plugindir}