Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package monitoring-plugins-sar-perf for 
openSUSE:Factory checked in at 2024-08-16 12:23:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/monitoring-plugins-sar-perf (Old)
 and      /work/SRC/openSUSE:Factory/.monitoring-plugins-sar-perf.new.2698 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "monitoring-plugins-sar-perf"

Fri Aug 16 12:23:41 2024 rev:14 rq:1194088 version:0.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/monitoring-plugins-sar-perf/monitoring-plugins-sar-perf.changes
  2024-02-23 16:47:25.387891917 +0100
+++ 
/work/SRC/openSUSE:Factory/.monitoring-plugins-sar-perf.new.2698/monitoring-plugins-sar-perf.changes
        2024-08-16 12:24:19.000694560 +0200
@@ -1,0 +2,6 @@
+Wed Jul 24 12:24:59 CEST 2024 - r...@suse.de
+
+- check_iostat: report as critical and as "stuck" if read and
+  write are at 0 and util is at 100 percent
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ monitoring-plugins-sar-perf.spec ++++++
--- /var/tmp/diff_new_pack.0Gm5Tw/_old  2024-08-16 12:24:19.640721159 +0200
+++ /var/tmp/diff_new_pack.0Gm5Tw/_new  2024-08-16 12:24:19.640721159 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package monitoring-plugins-sar-perf
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -53,7 +53,6 @@
 sar OK| DEV=sda tps=0.00 rd_sec/s=0.00 wr_sec/s=0.00 avgrq-sz=0.00
   avgqu-sz=0.00 await=0.00 svctm=0.00 util=0.00
 
-
 %prep
 %autosetup -p0 -n nickanderson-check-sar-perf-4878d0c
 

++++++ check_iostat ++++++
--- /var/tmp/diff_new_pack.0Gm5Tw/_old  2024-08-16 12:24:19.676722655 +0200
+++ /var/tmp/diff_new_pack.0Gm5Tw/_new  2024-08-16 12:24:19.676722655 +0200
@@ -210,6 +210,12 @@
    $status = 2;
 }
 
+if ($util == 100 && $kbread == 0 && $kbwritten == 0) {
+   $msg = "CRITICAL";
+   $reasons{'stuck'} = 2;
+   $status = 2;
+}
+
 $msg .= " (".join(",",keys(%reasons)).")" if $status != 0;
 
 my $p_tps = $tps;

Reply via email to