Running snmp agent as a thread

2011-08-05 Thread jatinder goswami
Hi All, I have a requirement to run SNMP Agent as a thread in my application (The application in running on Linux based embedded system). Following are the changes I have done for same: 1. Modified main() function in agent/snmpd.c to snmpd_main(). 2. Compile snmpd.c as a shared library which is

SNMPv3 EngineID Changed to Random Format?

2011-08-05 Thread Gary Dunlap
Hi. I have Net-SNMP v5.6.1 configured to generate engine IDs in the MAC format, using the snmpd.conf statement engineIDType 3. However, I've noticed some systems configured this way actually running with engineIDs in Net-SNMP's random format. When I tried to debug this by restarting snmpd

Re: Running snmp agent as a thread

2011-08-05 Thread Bart Van Assche
On Fri, Aug 5, 2011 at 9:14 AM, jatinder goswami jatinder.gosw...@gmail.com wrote: I have a requirement to run SNMP Agent as a thread in my application (The application in running on Linux based embedded system). Following are the changes I have done for same: 1. Modified main() function

RE: IF-MIB::ifSpeed shows wrong value for bonded interface

2011-08-05 Thread Dheeraj Gautam
What does ifconfig for your interface say? Following the output of ifconfig on my system. 0= bonded interface eth0 = physical interface eth1 = slave interface [admin@qa04 ~]# ifconfig 0 0 Link encap:Ethernet HWaddr 00:13:CC:01:91:3B inet addr:10.9.1.1 Bcast:10.9.1.255

Re: IF-MIB::ifSpeed shows wrong value for bonded interface

2011-08-05 Thread Garrett Cooper
On Fri, Aug 5, 2011 at 11:32 AM, Dheeraj Gautam dgau...@juniper.net wrote:    What does ifconfig for your interface say? Following the output of ifconfig on my system. 0= bonded interface eth0 = physical interface eth1 = slave interface [admin@qa04 ~]# ifconfig 0 0         Link