Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package monitoring-plugins-nwc_health for 
openSUSE:Factory checked in at 2022-05-07 23:54:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/monitoring-plugins-nwc_health (Old)
 and      /work/SRC/openSUSE:Factory/.monitoring-plugins-nwc_health.new.1538 
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "monitoring-plugins-nwc_health"

Sat May  7 23:54:24 2022 rev:20 rq:975534 version:10.1.0.3

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/monitoring-plugins-nwc_health/monitoring-plugins-nwc_health.changes
      2022-03-04 00:18:44.292299108 +0100
+++ 
/work/SRC/openSUSE:Factory/.monitoring-plugins-nwc_health.new.1538/monitoring-plugins-nwc_health.changes
    2022-05-07 23:54:28.160921612 +0200
@@ -1,0 +2,10 @@
+Fri May  6 07:16:26 UTC 2022 - Martin Hauke <[email protected]>
+
+- Update to version 10.1.0.3
+  * fix a pull-request. Und das war damit auch der letzte
+    Pull-Request, den ich in meinem Leben angenommen habe.
+  * use JSON::XS in Interface.pm to avoid misleading UNKNOWN error
+    message
+  * suppress unknown arista sensors which are not marked as faulty
+
+-------------------------------------------------------------------

Old:
----
  check_nwc_health-10.1.0.1.tar.gz

New:
----
  check_nwc_health-10.1.0.3.tar.gz

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

Other differences:
------------------
++++++ monitoring-plugins-nwc_health.spec ++++++
--- /var/tmp/diff_new_pack.IcGUyU/_old  2022-05-07 23:54:28.712922303 +0200
+++ /var/tmp/diff_new_pack.IcGUyU/_new  2022-05-07 23:54:28.712922303 +0200
@@ -19,7 +19,7 @@
 
 %define         realname check_nwc_health
 Name:           monitoring-plugins-nwc_health
-Version:        10.1.0.1
+Version:        10.1.0.3
 Release:        0
 Summary:        This plugin checks the health of network components and 
interfaces
 # https://github.com/lausser/check_nwc_health

++++++ check_nwc_health-10.1.0.1.tar.gz -> check_nwc_health-10.1.0.3.tar.gz 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/check_nwc_health-10.1.0.1/ChangeLog 
new/check_nwc_health-10.1.0.3/ChangeLog
--- old/check_nwc_health-10.1.0.1/ChangeLog     2022-02-23 20:36:58.110662500 
+0100
+++ new/check_nwc_health-10.1.0.3/ChangeLog     2022-05-05 08:53:37.584561200 
+0200
@@ -1,3 +1,7 @@
+* 2022-05-05 10.1.0.3
+  fix a pull-request. Und das war damit auch der letzte Pull-Request, den ich 
in meinem Leben angenommen habe.
+* 2022-05-04 10.1.0.2
+  use JSON::XS in Interface.pm to avoid misleading UNKNOWN error message
 * 2022-02-23 10.1.0.1
   suppress unknown arista sensors which are not marked as faulty
 * 2022-02-18 10.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/check_nwc_health-10.1.0.1/GLPlugin/lib/Monitoring/GLPlugin/SNMP.pm 
new/check_nwc_health-10.1.0.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP.pm
--- old/check_nwc_health-10.1.0.1/GLPlugin/lib/Monitoring/GLPlugin/SNMP.pm      
2022-02-23 20:36:58.770662500 +0100
+++ new/check_nwc_health-10.1.0.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP.pm      
2022-05-05 08:53:38.254561200 +0200
@@ -1038,25 +1038,27 @@
           scalar localtime (time - $sysUptime),
           $self->human_timeticks($sysUptime));
     }
-    if (defined $sysUptime && defined $sysDescr) {
-      if ($hrSystemUptime) {
-        # Bei Linux-basierten Geraeten wird snmpEngineTime viel zu haeufig
-        # durchgestartet, also lieber das hier.
-        $self->{uptime} = $hrSystemUptime;
-        # Es sei denn, snmpEngineTime ist tatsaechlich groesser, dann gilt
-        # wiederum dieses. Mag sein, dass der zahlenwert hier manchmal huepft
-        # und ein Performancegraph Zacken bekommt, aber das ist mir egal.
-        # es geht nicht um Graphen in Form einer ansteigenden Geraden, sondern
-        # um das Erkennen von spontanen Reboots und das Vermeiden von
-        # falschen Alarmen.
-        if ($snmpEngineTime && $snmpEngineTime > $hrSystemUptime) {
-          $self->{uptime} = $snmpEngineTime;
-        }
-      } elsif ($snmpEngineTime) {
-        $self->{uptime} = $snmpEngineTime;
-      } else {
-        $self->{uptime} = $sysUptime;
+    my $best_uptime = undef;
+    if ($hrSystemUptime) {
+      # Bei Linux-basierten Geraeten wird snmpEngineTime viel zu haeufig
+      # durchgestartet, also lieber das hier.
+      $best_uptime = $hrSystemUptime;
+      # Es sei denn, snmpEngineTime ist tatsaechlich groesser, dann gilt
+      # wiederum dieses. Mag sein, dass der zahlenwert hier manchmal huepft
+      # und ein Performancegraph Zacken bekommt, aber das ist mir egal.
+      # es geht nicht um Graphen in Form einer ansteigenden Geraden, sondern
+      # um das Erkennen von spontanen Reboots und das Vermeiden von
+      # falschen Alarmen.
+      if ($snmpEngineTime && $snmpEngineTime > $hrSystemUptime) {
+        $best_uptime = $snmpEngineTime;
       }
+    } elsif ($snmpEngineTime) {
+      $best_uptime = $snmpEngineTime;
+    } else {
+      $best_uptime = $sysUptime;
+    }
+    if (defined $best_uptime && defined $sysDescr) {
+      $self->{uptime} = $best_uptime;
       $self->{productname} = $sysDescr;
       $self->{sysobjectid} = $self->get_snmp_object('MIB-2-MIB', 
'sysObjectID', 0);
       $self->debug(sprintf 'uptime: %s', $self->{uptime});
@@ -1090,11 +1092,11 @@
         }
         if (! $mein_lieber_freund_und_kupferstecher) {
           $self->add_message(UNKNOWN,
-              'got neither sysUptime nor sysDescr nor any other useful 
information, is this snmp agent working correctly?');
+              'got neither sysUptime and sysDescr nor any other useful 
information, is this snmp agent working correctly?');
         }
       } else {
         $self->add_message(UNKNOWN,
-            'got neither sysUptime nor sysDescr, is this snmp agent working 
correctly?');
+            'Did not receive both sysUptime and sysDescr, is this snmp agent 
working correctly?');
       }
       $Monitoring::GLPlugin::SNMP::session->close if 
$Monitoring::GLPlugin::SNMP::session;
     }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/check_nwc_health-10.1.0.1/GLPlugin/lib/Monitoring/GLPlugin.pm 
new/check_nwc_health-10.1.0.3/GLPlugin/lib/Monitoring/GLPlugin.pm
--- old/check_nwc_health-10.1.0.1/GLPlugin/lib/Monitoring/GLPlugin.pm   
2022-02-23 20:36:58.560662500 +0100
+++ new/check_nwc_health-10.1.0.3/GLPlugin/lib/Monitoring/GLPlugin.pm   
2022-05-05 08:53:38.024561200 +0200
@@ -22,7 +22,7 @@
   $Data::Dumper::Sparseseen = 1;
 };
 our $AUTOLOAD;
-*VERSION = \'5.0.1.1';
+*VERSION = \'5.0.3';
 
 use constant { OK => 0, WARNING => 1, CRITICAL => 2, UNKNOWN => 3 };
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/check_nwc_health-10.1.0.1/configure 
new/check_nwc_health-10.1.0.3/configure
--- old/check_nwc_health-10.1.0.1/configure     2022-02-23 20:36:55.270662500 
+0100
+++ new/check_nwc_health-10.1.0.3/configure     2022-05-05 08:53:34.814561200 
+0200
@@ -1,7 +1,7 @@
 #! /bin/sh
 # From configure.ac .
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for check_nwc_health 10.1.0.1.
+# Generated by GNU Autoconf 2.69 for check_nwc_health 10.1.0.3.
 #
 #
 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
@@ -577,8 +577,8 @@
 # Identity of this package.
 PACKAGE_NAME='check_nwc_health'
 PACKAGE_TARNAME='check_nwc_health'
-PACKAGE_VERSION='10.1.0.1'
-PACKAGE_STRING='check_nwc_health 10.1.0.1'
+PACKAGE_VERSION='10.1.0.3'
+PACKAGE_STRING='check_nwc_health 10.1.0.3'
 PACKAGE_BUGREPORT=''
 PACKAGE_URL=''
 
@@ -1236,7 +1236,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures check_nwc_health 10.1.0.1 to adapt to many kinds of 
systems.
+\`configure' configures check_nwc_health 10.1.0.3 to adapt to many kinds of 
systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1308,7 +1308,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of check_nwc_health 10.1.0.1:";;
+     short | recursive ) echo "Configuration of check_nwc_health 10.1.0.3:";;
    esac
   cat <<\_ACEOF
 
@@ -1393,7 +1393,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-check_nwc_health configure 10.1.0.1
+check_nwc_health configure 10.1.0.3
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1410,7 +1410,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by check_nwc_health $as_me 10.1.0.1, which was
+It was created by check_nwc_health $as_me 10.1.0.3, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -2273,7 +2273,7 @@
 
 # Define the identity of the package.
  PACKAGE='check_nwc_health'
- VERSION='10.1.0.1'
+ VERSION='10.1.0.3'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -3324,7 +3324,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by check_nwc_health $as_me 10.1.0.1, which was
+This file was extended by check_nwc_health $as_me 10.1.0.3, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -3377,7 +3377,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; 
s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-check_nwc_health config.status 10.1.0.1
+check_nwc_health config.status 10.1.0.3
 configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/check_nwc_health-10.1.0.1/configure.ac 
new/check_nwc_health-10.1.0.3/configure.ac
--- old/check_nwc_health-10.1.0.1/configure.ac  2022-02-23 20:36:58.110662500 
+0100
+++ new/check_nwc_health-10.1.0.3/configure.ac  2022-05-05 08:53:37.584561200 
+0200
@@ -1,7 +1,7 @@
 dnl Process this file with autoconf to produce a configure script.
 AC_REVISION ($Revision: 1.150 $)
 AC_PREREQ(2.58)
-AC_INIT(check_nwc_health,10.1.0.1)
+AC_INIT(check_nwc_health,10.1.0.3)
 AM_INIT_AUTOMAKE([1.9 tar-pax])
 AM_MAINTAINER_MODE([disable])
 AC_CANONICAL_HOST
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/check_nwc_health-10.1.0.1/plugins-scripts/Classes/IFMIB/Component/InterfaceSubsystem.pm
 
new/check_nwc_health-10.1.0.3/plugins-scripts/Classes/IFMIB/Component/InterfaceSubsystem.pm
--- 
old/check_nwc_health-10.1.0.1/plugins-scripts/Classes/IFMIB/Component/InterfaceSubsystem.pm
 2022-02-23 20:36:58.130662500 +0100
+++ 
new/check_nwc_health-10.1.0.3/plugins-scripts/Classes/IFMIB/Component/InterfaceSubsystem.pm
 2022-05-05 08:53:37.604561200 +0200
@@ -1,7 +1,7 @@
 package Classes::IFMIB::Component::InterfaceSubsystem;
 our @ISA = qw(Monitoring::GLPlugin::SNMP::Item);
 use strict;
-use JSON;
+use JSON::XS;
 use File::Slurp qw(read_file);
 
 sub init {

Reply via email to