Hello community,

here is the log from the commit of package monitoring-plugins-mem for 
openSUSE:Factory checked in at 2019-07-01 10:44:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/monitoring-plugins-mem (Old)
 and      /work/SRC/openSUSE:Factory/.monitoring-plugins-mem.new.4615 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "monitoring-plugins-mem"

Mon Jul  1 10:44:10 2019 rev:3 rq:706070 version:20120618

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/monitoring-plugins-mem/monitoring-plugins-mem.changes
    2018-10-15 10:46:06.783218857 +0200
+++ 
/work/SRC/openSUSE:Factory/.monitoring-plugins-mem.new.4615/monitoring-plugins-mem.changes
  2019-07-01 10:44:11.313459212 +0200
@@ -1,0 +2,7 @@
+Tue Feb 26 11:26:10 CET 2019 - r...@suse.de
+
+- update monitoring-plugins-mem-min_max_perfdata.patch
+  also output crit/warn levels in performance data for
+  the reverse case 
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ monitoring-plugins-mem.spec ++++++
--- /var/tmp/diff_new_pack.ftAyGA/_old  2019-07-01 10:44:11.829460053 +0200
+++ /var/tmp/diff_new_pack.ftAyGA/_new  2019-07-01 10:44:11.833460060 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package monitoring-plugins-mem
 #
-# 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

++++++ monitoring-plugins-mem-min_max_perfdata.patch ++++++
--- /var/tmp/diff_new_pack.ftAyGA/_old  2019-07-01 10:44:11.869460119 +0200
+++ /var/tmp/diff_new_pack.ftAyGA/_new  2019-07-01 10:44:11.873460126 +0200
@@ -1,15 +1,17 @@
 --- check_mem/check_mem.pl     2018/09/27 12:46:37     1.1
 +++ check_mem/check_mem.pl     2018/09/27 12:47:20
-@@ -67,7 +67,12 @@
+@@ -67,7 +67,14 @@
      my $total = $free + $used;
      print "$total Total\n" if ($opt_v);
  
 -    my $perfdata = "|TOTAL=${total}KB;;;; USED=${used}KB;;;; 
FREE=${free}KB;;;; CACHES=${caches}KB;;;;";
 +    my $wm = $total * $opt_w / 100;
 +    my $cm = $total * $opt_c / 100;
-+    my $perfdata = "|TOTAL=${total}KB;;;; USED=${used}KB;;;; 
FREE=${free}KB;${wm};${cm};0.0;${total} CACHES=${caches}KB;;;;";
++    my $wmr = $total * (100 - $opt_w) / 100;
++    my $cmr = $total * (100 - $opt_c) / 100;
++    my $perfdata = "|TOTAL=${total}KB;;;; USED=${used}KB;${wmr};${cmr};; 
FREE=${free}KB;${wm};${cm};0.0;${total} CACHES=${caches}KB;;;;";
 +    if ($opt_u) {
-+        $perfdata = "|TOTAL=${total}KB;;;; 
USED=${used}KB;${wm};${cm};0.0;${total} FREE=${free}KB;;;; 
CACHES=${caches}KB;;;;";
++        $perfdata = "|TOTAL=${total}KB;;;; 
USED=${used}KB;${wm};${cm};0.0;${total} FREE=${free}KB;${wmr};${cmr};; 
CACHES=${caches}KB;;;;";
 +    }
      
      if ($opt_f) {


Reply via email to