Discussion:
Forward SNMPv3 traps from snmptrapd to snmpc
(too old to reply)
Pushpa Thimmaiah
2015-10-05 11:26:46 UTC
Permalink
Hi Sanjay Singh,


Try with adding port number like 'forward default localhost:portnumber'
Eg: forward default 127.0.0.1:4477
How can i forward the Traps received by SNMPTRAPd to SNMPc (Castle Rock
Manager) Both are running on the same machine (Windows 7)
authUser log,execute,net myuser
forward default 127.0.0.1
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
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
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Pushpa Thimmaiah
2015-10-05 11:28:08 UTC
Permalink
Hi Sanjay Singh,


Try with adding port number where SNMPc listening to . 'forward default
localhost:portnumber'
Eg: forward default 127.0.0.1:4477
Post by Pushpa Thimmaiah
Hi Sanjay Singh,
Try with adding port number like 'forward default localhost:portnumber'
Eg: forward default 127.0.0.1:4477
How can i forward the Traps received by SNMPTRAPd to SNMPc (Castle Rock
Manager) Both are running on the same machine (Windows 7)
authUser log,execute,net myuser
forward default 127.0.0.1
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
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
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Pranesh Kulkarni
2015-10-06 03:10:08 UTC
Permalink
instead of 127.0.0.1 give actual IP address
How can i forward the Traps received by SNMPTRAPd to SNMPc (Castle Rock
Manager) Both are running on the same machine (Windows 7)
authUser log,execute,net myuser
forward default 127.0.0.1
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
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
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
--
Thanks,
Pranesh
Loading...