Hi Dave, When I try with this command, I am getting the following response on my target and snmpd is not running:
root:/bin> snmpd -f -Le -d -c /etc/snmpd.conf Usage: snmpd [-h lhost] [-p lport] [-c community] The content of my snmpd.conf file is: # sec.name source community com2sec local localhost tst com2sec mynetwork 10.201.179.0/24 tst # sec.model sec.name group MyRWGroup v1 local group MyRWGroup v2c local group MyRWGroup usm local group MyROGroup v1 mynetwork group MyROGroup v2c mynetwork group MyROGroup usm mynetwork # incl/excl subtree mask view all included .1 80 # context sec.model sec.level match read write notif access MyROGroup "" any noauth exact all all none access MyRWGroup "" any noauth exact all all none syslocation WIPRO TECHNOLOGIES, BENGALURU. syscontact Manu A.S. <[EMAIL PROTECTED]> proc mountd proc ntalkd 4 proc sendmail 10 1 exec echotest /bin/echo hello world disk / 10000 load 12 14 14 Dave, Thanks for your immediate response. Best Regards, Manu -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: Thursday, March 06, 2008 4:49 PM To: Manu Asm (WT01 - MCE-Consumer Electronics) Cc: [email protected] Subject: Re: Problem in Porting net-snmp to uClinux On 06/03/2008, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > As you suggested, I have tried to give the path of snmpd.conf in my > run-time environment. The exact command I gave is (snmpd.conf file is > stored under /etc/ at run-time environment): > root:/bin> snmpd -c /etc/snmpd.conf & You shouldn't need to run this in the background. The SNMP agent will fork itself off to run as a daemon automatically. What are the contents of the /etc/snmpd.conf file? Try starting the agent using snmpd -f -Le -d -c /etc/snmpd.conf and then run the "snmpget" query. Do you see anything printed by the snmpd command? Dave ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
