On 21/04/2008, Sathasivam, Elayaraja w=
rote:
> I have installed the net-snmp in my Operation system(RedHat RHEL 5 x86_64)


> I just installed such as
> $ rpm =96i net-snmp-5.4.1-1.fc6.i386.rpm
> $ rpm =96i net-snmp-devel-5.4.1-1.fc6.i386.rpm
> $ rpm =96i net-snmp-perlmods-5.4.1-1.fc6.i386.rpm


Hmmm... you've installed 32-bit binaries on a 64-bit system.
I'm not sure that would work.....


> I have 2 snmpd.conf file from the location
> 1) /var/net-snmp/snmpd.conf (snmpd_1)


This is used by the agent for storing persistent information.
You shouldn't touch this file.
Which is why it says

**** DO NOT EDIT THIS FILE ****

right at the top :-)


> 2) /usr/local/share/snmp/snmpd.conf(snmpd_2)


This would be the correct file for the agent from RPMs listed above.


> I tried with the command
>
> $snmpwalk -c ... -v 1 localhost system
> Output: Timeout: No Response from localhost


Assuming that the bit you've omitted said "public",
then this should have worked.

Always assuming that the agent is running, of course.
How did you start the agent after having installed the RPMs?


> $ snmpwalk -v 1 -c public localhost versiontag
> Output: Timeout: No Response from localhost


Again, that should have worked.
Which makes me suspect that the agent isn't running.

What does
ps -ef | grep snmp
report?


Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference =

Don't miss this year's exciting event. There's still time to save $100. =

Use priority code J8TL2D2. =

http://ad.doubleclick.net/clk;198757....sun.com/java=
one
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...net-snmp-users