Re: Forward SNMPv3 traps from snmptrapd to snmpc

Pushpa Thimmaiah <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAASqVJUVZ_i+ijPg01aBcDR0EbADu=jLc5CHLug0Pruj3i6DeQ@mail.gmail.com>
Hi Sanjay Singh,


Try with adding port number like 'forward default localhost:portnumber'
Eg: forward default 127.0.0.1:4477



On Thu, Sep 3, 2015 at 12:11 PM, Sanjay Singh <[email protected]> wrote:

> How can i forward the Traps received by SNMPTRAPd to SNMPc (Castle Rock
> Manager) Both are running on the same machine (Windows 7)
>
> My entry for snmptrapd.conf is:
>
> authUser log,execute,net myuser
> forward default 127.0.0.1
>
> I am sending the trap like:
>
> snmptrap -Ddumph_send,dumpv_send,usm -v 3 -e
> 0x80001f888098520003ce75500000000 -u myuser -a MD5 -A mypassword1 -x DES -X
> mypassword2 -l authPriv 127.0.0.1 '' localhost 42 coldStart.0
>
> I do receive the trap in snmptrapd log (eventlog): 2015-09-03 00:47:02
> My-PC [UDP: [192.168.0.102]:57409->[0.0.0.0]]:
> DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (42) 0:00:00.42
> SNMPv2-MIB::snmpTrapOID.0 = OID: SNMPv2-MIB::coldStart.0
>
> But I didn't receive any trap in SNMPc although i am using the forward
> directive in the snmpdtrapd.conf file
>
>
> ------------------------------------------------------------------------------
> Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
> Get real-time metrics from all of your servers, apps and tools
> in one place.
> SourceForge users - Click here to start your Free Trial of Datadog now!
> http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
> _______________________________________________
> Net-snmp-users mailing list
> [email protected]
> Please see the following page to unsubscribe or change other options:
> https://lists.sourceforge.net/lists/listinfo/net-snmp-users
>
>

------------------------------------------------------------------------------

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.