On Fri, 3 Sep 2010 14:27:02 -0400
Robert Story <rst...@freesnmp.com> wrote:

> On Fri, 3 Sep 2010 10:35:05 -0700 Stephen wrote:
> SH> This is the correct patch.
> SH> 
> SH> Subject: if-mib: add support for ifAlias
> SH> 
> SH> Linux has a way of recording an ifAlias value for each interface.
> SH> The value is configurable with iproute utilities or sysfs.
> 
> -1 because it doesn't integrate with the existing functionality that allows
> you to set the ifAlias via the MIB. Maybe the two can be tied together for the
> next release. (see agent/mibgroup/if-mib/ifXTable/ifXTable.c)

I have fix to make it keep overrides. But I did not implement setting
kernel ifalias because on most systems snmpd runs as non-root (no cap_netadmin)
and is therefore not allowed to set the value in sysfs (or via netlink).

-- 

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to