On Tue, 2011-06-28 at 21:09 -0700, sujata patra wrote:
> I have added in snmpd.conf
> agentAddress 127.0.0.1:11161
> 
> If I give snmpwalk request from localhost , it works fine . But from 
> remote host it does not work.
> 
> from remote host I am giving reving request as 
> # snmpwalk -v1 -c public hostname:161  oid
> 
> From local host
> # snmpwalk -v1 -c public localhost:161  oid
> 
> is it expected behaviour ?

Yes, as you are telling it to only listen to the localhost address and
since that is on the loopback interface requests to external interfaces
wont be handled.
 
> What will happen to trap ?

Traps won't be delivered as the config you have specified only adds an
listening address. (the iten you want to read about is trapsink)

> Will it send only to localhost ?

It will only reply to requests on 127.* (depending on how your network
is configured)

As mentioned above it won't send any traps.

/MF


------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to