Hello community,
here is the log from the commit of package nagios-plugins-ipmi-sensor1 for
openSUSE:Factory checked in at 2013-09-27 17:48:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nagios-plugins-ipmi-sensor1 (Old)
and /work/SRC/openSUSE:Factory/.nagios-plugins-ipmi-sensor1.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nagios-plugins-ipmi-sensor1"
Changes:
--------
---
/work/SRC/openSUSE:Factory/nagios-plugins-ipmi-sensor1/nagios-plugins-ipmi-sensor1.changes
2013-01-24 15:39:57.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.nagios-plugins-ipmi-sensor1.new/nagios-plugins-ipmi-sensor1.changes
2013-09-27 17:48:47.000000000 +0200
@@ -1,0 +2,8 @@
+Fri Aug 30 11:41:50 UTC 2013 - [email protected]
+
+- added check_ipmi_sensor_v1.3_PowerEdge.patch :
+ Dell PowerEdge servers seem to have a sensor called: "Fatal IO Error"
+ which triggers the script to exit with error message.
+ (see bnc #836235)
+
+-------------------------------------------------------------------
New:
----
check_ipmi_sensor_v1.3_PowerEdge.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ nagios-plugins-ipmi-sensor1.spec ++++++
--- /var/tmp/diff_new_pack.ZD57XC/_old 2013-09-27 17:48:47.000000000 +0200
+++ /var/tmp/diff_new_pack.ZD57XC/_new 2013-09-27 17:48:47.000000000 +0200
@@ -18,13 +18,14 @@
Name: nagios-plugins-ipmi-sensor1
Version: 1.3
-Release: 1
-License: GPL-3.0+
+Release: 0
Summary: IPMI Sensor 1 Monitoring Plugin for Nagios/Icinga
-Url: http://www.thomas-krenn.com/en/oss/ipmi-plugin/
+License: GPL-3.0+
Group: System/Monitoring
+Url: http://www.thomas-krenn.com/en/oss/ipmi-plugin/
Source0: check_ipmi_sensor_v%{version}.tar.bz2
Source1: usr.lib.nagios.plugins.check_ipmi_sensor1
+Patch0: check_ipmi_sensor_v1.3_PowerEdge.patch
BuildRequires: nagios-rpm-macros
Requires: ipmitool
Recommends: apparmor-profiles
@@ -41,6 +42,7 @@
%prep
%setup -q -n check_ipmi_sensor_v%{version}
+%patch0 -p1
%build
++++++ check_ipmi_sensor_v1.3_PowerEdge.patch ++++++
# Dell PowerEdge servers seem to check "Fatal IO Error"s which triggers
# the script to exit with error message.
# Fix by ignoring the output of the 'sensor name' called "Fatal IO Error"
# tracked in https://bugzilla.novell.com/show_bug.cgi?id=836235
Index: check_ipmi_sensor_v1.3/check_ipmi_sensor
===================================================================
--- check_ipmi_sensor_v1.3.orig/check_ipmi_sensor
+++ check_ipmi_sensor_v1.3/check_ipmi_sensor
@@ -283,9 +283,12 @@ errorstring="Error"
shopt -s nocasematch
if [[ "$ipmioutput" =~ "${errorstring}" ]]
then
+ if [[ "${errorstring}" =~ ^"Fatal IO Error" ]]
+ then
checkhint="check BMC availability/username/password"
echo "ipmitool output contains \"$errorstring\" - $checkhint"
exit 2
+ fi
fi
shopt -u nocasematch
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]