On Mon, 23 Mar 2015, Daniel Bareiro wrote:
# ./check_snmp_int.pl -H 10.1.0.10 -l Us3r -x passw0rd0 \
-X passwOrd1 -L md5,des -n -v
Alarm at 10 + 5
SNMPv3 AuthPriv login : Us3r, md5, des
Filter :
OID : 1.3.6.1.2.1.2.2.1.2.2, Desc : Realtek Semiconductor Co., Ltd.
RTL-8100/8101L/8139 PCI Fast Ethernet Adapter
OID : 1.3.6.1.2.1.2.2.1.2.1, Desc : lo
OID : 1.3.6.1.2.1.2.2.1.2.3, Desc : VIA Technologies, Inc. VT6102 [Rhine-II]
OID : 1.3.6.1.2.1.2.2.1.2.4, Desc : tun0
Name : Realtek Semiconductor Co., Ltd. RTL-8100/8101L/8139 PCI Fast
Ethernet Adapter, Index : 2
Realtek Semiconductor Co., Ltd. RTL-8100/8101L/8139 PCI Fast Ethernet
Adapter:UP:(1 UP): OK |
So I checked the equivalence between ifDescr and ifName:
# snmpwalk -v 3 -u Us3r -l authPriv -a MD5 -A passw0rd0 -x DES \
-X passwOrd1 10.1.0.10 ifDescr
IF-MIB::ifDescr.1 = STRING: lo
IF-MIB::ifDescr.2 = STRING: Realtek Semiconductor Co., Ltd.
RTL-8100/8101L/8139 PCI Fast Ethernet Adapter
IF-MIB::ifDescr.3 = STRING: VIA Technologies, Inc. VT6102 [Rhine-II]
IF-MIB::ifDescr.4 = STRING: tun0
# snmpwalk -v 3 -u Us3r -l authPriv -a MD5 -A passw0rd0 -x DES \
-X passwOrd1 10.1.0.10 ifName
IF-MIB::ifName.1 = STRING: lo
IF-MIB::ifName.2 = STRING: eth1
IF-MIB::ifName.3 = STRING: eth0
IF-MIB::ifName.4 = STRING: tun0
The research you need to do at this point is to find out whether
there was a change to the version of NET-SNMP in the new version of
the OS distribution or a change in the way that the plugin asks for
things from NET-SNMP (check_snmp is but a wrapper around snmpget
after all).
If the if.descr.# OID contains the manufacturer info then it's
going to be utterly useless if you have two cards from the same
manufacturer and need to tell them apart. Use debug mode on the
check_snmp call to see what it's passing to snmpget; check for new
options on check_snmp if the version of the plugins change.
My money's on a change in the plugin that may have either gone
undocumented, or the change-notices were somehow missed as part of
the upgrade process (which can be surprisingly easy). There's a
reason why I write most of my own plugins: if they change, I know
about it before the change happens.
Cheers!
+------------------------------------------------+---------------------+
| Carl Richard Friend (UNIX Sysadmin) | West Boylston |
| Minicomputer Collector / Enthusiast | Massachusetts, USA |
| mailto:crfri...@rcn.com +---------------------+
| http://users.rcn.com/crfriend/museum | ICBM: 42:22N 71:47W |
+------------------------------------------------+---------------------+
_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users