[Pkg-nagios-devel] Bug#812837: nagios-snmp-plugins: check_snmp_int.pl can only check IF-MIB::ifDescr when in some cases it should check IF-MIB::ifName

Stephane Lapie stephane.lapie at asahinet.com
Wed Jan 27 03:37:50 UTC 2016


Package: nagios-snmp-plugins
Version: 1.1.1-11
Severity: wishlist

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?

Net-SNMP's snmpd daemon has changed behavior in Debian Jessie,
returning detailed information about the network interfaces in the
IF-MIB::ifDescr MIB.
The original information is still available via IF-MIB::ifName, but
check_snmp_int.pl does not check it.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

Can be reproduced with the following command :
$ /usr/lib/nagios/plugins/check_snmp_int.pl -H testmachine.local -C
haragahetta -2 -n ".*" -N -v -w 80 -c 90

   * What was the outcome of this action?

Alarm at 15 + 5
SNMP v2c login
Filter : .*
OID : 1.3.6.1.2.1.2.2.1.2.1, Desc : lo
Name : lo, Index : 1
OID : 1.3.6.1.2.1.2.2.1.2.2, Desc : Broadcom Corporation NetXtreme II
BCM5709 Gigabit Ethernet
Name : Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet, Index : 2
OID : 1.3.6.1.2.1.2.2.1.2.4, Desc : bond0
Name : bond0, Index : 4
OID : 1.3.6.1.2.1.2.2.1.2.3, Desc : Broadcom Corporation NetXtreme II
BCM5709 Gigabit Ethernet
Name : Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet, Index : 3
lo:UP, Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet:UP,
bond0:UP, Broadcom Corporation NetXtreme II BCM5709 Gigabit
Ethernet:UP:4 UP: OK

   * What outcome did you expect instead?

Alarm at 15 + 5
SNMP v2c login
Filter : .*
OID : 1.3.6.1.2.1.31.1.1.1.1.2, Desc : eth0
Name : eth0, Index : 2
OID : 1.3.6.1.2.1.31.1.1.1.1.4, Desc : bond0
Name : bond0, Index : 4
OID : 1.3.6.1.2.1.31.1.1.1.1.3, Desc : eth1
Name : eth1, Index : 3
OID : 1.3.6.1.2.1.31.1.1.1.1.1, Desc : lo
Name : lo, Index : 1
eth0:UP, bond0:UP, eth1:UP, lo:UP:4 UP: OK

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: 8.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages nagios-snmp-plugins depends on:
ii  libnet-snmp-perl           6.0.1-2
ii  monitoring-plugins-common  2.1.1-1
ii  nagios-plugins-basic       2.1.1-1
ii  perl                       5.20.2-3+deb8u2
ii  perl-base                  5.20.2-3+deb8u2
ii  ucf                        3.0030

Versions of packages nagios-snmp-plugins recommends:
pn  libcrypt-des-perl       <none>
pn  libcrypt-rijndael-perl  <none>

nagios-snmp-plugins suggests no packages.

-- no debconf information
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-nagios-devel/attachments/20160127/81189e8d/attachment.html>


More information about the Pkg-nagios-devel mailing list