Hello community,

here is the log from the commit of package monitoring-plugins-nwc_health for 
openSUSE:Leap:15.2 checked in at 2020-02-19 18:47:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/monitoring-plugins-nwc_health (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.monitoring-plugins-nwc_health.new.26092 
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "monitoring-plugins-nwc_health"

Wed Feb 19 18:47:11 2020 rev:1 rq:775847 version:7.10.1.8

Changes:
--------
New Changes file:

--- /dev/null   2019-12-19 10:12:34.003146842 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2/.monitoring-plugins-nwc_health.new.26092/monitoring-plugins-nwc_health.changes
 2020-02-19 18:47:12.318899665 +0100
@@ -0,0 +1,631 @@
+-------------------------------------------------------------------
+Tue Jan 21 18:18:09 UTC 2020 - Martin Hauke <[email protected]>
+
+- Update to version 7.10.1.8
+  * fix a bug in Cisco memory, for Cisco emulation mode of
+    Bel VPN Gate
+
+-------------------------------------------------------------------
+Mon Jan 20 21:48:42 UTC 2020 - Martin Hauke <[email protected]>
+
+- Update to version 7.10.1.7
+  * fix redundant argument in sprintf
+  * fix operstatus in linuxlocal
+
+-------------------------------------------------------------------
+Thu Jan 16 19:59:29 UTC 2020 - Martin Hauke <[email protected]>
+
+- Update to version 7.10.1.6
+  * fix a bug in verbose mode if --nosensors is used
+
+-------------------------------------------------------------------
+Sat Dec  7 14:01:29 UTC 2019 - Martin Hauke <[email protected]>
+
+- Update to version 7.10.1.5
+  * update GLPlugin, reduce default maxrepetitions to 20
+
+-------------------------------------------------------------------
+Thu Dec  5 18:41:48 UTC 2019 - Martin Hauke <[email protected]>
+
+- Update to version 7.10.1.4
+  * reduce maxrepetitions for f5 sysCpuTable and ifTables
+
+-------------------------------------------------------------------
+Wed Dec  4 19:09:45 UTC 2019 - Martin Hauke <[email protected]>
+
+- Update to version 7.10.1.3
+  * add --nosensors which skips endless entSensor[Threshold]Table
+    for Nexuses
+
+-------------------------------------------------------------------
+Mon Nov 25 17:12:18 UTC 2019 - Martin Hauke <[email protected]>
+
+- Update to version 7.10.1.2
+  * fix a division by 0 for cisco reserved memory
+
+-------------------------------------------------------------------
+Tue Oct  8 11:13:22 UTC 2019 - Martin Hauke <[email protected]>
+
+- Update to version 7.10.1.1
+  * fix a bug in cisco wlan accesspoint-modes (InetAddrType)
+  * add session-usage for palo alto
+  * update glplugin, more nexus hardware-health improvements
+
+-------------------------------------------------------------------
+Thu Aug 29 20:54:49 UTC 2019 - Martin Hauke <[email protected]>
+
+- Update to version 7.10.0.6
+  * reduce runtime for nexus hardware-health
+
+-------------------------------------------------------------------
+Tue Aug 27 09:50:13 UTC 2019 - Martin Hauke <[email protected]>
+
+- Update to version 7.10.0.5
+  * fix EIGRP filtering
+
+-------------------------------------------------------------------
+Mon Jul 29 20:10:33 UTC 2019 - Martin Hauke <[email protected]>
+
+- Update to version 7.10.0.4.1
+  * fix a bug in fortigate ha-role
+  * fix a bug in interface-uptime
+
+-------------------------------------------------------------------
+Sun Jul 21 15:49:35 UTC 2019 - Martin Hauke <[email protected]>
+
+- Update to version 7.10.0.3
+  * fix a bug in interface-uptime
+  * fix a bug in mode ha-role for Fortigate
+
+-------------------------------------------------------------------
+Tue Jun 25 14:02:49 UTC 2019 - Martin Hauke <[email protected]>
+
+- Update to version 7.10.0.1
+  * fix a bug in bgp/route modes for the non-standalone version
+    (InetAddressMaker)
+
+-------------------------------------------------------------------
+Fri Jun 21 21:26:21 UTC 2019 - Martin Hauke <[email protected]>
+
+- Update to version 7.10
+  * remove duplicate routes (ip-table + inet-table)
+  * --report long+address shows ip addresses for interfaces
+
+-------------------------------------------------------------------
+Sun Jun 16 09:08:13 UTC 2019 - Martin Hauke <[email protected]>
+
+- Update to version 7.9.0.4
+  * finish barracuda ha-role mode
+
+-------------------------------------------------------------------
+Fri Jun 14 14:22:31 UTC 2019 - Martin Hauke <[email protected]>
+
+- Update to versio 7.9.0.3
+  * detect f5 firmware versions 14+
+
+-------------------------------------------------------------------
+Thu Jun 13 19:02:47 UTC 2019 - Martin Hauke <[email protected]>
+
+- Update to version 7.9.0.2
+  * fix routes. inetCidrRouteTable does not really replace
+    ipCidrRouteTable
+- Update to version  7.9.0.1
+  * fallback to BGP4-MIB if CISCO-BGP4-MIB is incomplete
+* Update to version  7.9
+  * add EIGRP
+  * fix ASA user/connection/session-count
+
+-------------------------------------------------------------------
+Sun Jun  9 10:01:06 UTC 2019 - Martin Hauke <[email protected]>
+
+- Update to version 7.8
+  * GLPlugin with better ip4/ip6 handling
+  * Fix huawei subclasses
+  * Interfaces --name filter expression can contain _adminup_ as a
+    secondary filter
+  * Route modes can handle v6
+  * Use OSPFV3-MIB, support v6
+  * Add CISCO-BGP4-MIB, support v6
+
+-------------------------------------------------------------------
+Fri Apr 26 20:21:44 UTC 2019 - Martin Hauke <[email protected]>
+
+- Add perl-Net-SNMP to Requires
+
+-------------------------------------------------------------------
+Sun Apr 14 10:48:02 UTC 2019 - Martin Hauke <[email protected]>
+
+- Update to version 7.7
+  * add Barracuda
+  * add mode count-connections for F5
+
+-------------------------------------------------------------------
+Thu Apr  4 08:20:47 UTC 2019 - David Liedke <[email protected]>
+
+- Update to version 7.6
+  * add mode watch-ospf-neighbors 
+
+-------------------------------------------------------------------
+Mon Mar 18 08:35:18 UTC 2019 - [email protected] - 7.5.0.1
+
+- Update to version 7.5.0.1
+  *  remove adsl-line-mib
+- Update check_nwc_health.php to version 1.1 to work with pnp 0.6.25 
+  and beyond
+- use %%license macro where appropriate
+- use new SPDX license description
+
+-------------------------------------------------------------------
+Mon Feb 18 15:21:08 UTC 2019 - Martin Hauke <[email protected]>
+
+- Update to version 7.5
+  * add Draytek Vigor
+  * add mode interface-security (cisco)
+  * finish ha-status for cisco wlc
+  * start ha for cisco wlc
+  * improve paloalto uptime model string
+  * improve ucd memory
+  * fix cisco bgp for routers which do not export the proptietary mib, but bgp4
+  * fix undefs for Huawei with older Mibs
+  * fix fortigate sensors
+  * detect more Huawei devices
+  * use proprietary bgp mib for cisco (and add ipv6)
+  * make ospd v6-ready
+  * add servertpe generic_ucd
+  * fix ciscoipsecflow fail timestamps
+  * add modes ha-status/role for fortigate
+  * update glplugin (CISCO-STACKWISE-MIB)
+  * update glplugin (for go-worker)
+  * better fortigate detection
+
+-------------------------------------------------------------------
+Sat Sep 29 18:59:27 UTC 2018 - [email protected]
+
+- Update to version 7.3.0.2
+  * update glplugin
+- Update to version 7.3.0.1
+  * re-enable Huawei CloudEngine support
+- Update to version 7.3
+  * update stack-status
+  * add servertype hostresource
+  * update cisco vpn-status
+
+-------------------------------------------------------------------
+Sat Aug 18 18:00:21 UTC 2018 - [email protected]
+
+- Update to version 7.2.0.2
+  * bugfix in interface-modes where –name3 found no match
++++ 434 more lines (skipped)
++++ between /dev/null
++++ and 
/work/SRC/openSUSE:Leap:15.2/.monitoring-plugins-nwc_health.new.26092/monitoring-plugins-nwc_health.changes

New:
----
  check_nwc_health-7.10.1.8.tar.gz
  check_nwc_health.php
  monitoring-plugins-nwc_health.changes
  monitoring-plugins-nwc_health.spec

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

Other differences:
------------------
++++++ monitoring-plugins-nwc_health.spec ++++++
#
# spec file for package monitoring-plugins-nwc_health
#
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017, Martin Hauke <[email protected]>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via https://bugs.opensuse.org/
#


%define         realname check_nwc_health
Name:           monitoring-plugins-nwc_health
Version:        7.10.1.8
Release:        0
Summary:        This plugin checks the health of network components and 
interfaces
# https://github.com/lausser/check_nwc_health
License:        GPL-2.0-or-later
Group:          System/Monitoring
URL:            https://labs.consol.de/nagios/check_nwc_health/
Source:         
https://labs.consol.de/assets/downloads/nagios/%{realname}-%{version}.tar.gz
# 
https://raw.githubusercontent.com/lausser/check_nwc_health/master/check_nwc_health.php
Source1:        check_nwc_health.php
BuildRequires:  make
BuildRequires:  nagios-rpm-macros
Provides:       nagios-plugins-nwc_health = %{version}-%{release}
Obsoletes:      nagios-plugins-nwc_health < %{version}-%{release}
Requires:       perl-Nagios-Plugin
Requires:       perl-Net-SNMP
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

%description
This plugin checks the hardware health and various interface metrics of
network components like switches and routers.

%prep
%setup -q -n %{realname}-%{version}

%build
%configure \
        --libexecdir=%{nagios_plugindir} \
        --with-nagios-user=%{nagios_user} \
        --with-nagios-group=%{nagios_group} \
        --with-perl=%{_bindir}/perl \
        --with-degrees=celsius \
        --enable-perfdata \
        --enable-hwinfo
make %{?_smp_mflags}

%install
mkdir -p %{buildroot}/%{nagios_plugindir}
make DESTDIR=%{buildroot} install %{?_smp_mflags}
install -D -m644 %{SOURCE1} 
%{buildroot}/%{pnp4nagios_templatedir}/check_nwc_health.php

%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog README TODO
%license COPYING
# avoid build dependency of nagios - own the dirs
%dir %{nagios_libdir}
%{nagios_plugindir}/
%dir %{pnp4nagios_datadir}
%dir %{pnp4nagios_templatedir}
%{pnp4nagios_templatedir}/check_nwc_health.php

%changelog
++++++ check_nwc_health.php ++++++
<?php
#
# This is a template for the visualisation addon PNP (http://www.pnp4nagios.org)
#
# Plugin: check_nwc_health - https://labs.consol.de/nagios/check_nwc_health/
# Release 1.1 2015-09-15
#

$def[1] = "";
$opt[1] = "";

$_WARNRULE = '#FFFF00';
$_CRITRULE = '#FF0000';

$num = 1;
foreach ($DS as $i=>$VAL) {

    # eth0_usage_in / out
    # GigabitEthernet 0/0_usage_in / out
    if(preg_match('/^(.*?)_usage_in/', $NAME[$i])) {
        $interface = preg_replace('/_.*$/', '', $LABEL[$i]);
        $ds_name[$num] = $interface.' usage';
        $opt[$num]  = "--vertical-label \"Usage\" -l 0 -u 100 --title 
\"Interface Usage for $hostname - ".$interface."\" ";
        $def[$num]  = "DEF:percin=$RRDFILE[$i]:$DS[$i]:AVERAGE ";
        $def[$num] .= "DEF:percout=".$RRDFILE[$i+1].":".$DS[$i+1].":AVERAGE ";
        $def[$num] .= "LINE2:percin#00e060:\"in\t\" ";
        $def[$num] .= "GPRINT:percin:LAST:\"%10.1lf %% last\" ";
        $def[$num] .= "GPRINT:percin:AVERAGE:\"%7.1lf %% avg\" ";
        $def[$num] .= "GPRINT:percin:MAX:\"%7.1lf %% max\\n\" ";
        $def[$num] .= "LINE2:percout#0080e0:\"out\t\" ";
        $def[$num] .= "GPRINT:percout:LAST:\"%10.1lf %% last\" ";
        $def[$num] .= "GPRINT:percout:AVERAGE:\"%7.1lf %% avg\" ";
        $def[$num] .= "GPRINT:percout:MAX:\"%7.1lf %% max\"\\n ";
        $def[$num] .= rrd::hrule($WARN[$i], $_WARNRULE);
        $def[$num] .= rrd::hrule($CRIT[$i], $_CRITRULE);
        $num++;
    }

    # eth0_traffic_in / out
    # GigabitEthernet 0/0_traffic_in / out
    if(preg_match('/^(.*?)_traffic_in/', $NAME[$i])) {
        $interface = preg_replace('/_.*$/', '', $LABEL[$i]);
        $ds_name[$num] = $interface.' traffic';
        $opt[$num]  = "--vertical-label \"Traffic\" -b 1024 --title \"Interface 
Traffic for $hostname - $interface\" ";
        $def[$num]  = "DEF:bitsin=$RRDFILE[$i]:$DS[$i]:AVERAGE ";
        $def[$num] .= "DEF:bitsout=".$RRDFILE[$i+1].":".$DS[$i+1].":AVERAGE ";
        $def[$num] .= "AREA:bitsin#00e060:\"in\t\" ";
        $def[$num] .= "GPRINT:bitsin:LAST:\"%10.1lf %Sb/s last\" ";
        $def[$num] .= "GPRINT:bitsin:AVERAGE:\"%7.1lf %Sb/s avg\" ";
        $def[$num] .= "GPRINT:bitsin:MAX:\"%7.1lf %Sb/s max\\n\" ";
        $def[$num] .= "CDEF:bitsminusout=0,bitsout,- ";
        $def[$num] .= "AREA:bitsminusout#0080e0:\"out\t\" ";
        $def[$num] .= "GPRINT:bitsout:LAST:\"%10.1lf %Sb/s last\" ";
        $def[$num] .= "GPRINT:bitsout:AVERAGE:\"%7.1lf %Sb/s avg\" ";
        $def[$num] .= "GPRINT:bitsout:MAX:\"%7.1lf %Sb/s max\\n\" ";
        $num++;
    }

}
?>

Reply via email to