Bug 206217 - bsnmpd should use the value set by "ifconfig <if> description <desc>" in ifAlias
Summary: bsnmpd should use the value set by "ifconfig <if> description <desc>" in ifAlias
Status: Closed Overcome By Events
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 10.2-RELEASE
Hardware: Any Any
: --- Affects Some People
Assignee: Hartmut Brandt
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2016-01-13 22:34 UTC by peter
Modified: 2018-08-02 06:46 UTC (History)
2 users (show)

See Also:
koobs: mfc-stable10?


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description peter 2016-01-13 22:34:08 UTC
Most managed switches have the ability to set a descriptive name on interfaces. These descriptive names are fetchable via snmp and ifAlias. Many networking monitoring tools use this heavily.

It would be very useful if bsnmpd adopted the same behavior and used the description set with ifconfig <if> description <desc> for the ifAlias.

I have found that this is set in /usr/src/contrib/bsnmp/snmp_mibII/mibII_interfaces.c:531 but since Im no programmer I have no idea how to populate it correctly.
Comment 1 Marie Helene Kvello-Aune 2016-02-20 03:04:27 UTC
I see this was fixed in base r294507. ifAlias is now populated with the interfaces description if present, and an empty string otherwise.
Comment 2 Kubilay Kocak freebsd_committer freebsd_triage 2016-02-20 06:11:36 UTC
Assign to committer that resolved in HEAD

Pending MFC candidate

Set mfc-stableX flag to - if not an MFC candidate with comment, OR
Set mfc-stableX flag to + when merged
Comment 3 Eitan Adler freebsd_committer freebsd_triage 2018-05-23 10:27:54 UTC
batch change of PRs untouched in 2018 marked "in progress" back to open.
Comment 4 Marie Helene Kvello-Aune 2018-06-19 08:28:05 UTC
This PR may be closed as a fix was committed in base r294507.