This makes it works. Thanks.

edit
/etc/defaults/snmpd

change the line:
SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -I -smux -p /var/run/snmpd.pid
127.0.0.1'

with the following:
SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -I -smux -p /var/run/snmpd.pid'

then issue:
sudo /etc/init.d/snmpd reload

On Fri, Jan 4, 2013 at 3:03 PM, Suna Sana <sureshsciluti...@gmail.com>wrote:

> the netstat results
> netstat -a -u
> Proto Recv-Q Send-Q Local Address                       Foreign Address
>       State
> udp        0       0         localhost.localdom:snmp        *:*
>
>
> On Fri, Jan 4, 2013 at 2:54 PM, Suna Sana <sureshsciluti...@gmail.com>wrote:
>
>> Its only responding to the loopback 127.0.0.1 not even  for the local
>> linux ip(192.168.1.90) too.
>>
>> snmpget -v2c -c public 127.0.0.1 1.3.6.1.2.1.1.1.0
>> SNMPv2-MIB::sysDescr.0 = STRING: Linux xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>>
>> snmpget -v2c -c public 192.168.1.90 1.3.6.1.2.1.1.1.0
>> Timeout: No Response from 192.168.1.90.
>>
>> What will be the issue?
>>
>> On Fri, Jan 4, 2013 at 2:37 PM, Dave Shield 
>> <d.t.shi...@liverpool.ac.uk>wrote:
>>
>>> On 4 January 2013 19:19, Niels Baggesen <n...@users.sourceforge.net>
>>> wrote:
>>>  Is there a firewall ..... on the Linux host, that blocks SNMP?
>>>
>>>
>>> That was my immediate reaction too.
>>> If you're running iptables, and haven't tweaked the default settings,
>>> it probably only accepts incoming requests for specific, known services
>>> (which wouldn't include SNMP)
>>>
>>> That wouldn't affect the localhost queries, as the default iptables
>>> setup would typically allow anything from 127.0.0.1
>>> But it would block queries from another source, unless you open
>>> up the firewall to allow them (or turn it off altogether)
>>>
>>> The other thing to check is how the agent has been started.
>>> If it's only listening on interface 127.0.0.1, then it wouldn't
>>> respond to remote queries either.
>>>    But I'd start by looking at iptables.
>>>
>>> Dave
>>>
>>
>>
>
------------------------------------------------------------------------------
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to