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 2021-05-10 15:39:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/monitoring-plugins-smart (Old) and /work/SRC/openSUSE:Factory/.monitoring-plugins-smart.new.2988 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "monitoring-plugins-smart" Mon May 10 15:39:21 2021 rev:6 rq:892023 version:6.9.1 Changes: -------- --- /work/SRC/openSUSE:Factory/monitoring-plugins-smart/monitoring-plugins-smart.changes 2019-11-06 14:04:27.172682213 +0100 +++ /work/SRC/openSUSE:Factory/.monitoring-plugins-smart.new.2988/monitoring-plugins-smart.changes 2021-05-10 15:42:07.272912328 +0200 @@ -1,0 +2,40 @@ +Mon May 10 10:54:49 UTC 2021 - l...@linux-schulserver.de - 6.9.1 + +- Update to 6.9.1: + This is a security-release (bsc#1183057) + + Fixes the regular expression for pseudo-devices under the /dev/bus/N path. + from 6.9.0 + + Allows using PCI device paths as device name(s) (#64) + + Introduce new optional parameter -l/--ssd-lifetime) which additionally + checks SMART attribute "Percent_Lifetime_Remain" + (available on some SSD drives). (#66 #67) + from 6.8.0 + + Allow skip self-assessment check (--skip-self-assessment) + + Add Command_Timeout to default raw list + from 6.7.1 + + Bugfix to make --warn work (issue #54) + from 6.7.0 + + Added support for NVMe drives + from 6.6.1 + + Fix 'deprecation warning on regex with curly brackets' (6.6.1) + from 6.6.0 + + The feature was requested in #30 . This PR adds the possibility to + use 3ware,N and cciss,N drives in combination with the + global -g parameter. + + Furthermore this PR adjusts the output of the plugin when the -g + is used in combination with hardware raid controllers. Instead of + showing the logical device name (/dev/sda for example), the plugin + will now show the controller with drive number + from 6.5.0: + + Add Reported_Uncorrect and Reallocated_Event_Count to default raw list. + + As of 6.5 the following SMART attributes are by default checked and + may result in alert when threshold (default 0 is reached): + 'Current_Pending_Sector,Reallocated_Sector_Ct,Program_Fail_Cnt_Total, + Uncorrectable_Error_Cnt,Offline_Uncorrectable,Runtime_Bad_Block, + Reported_Uncorrect,Reallocated_Event_Count' +- use _service file (with localrun -> osc service run) and generated + tarball instead of single file +- remove check_smart.pl +- package README.md + +------------------------------------------------------------------- Old: ---- check_smart.pl New: ---- _service check_smart-6.9.1.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ monitoring-plugins-smart.spec ++++++ --- /var/tmp/diff_new_pack.r9A0r5/_old 2021-05-10 15:42:07.660910810 +0200 +++ /var/tmp/diff_new_pack.r9A0r5/_new 2021-05-10 15:42:07.660910810 +0200 @@ -1,7 +1,7 @@ # # spec file for package monitoring-plugins-smart # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,13 +17,13 @@ Name: monitoring-plugins-smart -Version: 6.4 +Version: 6.9.1 Release: 0 Summary: Check SMART status of a given disk License: SUSE-Public-Domain Group: System/Monitoring URL: https://www.claudiokuenzler.com/nagios-plugins/check_smart.php -Source0: check_smart.pl +Source0: check_smart-%{version}.tar.xz Source1: usr.lib.nagios.plugins.check_smart Source3: monitoring-plugins-smart-README.SUSE BuildRequires: nagios-rpm-macros @@ -54,14 +54,13 @@ which holds the same content and should be used automatically. %prep -%setup -q -T -c %{name} -install -m755 %{SOURCE0} check_smart +%setup -q -n check_smart-%{version} install -m644 %{SOURCE3} README.SUSE %build %install -install -D -m755 check_smart %{buildroot}/%{nagios_plugindir}/check_smart +install -D -m755 check_smart.pl %{buildroot}/%{nagios_plugindir}/check_smart install -D -m644 %{SOURCE1} %{buildroot}/%{_sysconfdir}/apparmor.d/usr.lib.nagios.plugins.check_smart %if 0%{?suse_version} > 1130 mkdir -p %{buildroot}/%{_sysconfdir}/sudoers.d @@ -72,7 +71,7 @@ %endif %files -%doc README.SUSE +%doc README.SUSE README.md %dir %{nagios_libdir} %dir %{_sysconfdir}/apparmor.d %dir %{nagios_plugindir} ++++++ _service ++++++ <services> <service name="tar_scm" mode="localonly"> <param name="url">https://github.com/Napsty/check_smart.git</param> <param name="scm">git</param> <param name="revision">6.9.1</param> <param name="exclude">.git</param> <param name="versionformat">6.9.1</param> <param name="revision">6.9.1</param> <param name="filename">check_smart</param> </service> <service name="set_version" mode="localonly"> <param name="file">monitoring-plugins-smart.spec</param> </service> <service name="recompress" mode="localonly"> <param name="file">*.tar</param> <param name="compression">xz</param> </service> </services>