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-01-17 00:22:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/monitoring-plugins-nwc_health (Old)
 and      /work/SRC/openSUSE:Factory/.monitoring-plugins-nwc_health.new.1892 
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "monitoring-plugins-nwc_health"

Mon Jan 17 00:22:48 2022 rev:18 rq:946845 version:10.0.0.2

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/monitoring-plugins-nwc_health/monitoring-plugins-nwc_health.changes
      2021-12-02 02:18:13.106080270 +0100
+++ 
/work/SRC/openSUSE:Factory/.monitoring-plugins-nwc_health.new.1892/monitoring-plugins-nwc_health.changes
    2022-01-17 00:22:51.332192834 +0100
@@ -1,0 +2,7 @@
+Tue Jan 11 22:02:42 UTC 2022 - Martin Hauke <mar...@gmx.de>
+
+- Update to version 10.0.0.2
+  * bugfix in f5 ltm detail output
+  * tweak barracuda hardware-health snmp parameters
+
+-------------------------------------------------------------------

Old:
----
  check_nwc_health-10.0.tar.gz

New:
----
  check_nwc_health-10.0.0.2.tar.gz

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

Other differences:
------------------
++++++ monitoring-plugins-nwc_health.spec ++++++
--- /var/tmp/diff_new_pack.r3ObPM/_old  2022-01-17 00:22:51.780193118 +0100
+++ /var/tmp/diff_new_pack.r3ObPM/_new  2022-01-17 00:22:51.784193120 +0100
@@ -1,8 +1,8 @@
 #
 # spec file for package monitoring-plugins-nwc_health
 #
-# Copyright (c) 2021 SUSE LLC
-# Copyright (c) 2014-2021, Martin Hauke <mar...@gmx.de>
+# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2014-2022, Martin Hauke <mar...@gmx.de>
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
 
 %define         realname check_nwc_health
 Name:           monitoring-plugins-nwc_health
-Version:        10.0
+Version:        10.0.0.2
 Release:        0
 Summary:        This plugin checks the health of network components and 
interfaces
 # https://github.com/lausser/check_nwc_health

++++++ check_nwc_health-10.0.tar.gz -> check_nwc_health-10.0.0.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/check_nwc_health-10.0/ChangeLog 
new/check_nwc_health-10.0.0.2/ChangeLog
--- old/check_nwc_health-10.0/ChangeLog 2021-11-16 21:25:17.070767500 +0100
+++ new/check_nwc_health-10.0.0.2/ChangeLog     2022-01-07 17:10:22.996920200 
+0100
@@ -1,3 +1,7 @@
+* 2022-01-07 10.0.0.2
+  bugfix in f5 ltm detail output
+* 2021-11-22 10.0.0.1
+  tweak barracuda hardware-health snmp parameters
 * 2021-11-16 10.0
   use json for temporary files
 * 2021-10-13 9.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/check_nwc_health-10.0/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/F5BIGIPLOCALMIB.pm
 
new/check_nwc_health-10.0.0.2/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/F5BIGIPLOCALMIB.pm
--- 
old/check_nwc_health-10.0/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/F5BIGIPLOCALMIB.pm
      2021-11-16 21:25:17.610767500 +0100
+++ 
new/check_nwc_health-10.0.0.2/GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/F5BIGIPLOCALMIB.pm
  2022-01-07 17:10:23.486920200 +0100
@@ -131,7 +131,9 @@
   ltmNodeAddrTable => '1.3.6.1.4.1.3375.2.2.4.1.2',
   ltmNodeAddrEntry => '1.3.6.1.4.1.3375.2.2.4.1.2.1',
   ltmNodeAddrAddrType => '1.3.6.1.4.1.3375.2.2.4.1.2.1.1',
+  ltmNodeAddrAddrTypeDefinition => 'INET-ADDRESS-MIB::InetAddressType',
   ltmNodeAddrAddr => '1.3.6.1.4.1.3375.2.2.4.1.2.1.2',
+  ltmNodeAddrAddrDefinition => 
'INET-ADDRESS-MIB::InetAddress(ltmNodeAddrAddrType)',
   ltmNodeAddrConnLimit => '1.3.6.1.4.1.3375.2.2.4.1.2.1.3',
   ltmNodeAddrRatio => '1.3.6.1.4.1.3375.2.2.4.1.2.1.4',
   ltmNodeAddrDynamicRatio => '1.3.6.1.4.1.3375.2.2.4.1.2.1.5',
@@ -159,7 +161,9 @@
   ltmNodeAddrStatTable => '1.3.6.1.4.1.3375.2.2.4.2.3',
   ltmNodeAddrStatEntry => '1.3.6.1.4.1.3375.2.2.4.2.3.1',
   ltmNodeAddrStatAddrType => '1.3.6.1.4.1.3375.2.2.4.2.3.1.1',
+  ltmNodeAddrStatAddrTypeDefinition => 'INET-ADDRESS-MIB::InetAddressType',
   ltmNodeAddrStatAddr => '1.3.6.1.4.1.3375.2.2.4.2.3.1.2',
+  ltmNodeAddrStatAddrDefinition => 
'INET-ADDRESS-MIB::InetAddress(ltmNodeAddrStatAddrType)',
   ltmNodeAddrStatServerPktsIn => '1.3.6.1.4.1.3375.2.2.4.2.3.1.3',
   ltmNodeAddrStatServerBytesIn => '1.3.6.1.4.1.3375.2.2.4.2.3.1.4',
   ltmNodeAddrStatServerPktsOut => '1.3.6.1.4.1.3375.2.2.4.2.3.1.5',
@@ -186,7 +190,9 @@
   ltmNodeAddrStatusTable => '1.3.6.1.4.1.3375.2.2.4.3.2',
   ltmNodeAddrStatusEntry => '1.3.6.1.4.1.3375.2.2.4.3.2.1',
   ltmNodeAddrStatusAddrType => '1.3.6.1.4.1.3375.2.2.4.3.2.1.1',
+  ltmNodeAddrStatusAddrTypeDefinition => 'INET-ADDRESS-MIB::InetAddressType',
   ltmNodeAddrStatusAddr => '1.3.6.1.4.1.3375.2.2.4.3.2.1.2',
+  ltmNodeAddrStatusAddrDefinition => 
'INET-ADDRESS-MIB::InetAddress(ltmNodeAddrStatusAddrType)',
   ltmNodeAddrStatusAvailState => '1.3.6.1.4.1.3375.2.2.4.3.2.1.3',
   ltmNodeAddrStatusAvailStateDefinition => 
'F5-BIGIP-LOCAL-MIB::ltmNodeAddrStatusAvailState',
   ltmNodeAddrStatusEnabledState => '1.3.6.1.4.1.3375.2.2.4.3.2.1.4',
@@ -276,7 +282,9 @@
   ltmPoolMemberEntry => '1.3.6.1.4.1.3375.2.2.5.3.2.1',
   ltmPoolMemberPoolName => '1.3.6.1.4.1.3375.2.2.5.3.2.1.1',
   ltmPoolMemberAddrType => '1.3.6.1.4.1.3375.2.2.5.3.2.1.2',
+  ltmPoolMemberAddrTypeDefinition => 'INET-ADDRESS-MIB::InetAddressType',
   ltmPoolMemberAddr => '1.3.6.1.4.1.3375.2.2.5.3.2.1.3',
+  ltmPoolMemberAddrDefinition => 
'INET-ADDRESS-MIB::InetAddress(ltmPoolMemberAddrType)',
   ltmPoolMemberPort => '1.3.6.1.4.1.3375.2.2.5.3.2.1.4',
   ltmPoolMemberConnLimit => '1.3.6.1.4.1.3375.2.2.5.3.2.1.5',
   ltmPoolMemberRatio => '1.3.6.1.4.1.3375.2.2.5.3.2.1.6',
@@ -306,7 +314,9 @@
   ltmPoolMemberStatEntry => '1.3.6.1.4.1.3375.2.2.5.4.3.1',
   ltmPoolMemberStatPoolName => '1.3.6.1.4.1.3375.2.2.5.4.3.1.1',
   ltmPoolMemberStatAddrType => '1.3.6.1.4.1.3375.2.2.5.4.3.1.2',
+  ltmPoolMemberStatAddrTypeDefinition => 'INET-ADDRESS-MIB::InetAddressType',
   ltmPoolMemberStatAddr => '1.3.6.1.4.1.3375.2.2.5.4.3.1.3',
+  ltmPoolMemberStatAddrDefinition => 
'INET-ADDRESS-MIB::InetAddress(ltmPoolMemberStatAddrType)',
   ltmPoolMemberStatPort => '1.3.6.1.4.1.3375.2.2.5.4.3.1.4',
   ltmPoolMemberStatServerPktsIn => '1.3.6.1.4.1.3375.2.2.5.4.3.1.5',
   ltmPoolMemberStatServerBytesIn => '1.3.6.1.4.1.3375.2.2.5.4.3.1.6',
@@ -352,7 +362,9 @@
   ltmPoolMbrStatusEntry => '1.3.6.1.4.1.3375.2.2.5.6.2.1',
   ltmPoolMbrStatusPoolName => '1.3.6.1.4.1.3375.2.2.5.6.2.1.1',
   ltmPoolMbrStatusAddrType => '1.3.6.1.4.1.3375.2.2.5.6.2.1.2',
+  ltmPoolMbrStatusAddrTypeDefinition => 'INET-ADDRESS-MIB::InetAddressType',
   ltmPoolMbrStatusAddr => '1.3.6.1.4.1.3375.2.2.5.6.2.1.3',
+  ltmPoolMbrStatusAddrDefinition => 
'INET-ADDRESS-MIB::InetAddress(ltmPoolMbrStatusAddrType)',
   ltmPoolMbrStatusPort => '1.3.6.1.4.1.3375.2.2.5.6.2.1.4',
   ltmPoolMbrStatusAvailState => '1.3.6.1.4.1.3375.2.2.5.6.2.1.5',
   ltmPoolMbrStatusAvailStateDefinition => 
'F5-BIGIP-LOCAL-MIB::ltmPoolMbrStatusAvailState',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/check_nwc_health-10.0/GLPlugin/lib/Monitoring/GLPlugin.pm 
new/check_nwc_health-10.0.0.2/GLPlugin/lib/Monitoring/GLPlugin.pm
--- old/check_nwc_health-10.0/GLPlugin/lib/Monitoring/GLPlugin.pm       
2021-11-16 21:25:17.490767500 +0100
+++ new/check_nwc_health-10.0.0.2/GLPlugin/lib/Monitoring/GLPlugin.pm   
2022-01-07 17:10:23.376920200 +0100
@@ -22,7 +22,7 @@
   $Data::Dumper::Sparseseen = 1;
 };
 our $AUTOLOAD;
-*VERSION = \'5.0';
+*VERSION = \'5.0.1.1';
 
 use constant { OK => 0, WARNING => 1, CRITICAL => 2, UNKNOWN => 3 };
 
@@ -897,7 +897,7 @@
       # der fliegt raus, sonst gehts gleich wieder in needs_restart rein
       next if $option eq "runas";
       foreach my $spec (map { $_->{spec} } 
@{$Monitoring::GLPlugin::plugin->opts->{_args}}) {
-        if ($spec =~ /^(\w+)[\|\w+]*=(.*)/) {
+        if ($spec =~ /^([\-\w]+)[\?\+:\|\w+]*=(.*)/) {
           if ($1 eq $option && $2 =~ /s%/) {
             foreach (keys %{$self->opts->$option()}) {
               push(@restart_opts, sprintf "--%s", $option);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/check_nwc_health-10.0/configure 
new/check_nwc_health-10.0.0.2/configure
--- old/check_nwc_health-10.0/configure 2021-11-16 21:25:14.380767500 +0100
+++ new/check_nwc_health-10.0.0.2/configure     2022-01-07 17:10:20.456920200 
+0100
@@ -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.0.
+# Generated by GNU Autoconf 2.69 for check_nwc_health 10.0.0.2.
 #
 #
 # 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.0'
-PACKAGE_STRING='check_nwc_health 10.0'
+PACKAGE_VERSION='10.0.0.2'
+PACKAGE_STRING='check_nwc_health 10.0.0.2'
 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.0 to adapt to many kinds of 
systems.
+\`configure' configures check_nwc_health 10.0.0.2 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.0:";;
+     short | recursive ) echo "Configuration of check_nwc_health 10.0.0.2:";;
    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.0
+check_nwc_health configure 10.0.0.2
 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.0, which was
+It was created by check_nwc_health $as_me 10.0.0.2, 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.0'
+ VERSION='10.0.0.2'
 
 
 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.0, which was
+This file was extended by check_nwc_health $as_me 10.0.0.2, 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.0
+check_nwc_health config.status 10.0.0.2
 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.0/configure.ac 
new/check_nwc_health-10.0.0.2/configure.ac
--- old/check_nwc_health-10.0/configure.ac      2021-11-16 21:25:17.070767500 
+0100
+++ new/check_nwc_health-10.0.0.2/configure.ac  2022-01-07 17:10:22.996920200 
+0100
@@ -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.0)
+AC_INIT(check_nwc_health,10.0.0.2)
 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.0/plugins-scripts/Classes/Barracuda.pm 
new/check_nwc_health-10.0.0.2/plugins-scripts/Classes/Barracuda.pm
--- old/check_nwc_health-10.0/plugins-scripts/Classes/Barracuda.pm      
2021-11-16 21:25:17.210767500 +0100
+++ new/check_nwc_health-10.0.0.2/plugins-scripts/Classes/Barracuda.pm  
2022-01-07 17:10:23.116920200 +0100
@@ -6,6 +6,7 @@
 sub init {
   my ($self) = @_;
   if ($self->mode =~ /device::hardware::health/) {
+    $self->bulk_is_baeh(5);
     
$self->analyze_and_check_environmental_subsystem("Classes::Barracuda::Component::EnvironmentalSubsystem");
   } elsif ($self->mode =~ /device::hardware::load/) {
     
$self->analyze_and_check_cpu_subsystem("Classes::UCDMIB::Component::CpuSubsystem");
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/check_nwc_health-10.0/plugins-scripts/Classes/F5/F5BIGIP/Component/LTM.pm 
new/check_nwc_health-10.0.0.2/plugins-scripts/Classes/F5/F5BIGIP/Component/LTM.pm
--- 
old/check_nwc_health-10.0/plugins-scripts/Classes/F5/F5BIGIP/Component/LTM.pm   
    2021-11-16 21:25:17.300767500 +0100
+++ 
new/check_nwc_health-10.0.0.2/plugins-scripts/Classes/F5/F5BIGIP/Component/LTM.pm
   2022-01-07 17:10:23.196920200 +0100
@@ -166,12 +166,30 @@
   }
   foreach ($self->get_snmp_table_objects_with_cache(
       'F5-BIGIP-LOCAL-MIB', 'ltmPoolMemberTable', 'ltmPoolMemberPoolName')) {
-    $_->{ltmPoolMemberAddr} = $self->unhex_ip($_->{ltmPoolMemberAddr});
     foreach my $auxmbr (@auxpoolmbrstatus) {
       if ($_->{ltmPoolMemberPoolName} eq $auxmbr->{ltmPoolMbrStatusPoolName} &&
-          $_->{ltmPoolMemberPort} eq $auxmbr->{ltmPoolMbrStatusPort} &&
-          $_->{ltmPoolMemberAddrType} eq $auxmbr->{ltmPoolMbrStatusAddrType} &&
-          $_->{ltmPoolMemberAddr} eq $auxmbr->{ltmPoolMbrStatusAddr}) {
+          $_->{ltmPoolMemberPort} eq $auxmbr->{ltmPoolMbrStatusPort} && ((
+              $_->{ltmPoolMemberNodeName} && 
$auxmbr->{ltmPoolMbrStatusNodeName} &&
+              $_->{ltmPoolMemberNodeName} eq 
$auxmbr->{ltmPoolMbrStatusNodeName} 
+          ) || (
+              (! $_->{ltmPoolMemberNodeName} || ! 
$auxmbr->{ltmPoolMbrStatusNodeName}) &&
+              $_->{ltmPoolMemberAddrType} eq 
$auxmbr->{ltmPoolMbrStatusAddrType} &&
+              # allerletzter Ausweg, eigentlich kommen hier nur 
Zufallstreffer, weil
+              # ltmPoolMemberAddr eine Addresse aus Sicht des Pools ist,
+              # ltmPoolMbrStatusAddr eine "private" Adresse des Members sein 
kann.
+              $_->{ltmPoolMemberAddr} eq $auxmbr->{ltmPoolMbrStatusAddr}
+              # Und sowas gibt's auch:
+              # ltmPoolMemberAddrType ipv6
+              # ltmPoolMemberAddr 0000:0000:0000:0000:0000:0000:0000:0000
+              # und der laut ltmPoolMemberNodeName == ltmPoolMbrStatusNodeName 
zugehoerige
+              # ltmPoolMbrStatus-Eintrag lautet:
+              # ltmPoolMbrStatusNodeName /Common/orac3-nod02.dingsbums.com
+              # ltmPoolMbrStatusAddrType ipv6
+              # ltmPoolMbrStatusAddr 48.48.48.48
+              # Da kotz ich im Strahl. Abgesehen davon, da?? :: eh mehr 
dummymaessig aussieht,
+              # und das ganze Dings nicht ernstzunehmen ist.
+          )) 
+      ) {
         foreach my $key (keys %{$auxmbr}) {
           next if $key =~ /.*indices$/;
           $_->{$key} = $auxmbr->{$key};
@@ -184,6 +202,7 @@
               $_->{ltmPoolMemberNodeName} && 
$auxmember->{ltmPoolMemberStatNodeName} &&
               $_->{ltmPoolMemberNodeName} eq 
$auxmember->{ltmPoolMemberStatNodeName}
           ) || (
+              (! $_->{ltmPoolMemberNodeName} || ! 
$auxmember->{ltmPoolMemberStatNodeName}) &&
               $_->{ltmPoolMemberAddrType} eq 
$auxmember->{ltmPoolMemberStatAddrType}
  &&
               $_->{ltmPoolMemberAddr} eq $auxmember->{ltmPoolMemberStatAddr}
@@ -211,7 +230,7 @@
     my @auxnodeaddrstatus = ();
     foreach ($self->get_snmp_table_objects(
         'F5-BIGIP-LOCAL-MIB', 'ltmNodeAddrStatusTable')) {
-      $_->{ltmNodeAddrStatusAddr} = 
$self->unhex_ip($_->{ltmNodeAddrStatusAddr});
+      #$_->{ltmNodeAddrStatusAddr} = 
$self->unhex_ip($_->{ltmNodeAddrStatusAddr});
       push(@auxnodeaddrstatus, $_);
     }
     foreach my $poolmember (@{$self->{poolmembers}}) {

Reply via email to