Thank You Pushpa.

I had tried that method. But still I am able to receive traps only if the
snmptrapd and  snmpd run on the same system. I want to receive traps sent
from a remote system.



On Thu, Dec 18, 2014 at 12:15 PM, Pushpa Thimmaiah <
pushpa.thimma...@gmail.com> wrote:
>
> Hi Dharm,
>
> Do you have issue with receiving traps or logging them ?
> If issue with logging then
> Try  'authCommunity <community-name>' to log received traps else snmptrapd
> simply drop them.
>
> Add 'authCommunity log public' in your /etc/snmp/snmptrapd.conf and
> restart snmptrapd
> snmptrapd -c /etc/snmp/snmptrapd.conf -Lf traps.txt
>
> If issue with receiving traps then check what is  'agentAddress' directive
> been set to? ( snmpd.conf)
> Is it set to ' agentAddress udp:127.0.0.1:161' ?
>
>
> Thanks,
> Pushpa.T
>
> On Wed, Dec 17, 2014 at 5:21 PM, Dharm S <dharm.sk2...@gmail.com> wrote:
>
>> Hi All,
>>
>> I am sending traps from an embedded platform which has the net-snmp agent
>> running in it.
>>
>> I have the following lines in snmpd.conf
>>
>> rocommunity public 192.168.10.57
>> rocommunity public 192.168.10.53
>>
>> trap2sink  192.168.10.53 public
>>
>> The agent address is 192.168.10.57. I can see the traps being received on
>> wireshark. But I am not able to view them on terminal or log in any file
>> using
>>    snmptrapd -f -Lo (or) snmptrapd -f -Lf traps.txt
>>
>> snmptrapd.conf has only following line
>>     disableAuthorization yes
>>
>> I am able to log the traps if the snmp agent runs in localhost (same
>> system for snmpd and snmptrapd) . But the traps from remote system are not
>> logged.
>>
>> Kindly help me on this.
>>
>>
>> ------------------------------------------------------------------------------
>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
>> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
>> with Interactivity, Sharing, Native Excel Exports, App Integration & more
>> Get technology previously reserved for billion-dollar corporations, FREE
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
>> _______________________________________________
>> 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/listinfo/net-snmp-users
>>
>>
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
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/listinfo/net-snmp-users

Reply via email to