Hello community,

here is the log from the commit of package monitoring-plugins for 
openSUSE:Factory checked in at 2020-10-20 16:18:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/monitoring-plugins (Old)
 and      /work/SRC/openSUSE:Factory/.monitoring-plugins.new.3486 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "monitoring-plugins"

Tue Oct 20 16:18:11 2020 rev:18 rq:842723 
version:2.3~alpha.20200520T233014.cadac85e

Changes:
--------
--- /work/SRC/openSUSE:Factory/monitoring-plugins/monitoring-plugins.changes    
2020-09-21 17:44:38.584981997 +0200
+++ 
/work/SRC/openSUSE:Factory/.monitoring-plugins.new.3486/monitoring-plugins.changes
  2020-10-20 16:24:32.526411306 +0200
@@ -1,0 +2,7 @@
+Tue Oct 13 11:05:10 CEST 2020 - [email protected]
+
+- add patch monitoring-plugins-2.3-check_ntp_perf_absolute.patch
+  return ntp offset absolute (as positive value) in performance
+  data since warn and crit are also positive values 
+
+-------------------------------------------------------------------

New:
----
  monitoring-plugins-2.3-check_ntp_perf_absolute.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ monitoring-plugins.spec ++++++
--- /var/tmp/diff_new_pack.kry5Ew/_old  2020-10-20 16:24:34.614412295 +0200
+++ /var/tmp/diff_new_pack.kry5Ew/_new  2020-10-20 16:24:34.618412296 +0200
@@ -74,6 +74,7 @@
 Patch119:       monitoring-plugins-2.2-mariadb_102_build_fix.patch
 # PATCH-FIX-UPSTREAM see https://bugzilla.redhat.com/512559
 Patch121:       %{name}-wrong_return_in_check_swap.patch
+Patch122:       monitoring-plugins-2.3-check_ntp_perf_absolute.patch
 BuildRequires:  bind-utils
 BuildRequires:  dhcp-devel
 BuildRequires:  fping
@@ -1125,6 +1126,7 @@
 %patch118 -p1
 %patch119 -p1
 %patch121 -p1
+%patch122 -p1
 find -type f -exec chmod 644 {} +
 
 %build

++++++ monitoring-plugins-2.3-check_ntp_perf_absolute.patch ++++++
--- 
monitoring-plugins-2.3~alpha.20200520T233014.cadac85e/plugins/check_ntp_time.c  
    2020/10/12 16:05:30     1.1
+++ 
monitoring-plugins-2.3~alpha.20200520T233014.cadac85e/plugins/check_ntp_time.c  
    2020/10/12 16:07:13
@@ -533,7 +533,7 @@
 
 char *perfd_offset (double offset)
 {
-       return fperfdata ("offset", offset, "s",
+       return fperfdata ("offset", fabs(offset), "s",
                TRUE, offset_thresholds->warning->end,
                TRUE, offset_thresholds->critical->end,
                FALSE, 0, FALSE, 0);

Reply via email to