- Renamed package to monitoring-plugins-sar-perf
- check_iostat: use 5 seconds instead of 2 to get more useful data - check_iostat: add warning and critical levels for iowait - check_iostat: actually check current io stats, not since boot - more additions to check_iostat: can use device-mapper name - rewrite check_iostat in perl, also output iowait value - add requires sysstat - check_iostat: call iostat with "-k" to really display kb instead of blocks as unit - added check_iostat - also print the used arguments as output to STDOUT, so the user knows what is mesured (monitoring-plugins-sar-perf-stdout.patch) - added monitoring-plugins-sar-perf-output.patch : do not print DEV name for disk in performance output - initial version (git commit 4878d0cc66e928bd1075) defined as 0.1 OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins-sar-perf?expand=0&rev=2
This commit is contained in:
parent
af43822f8a
commit
84ad4ad9cb
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 30 19:20:45 UTC 2014 - lars@linux-schulserver.de
|
||||||
|
|
||||||
|
- Renamed package to monitoring-plugins-sar-perf
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Nov 9 16:57:05 CET 2012 - ro@suse.de
|
Fri Nov 9 16:57:05 CET 2012 - ro@suse.de
|
||||||
|
|
||||||
@ -39,12 +44,12 @@ Thu Nov 24 16:26:58 UTC 2011 - lars@linux-schulserver.de
|
|||||||
Tue Oct 4 15:27:09 UTC 2011 - lars@linux-schulserver.de
|
Tue Oct 4 15:27:09 UTC 2011 - lars@linux-schulserver.de
|
||||||
|
|
||||||
- also print the used arguments as output to STDOUT, so the user
|
- also print the used arguments as output to STDOUT, so the user
|
||||||
knows what is mesured (nagios-plugins-sar-perf-stdout.patch)
|
knows what is mesured (monitoring-plugins-sar-perf-stdout.patch)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Oct 4 12:59:33 UTC 2011 - lars@linux-schulserver.de
|
Tue Oct 4 12:59:33 UTC 2011 - lars@linux-schulserver.de
|
||||||
|
|
||||||
- added nagios-plugins-sar-perf-output.patch :
|
- added monitoring-plugins-sar-perf-output.patch :
|
||||||
do not print DEV name for disk in performance output
|
do not print DEV name for disk in performance output
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
@ -1,5 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package nagios-plugins-sar-perf
|
# spec file for package monitoring-plugins-sar-perf
|
||||||
|
#
|
||||||
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -13,24 +15,24 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
|
||||||
|
|
||||||
|
Name: monitoring-plugins-sar-perf
|
||||||
Name: nagios-plugins-sar-perf
|
Summary: Get performance data from sar
|
||||||
Summary: NRPE plugin to get performance data from sar
|
|
||||||
Version: 0.1
|
Version: 0.1
|
||||||
Release: 1
|
Release: 100
|
||||||
Url: https://github.com/nickanderson/check-sar-perf
|
Url: https://github.com/nickanderson/check-sar-perf
|
||||||
License: GPL
|
License: GPL-2.0+
|
||||||
Group: System/Monitoring
|
Group: System/Monitoring
|
||||||
Source0: nickanderson-check-sar-perf-4878d0c.tar.gz
|
Source0: nickanderson-check-sar-perf-4878d0c.tar.gz
|
||||||
Source1: check_iostat
|
Source1: check_iostat
|
||||||
Patch0: nagios-plugins-sar-perf-output.patch
|
Patch0: monitoring-plugins-sar-perf-output.patch
|
||||||
Patch1: nagios-plugins-sar-perf-stdout.patch
|
Patch1: monitoring-plugins-sar-perf-stdout.patch
|
||||||
|
BuildRequires: nagios-rpm-macros
|
||||||
|
Provides: nagios-plugins-sar-perf = %{version}-%{release}
|
||||||
|
Obsoletes: nagios-plugins-sar-perf < %{version}-%{release}
|
||||||
Requires: python sysstat
|
Requires: python sysstat
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%define libexecdir %_prefix/lib/nagios/plugins
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This plug-in was written to get performance data from sar. It was developed for
|
This plug-in was written to get performance data from sar. It was developed for
|
||||||
@ -55,8 +57,8 @@ sar OK| DEV=sda tps=0.00 rd_sec/s=0.00 wr_sec/s=0.00 avgrq-sz=0.00
|
|||||||
%build
|
%build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
install -D -m755 check_sar_perf.py %{buildroot}/%{libexecdir}/check_sar_perf
|
install -D -m755 check_sar_perf.py %{buildroot}/%{nagios_plugindir}/check_sar_perf
|
||||||
install -m755 %{SOURCE1} %{buildroot}/%{libexecdir}/check_iostat
|
install -m755 %{SOURCE1} %{buildroot}/%{nagios_plugindir}/check_iostat
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
@ -64,9 +66,9 @@ rm -rf %{buildroot}
|
|||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
# avoid build dependecy of nagios - own the dirs
|
# avoid build dependecy of nagios - own the dirs
|
||||||
%dir %{_prefix}/lib/nagios
|
%dir %{nagios_libdir}
|
||||||
%dir %{libexecdir}
|
%dir %{nagios_plugindir}
|
||||||
%{libexecdir}/check_sar_perf
|
%{nagios_plugindir}/check_sar_perf
|
||||||
%{libexecdir}/check_iostat
|
%{nagios_plugindir}/check_iostat
|
||||||
|
|
||||||
%changelog
|
%changelog
|
Loading…
Reference in New Issue
Block a user