From: Ron R. <ron...@ci...> - 2008-07-07 21:09:35
|
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. |