[Nagiosplug-devel] [ nagiosplug-Patches-691753 ] check_ifstatus enhancement, use snmpLocIfDescr or snmpIfDesc
SourceForge.net
noreply at sourceforge.net
Sun Feb 23 09:27:07 CET 2003
Patches item #691753, was opened at 2003-02-23 11:35
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=691753&group_id=29880
Category: Enhancement
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Mike McHenry (mmchenry)
Assigned to: Nobody/Anonymous (nobody)
Summary: check_ifstatus enhancement, use snmpLocIfDescr or snmpIfDesc
Initial Comment:
This patch enhances the default behavior of
check_ifstatus as follows.
Some devices do not support the snmpLocIfDescr OID
while most Cisco devices do. snmpLocIfDescr contains
the description of the interface on Cisco devices but will
result in errors if run on some non-cisco devices.
The attached patch checks for the presence of
snmpLocIfDescr. If found it will use this variable giving
more information about which port is down. If
snmpLocIfDescr is not found on the device the script
reverts back to snmpIfDescr.
This patch also includes some cosmetic cleanup such
as replacing the <BR> breaks at the end of lines with
commas.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=691753&group_id=29880
More information about the Devel
mailing list