Hi Sanjay Singh,
Try with adding port number where SNMPc listening to . 'forward default localhost:portnumber' Eg: forward default 127.0.0.1:4477 On Mon, Oct 5, 2015 at 4:56 PM, Pushpa Thimmaiah <pushpa.thimma...@gmail.com > wrote: > 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 <singhsa...@gmail.com> > 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 >> 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 >> >> >
------------------------------------------------------------------------------
_______________________________________________ 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