We build net-snmp 5.4.1 from scratch, and run it on an embedded Linux
with  kernel 2.6.16.

  How does the snmpd agent keep ifOperStatus up to date?

  net-snmp appears to offer multiple methods for a Linux system:

- agent/mibgroup/if-mib/data_access/interface_sysctl.c
netsnmp_arch_interface_container_load()

- agent/mibgroup/if-mib/data_access/interface_ioctl.c
netsnmp_access_interface_ioctl_flags_get()

  From context, I guess that the sysctl method is used when the agent
first sets up ifTable, while the ioctl method is used afterwards.

  Does snmpd have an option to use ethtool if that method is available?

  Thanks for any guidance,

  Ron



The information contained in this message may be privileged and confidential 
and protected from disclosure. If the reader of this message is not the 
intended recipient, or an employee or agent responsible for delivering this 
message to the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this communication in error, please notify us 
immediately by replying to the message and deleting all copies. Thank you.

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to