Hello community, here is the log from the commit of package monitoring-plugins-drbd9 for openSUSE:Factory checked in at 2017-02-19 01:00:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/monitoring-plugins-drbd9 (Old) and /work/SRC/openSUSE:Factory/.monitoring-plugins-drbd9.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "monitoring-plugins-drbd9" Changes: -------- New Changes file: --- /dev/null 2017-01-26 09:49:33.150892021 +0100 +++ /work/SRC/openSUSE:Factory/.monitoring-plugins-drbd9.new/monitoring-plugins-drbd9.changes 2017-02-19 01:00:21.765222456 +0100 @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Tue Feb 7 13:33:51 UTC 2017 - l...@linux-schulserver.de + +- initial version 0.1 + New: ---- monitoring-plugins-drbd9-pathnames.patch monitoring-plugins-drbd9-remove_Data_Dumper_Indent.patch monitoring-plugins-drbd9.changes monitoring-plugins-drbd9.spec nagios_check_drbd9-0.1.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ monitoring-plugins-drbd9.spec ++++++ # # spec file for package monitoring-plugins-drbd9 # # Copyright (c) 2017 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # 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/ # Name: monitoring-plugins-drbd9 Version: 0.1 Release: 0 License: BSD-3-Clause Summary: Plugin for monitoring DRBD 9 resources Url: https://github.com/alaskacommunications/nagios_check_drbd9 Group: System/Monitoring Source: nagios_check_drbd9-%{version}.tar.xz Patch1: monitoring-plugins-drbd9-pathnames.patch Patch2: monitoring-plugins-drbd9-remove_Data_Dumper_Indent.patch Requires: perl(Getopt::Std) Requires: perl(Data::Dumper) BuildRequires: nagios-rpm-macros BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description This package contains monitoring plugins for monitoring DRBD resources. The plugins use output from the following sources to determine the state of each resource: * /proc/drbd * /usr/sbin/drbdadm sh-resources * /usr/sbin/drbdetup events2 --now --statistics The following DRBD kernel modules and DRBD Utilities are supported: * DRBD 8.4.x with drbd-utils 8.9.6 * DRBD 9.0.x with drbd-utils 8.9.6 %prep %setup -q -n nagios_check_drbd9-%{version} %patch1 -p1 %patch2 -p1 chmod -x * %build # %install install -Dm755 check_drbd9.pl %{buildroot}%{nagios_plugindir}/check_drbd9.pl install -m0755 dump_drbd9.pl %{buildroot}%{nagios_plugindir}/dump_drbd9.pl %files %defattr(-,root,root) %doc ChangeLog* README* COPYING %dir %{nagios_libdir} %dir %{nagios_plugindir} %{nagios_plugindir}/* %changelog ++++++ monitoring-plugins-drbd9-pathnames.patch ++++++ Index: nagios_check_drbd9-0.1/check_drbd9.pl =================================================================== --- nagios_check_drbd9-0.1.orig/check_drbd9.pl +++ nagios_check_drbd9-0.1/check_drbd9.pl @@ -631,7 +631,7 @@ sub chk_drbd_walk($) # builds resources - $sh_resources = `/usr/sbin/drbdadm sh-resources 2> /dev/null`; + $sh_resources = `drbdadm sh-resources 2> /dev/null`; if ($? != 0) { printf("DRBD UNKNOWN: error running drbdadm\n"); @@ -660,7 +660,7 @@ sub chk_drbd_walk($) # read events - @lines = `/usr/sbin/drbdsetup events2 --now --statistics all 2> /dev/null`; + @lines = `drbdsetup events2 --now --statistics all 2> /dev/null`; if ($? != 0) { printf("DRBD UNKNOWN: error running drbdsetup\n"); Index: nagios_check_drbd9-0.1/dump_drbd9.pl =================================================================== --- nagios_check_drbd9-0.1.orig/dump_drbd9.pl +++ nagios_check_drbd9-0.1/dump_drbd9.pl @@ -162,7 +162,7 @@ sub chk_drbd_walk($) # builds resources - $sh_resources = `/usr/sbin/drbdadm sh-resources`; + $sh_resources = `drbdadm sh-resources`; if ($sh_resources =~ /^([-_.\w\s]+)$/) { $sh_resources = $1; @@ -182,7 +182,7 @@ sub chk_drbd_walk($) # read events - @lines = `/usr/sbin/drbdsetup events2 --now --statistics all`; + @lines = `drbdsetup events2 --now --statistics all`; chomp(@lines); ++++++ monitoring-plugins-drbd9-remove_Data_Dumper_Indent.patch ++++++ Index: nagios_check_drbd9-0.1/check_drbd9.pl =================================================================== --- nagios_check_drbd9-0.1.orig/check_drbd9.pl +++ nagios_check_drbd9-0.1/check_drbd9.pl @@ -42,8 +42,6 @@ use warnings; use strict; use Getopt::Std; -$Data::Dumper::Indent = 1; - $|++; our $PROGRAM_NAME = 'check_drbd9.pl';