Hello community,

here is the log from the commit of package monitoring-plugins-nwc_health for 
openSUSE:Factory checked in at 2020-09-12 00:12:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/monitoring-plugins-nwc_health (Old)
 and      /work/SRC/openSUSE:Factory/.monitoring-plugins-nwc_health.new.4249 
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "monitoring-plugins-nwc_health"

Sat Sep 12 00:12:20 2020 rev:7 rq:833740 version:7.12.1.3

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/monitoring-plugins-nwc_health/monitoring-plugins-nwc_health.changes
      2020-07-18 21:03:42.947657451 +0200
+++ 
/work/SRC/openSUSE:Factory/.monitoring-plugins-nwc_health.new.4249/monitoring-plugins-nwc_health.changes
    2020-09-12 00:13:09.193250922 +0200
@@ -1,0 +2,6 @@
+Tue Sep  8 18:49:49 UTC 2020 - Martin Hauke <mar...@gmx.de>
+
+- Update to version 7.12.1.3
+  * fix a bug in mode count-routes, update glplugin
+
+-------------------------------------------------------------------

Old:
----
  check_nwc_health-7.12.1.2.tar.gz

New:
----
  check_nwc_health-7.12.1.3.tar.gz

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

Other differences:
------------------
++++++ monitoring-plugins-nwc_health.spec ++++++
--- /var/tmp/diff_new_pack.AaZFsS/_old  2020-09-12 00:13:11.037252687 +0200
+++ /var/tmp/diff_new_pack.AaZFsS/_new  2020-09-12 00:13:11.037252687 +0200
@@ -19,7 +19,7 @@
 
 %define         realname check_nwc_health
 Name:           monitoring-plugins-nwc_health
-Version:        7.12.1.2
+Version:        7.12.1.3
 Release:        0
 Summary:        This plugin checks the health of network components and 
interfaces
 # https://github.com/lausser/check_nwc_health

++++++ check_nwc_health-7.12.1.2.tar.gz -> check_nwc_health-7.12.1.3.tar.gz 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/check_nwc_health-7.12.1.2/ChangeLog 
new/check_nwc_health-7.12.1.3/ChangeLog
--- old/check_nwc_health-7.12.1.2/ChangeLog     2020-07-13 13:19:17.067282200 
+0200
+++ new/check_nwc_health-7.12.1.3/ChangeLog     2020-09-08 14:59:40.745065600 
+0200
@@ -1,3 +1,5 @@
+* 2020-09-08 7.12.1.3
+  fix a bug in mode count-routes, update glplugin
 * 2020-07-13 7.12.1.2
   improve output for connect-vips
 * 2020-07-13 7.12.1.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/check_nwc_health-7.12.1.2/GLPlugin/lib/Monitoring/GLPlugin/SNMP.pm 
new/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP.pm
--- old/check_nwc_health-7.12.1.2/GLPlugin/lib/Monitoring/GLPlugin/SNMP.pm      
2020-07-13 13:19:18.461200000 +0200
+++ new/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin/SNMP.pm      
2020-09-08 14:59:42.353679300 +0200
@@ -224,6 +224,15 @@
       decode => "rfc3986",
   );
   $self->add_arg(
+      spec => '--join-communities',
+      help => '--join-communities
+   It --community2 is used, run the query with community, then community2
+   and add up both results. The default is to use community for the initial
+   handshake and community2 for querying (bgp and ospf)',
+      required => 0,
+      default => 0,
+  );
+  $self->add_arg(
       spec => 'snmpwalk=s',
       help => '--snmpwalk
    A file with the output of a snmpwalk (used for simulation)
@@ -1148,7 +1157,11 @@
     } else {
       my $max_msg_size = $session->max_msg_size();
       #$session->max_msg_size(4 * $max_msg_size);
-      $Monitoring::GLPlugin::SNMP::maxrepetitions = 20;
+      if ($self->opts->protocol eq "1") {
+        $Monitoring::GLPlugin::SNMP::maxrepetitions = 0;
+      } else {
+        $Monitoring::GLPlugin::SNMP::maxrepetitions = 20;
+      }
       $Monitoring::GLPlugin::SNMP::max_msg_size = $max_msg_size;
       $Monitoring::GLPlugin::SNMP::session = $session;
     }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/check_nwc_health-7.12.1.2/GLPlugin/lib/Monitoring/GLPlugin.pm 
new/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin.pm
--- old/check_nwc_health-7.12.1.2/GLPlugin/lib/Monitoring/GLPlugin.pm   
2020-07-13 13:19:18.489199600 +0200
+++ new/check_nwc_health-7.12.1.3/GLPlugin/lib/Monitoring/GLPlugin.pm   
2020-09-08 14:59:42.391276700 +0200
@@ -20,7 +20,7 @@
   $Data::Dumper::Sparseseen = 1;
 };
 our $AUTOLOAD;
-*VERSION = \'3.2.25';
+*VERSION = \'3.2.26.2';
 
 use constant { OK => 0, WARNING => 1, CRITICAL => 2, UNKNOWN => 3 };
 
@@ -1453,7 +1453,8 @@
     # if the device gives us an clearly wrong value, simply use the last value.
     my $laststate = $self->load_state(name => 'protect_'.$ident.'_'.$key);
     $self->debug(sprintf "self->{%s} is %s and invalid for the %dth time",
-        $key, $self->{$key}, $laststate->{exception} + 1);
+        $key, defined $self->{$key} ? $self->{$key} : "<undef>",
+         $laststate->{exception} + 1);
     if ($laststate->{exception} <= 5) {
       # but only 5 times.
       # if the error persists, somebody has to check the device.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/check_nwc_health-7.12.1.2/configure 
new/check_nwc_health-7.12.1.3/configure
--- old/check_nwc_health-7.12.1.2/configure     2020-07-13 13:19:08.470763600 
+0200
+++ new/check_nwc_health-7.12.1.3/configure     2020-09-08 14:59:30.592614000 
+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 7.12.1.2.
+# Generated by GNU Autoconf 2.69 for check_nwc_health 7.12.1.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='7.12.1.2'
-PACKAGE_STRING='check_nwc_health 7.12.1.2'
+PACKAGE_VERSION='7.12.1.3'
+PACKAGE_STRING='check_nwc_health 7.12.1.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 7.12.1.2 to adapt to many kinds of 
systems.
+\`configure' configures check_nwc_health 7.12.1.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 7.12.1.2:";;
+     short | recursive ) echo "Configuration of check_nwc_health 7.12.1.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 7.12.1.2
+check_nwc_health configure 7.12.1.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 7.12.1.2, which was
+It was created by check_nwc_health $as_me 7.12.1.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='7.12.1.2'
+ VERSION='7.12.1.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 7.12.1.2, which was
+This file was extended by check_nwc_health $as_me 7.12.1.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 7.12.1.2
+check_nwc_health config.status 7.12.1.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-7.12.1.2/configure.ac 
new/check_nwc_health-7.12.1.3/configure.ac
--- old/check_nwc_health-7.12.1.2/configure.ac  2020-07-13 13:19:17.108278100 
+0200
+++ new/check_nwc_health-7.12.1.3/configure.ac  2020-09-08 14:59:40.796781000 
+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,7.12.1.2)
+AC_INIT(check_nwc_health,7.12.1.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-7.12.1.2/plugins-scripts/Classes/IPFORWARDMIB/Component/RoutingSubsystem.pm
 
new/check_nwc_health-7.12.1.3/plugins-scripts/Classes/IPFORWARDMIB/Component/RoutingSubsystem.pm
--- 
old/check_nwc_health-7.12.1.2/plugins-scripts/Classes/IPFORWARDMIB/Component/RoutingSubsystem.pm
    2020-07-13 13:19:20.467091200 +0200
+++ 
new/check_nwc_health-7.12.1.3/plugins-scripts/Classes/IPFORWARDMIB/Component/RoutingSubsystem.pm
    2020-09-08 14:59:44.871677200 +0200
@@ -75,10 +75,10 @@
   my $found = {};
   @{$self->{routes}} = grep {
       if (exists $found->{$_->id()}) {
-        return 0;
+        0;
       } else {
         $found->{$_->id()} = 1;
-       return 1;
+       1;
       }
   } @{$self->{routes}};
 }


Reply via email to