Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package monitoring-plugins-smart for
openSUSE:Factory checked in at 2025-12-18 18:32:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/monitoring-plugins-smart (Old)
and /work/SRC/openSUSE:Factory/.monitoring-plugins-smart.new.1928 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "monitoring-plugins-smart"
Thu Dec 18 18:32:53 2025 rev:16 rq:1323414 version:6.17.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/monitoring-plugins-smart/monitoring-plugins-smart.changes
2025-07-15 16:46:25.526001463 +0200
+++
/work/SRC/openSUSE:Factory/.monitoring-plugins-smart.new.1928/monitoring-plugins-smart.changes
2025-12-18 18:35:22.519501620 +0100
@@ -1,0 +2,7 @@
+Mon Dec 15 18:31:54 UTC 2025 - Martin Hauke <[email protected]>
+
+- Update to version 6.17.0
+ * Fix evaluating ATA Error Count: 0 as a warning.
+ * Add areca devices.
+
+-------------------------------------------------------------------
Old:
----
check_smart-6.16.0.tar.gz
New:
----
check_smart-6.17.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ monitoring-plugins-smart.spec ++++++
--- /var/tmp/diff_new_pack.L2FAMR/_old 2025-12-18 18:35:23.423539594 +0100
+++ /var/tmp/diff_new_pack.L2FAMR/_new 2025-12-18 18:35:23.427539763 +0100
@@ -17,7 +17,7 @@
Name: monitoring-plugins-smart
-Version: 6.16.0
+Version: 6.17.0
Release: 0
Summary: Check SMART status of a given disk
License: GPL-3.0-or-later
++++++ check_smart-6.16.0.tar.gz -> check_smart-6.17.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/check_smart-6.16.0/check_smart.pl
new/check_smart-6.17.0/check_smart.pl
--- old/check_smart-6.16.0/check_smart.pl 2025-06-12 07:04:12.000000000
+0200
+++ new/check_smart-6.17.0/check_smart.pl 2025-12-15 19:16:02.000000000
+0100
@@ -64,13 +64,15 @@
# Sep 10, 2024: Claudio Kuenzler - Fix performance data format, missing
perfdata in SCSI drives (6.14.3)
# Jan 31, 2025: Tomas Barton - Ignore old age attributes due to its
unrealiability. Check ATA error logs (6.15.0)
# Jun 12, 2025: Alexander Kanevskiy - Add usbjmicron devices (6.16.0)
+# Dec 15, 2025: Florian Sager - Fix evaluating ATA Error Count: 0 as a warning
(6.17.0)
+# Dec 15, 2025: Philippe Beaumont - Add areca devices (6.17.0)
use strict;
use Getopt::Long;
use File::Basename qw(basename);
my $basename = basename($0);
-my $revision = '6.16.0';
+my $revision = '6.17.0';
# Standard Nagios return codes
my %ERRORS=('OK'=>0,'WARNING'=>1,'CRITICAL'=>2,'UNKNOWN'=>3,'DEPENDENT'=>4);
@@ -186,6 +188,12 @@
$interface .= "usbjmicron," . $k . "|";
}
}
+ elsif($interface =~ m/areca,\[(\d{1,2})-(\d{1,2})\]/) {
+ $interface = "";
+ for(my $k = $1; $k <= $2; $k++) {
+ $interface .= "areca," . $k . "|";
+ }
+ }
else {
$interface .= "|";
}
@@ -279,7 +287,7 @@
# we had a pattern based on $opt_g
$tag = $device;
$tag =~ s/\Q$opt_g\E//;
- if($interface =~ qr/(?:megaraid|3ware|aacraid|cciss)/){
+ if($interface =~
qr/(?:megaraid|3ware|aacraid|cciss|areca)/){
$label = "[$interface] - ";
} else {
$label = "[$device] - ";
@@ -503,7 +511,9 @@
unless ($opt_skip_error_log) {
if ($line =~ /^ATA Error
Count:\s(\d+)\s/) {
my ($attribute_name,
$raw_value) = ('ata_errors', $1);
- if (
($warn_list{$attribute_name}) && ($raw_value >= $warn_list{$attribute_name}) ) {
+ if ( $raw_value == 0) {
+ next;
+ } elsif (
($warn_list{$attribute_name}) && ($raw_value >= $warn_list{$attribute_name}) ) {
warn "(debug)
$attribute_name is non-zero ($raw_value)\n\n" if $opt_debug;
push(@warning_messages,
"$attribute_name is non-zero ($raw_value)");
escalate_status('WARNING');