Hi Atul,  It looks like there is port mismatch. The snmp container is listening 
on 6162 (vm port) and the snmp trap being simulated sends to 162 hence no trace 
of it on the logs. You can restart the container to bind internal 6162 port to 
162 VM port (using -p 162:6162/udp option)

Regards,
Vijay
From: onap-discuss@lists.onap.org <onap-discuss@lists.onap.org> On Behalf Of 
Atul Shegokar
Sent: Friday, July 06, 2018 2:27 AM
To: onap-discuss@lists.onap.org
Subject: [onap-discuss] Sending SNMP trap

Hi All,

we have setup snmptrap collector from nexus repo as 
nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.snmptrap and it up and 
running, PFB snapshot of it.

[cid:image001.png@01D4150E.3E54D760]

When fired cmd as "sudo snmptrap -v 2c -c public localhost '' 
1.3.6.1.4.1.8072.2.3.0.1 1.3.6.1.4.1.8072.2.3.2.1 i 123456" for sending we are 
not getting any resonse. Also trap is not getting send to snmpcollector.

Tried looking for logs in /opt/app/snmptrap/logs/snmptrapd_arriving_traps.log 
and  /opt/app/snmptrap/logs/DMAAP_ONAP-COLLECTOR-SNMPTRAP.json, No logs are 
generated.

Can anyone please tell me how to send traps to snmptrap collector

Anyone tried this before/any inputs on this ? Thanks in advance!

Thanks
Atul Shegokar

============================================================================================================================
Disclaimer:  This message and the information contained herein is proprietary 
and confidential and subject to the Tech Mahindra policy statement, you may 
review the policy at 
http://www.techmahindra.com/Disclaimer.html<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.techmahindra.com_Disclaimer.html&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=6WYcUG7NY-ZxfqWx5MmzVQ&m=kC7rtFuDVTLp_1OK_OUSEJioRE6NV-4C21jfYdq5f6c&s=947uHLp9W2CGX5oQoMvU-vT3ZwANJh5pdtx134f5tfE&e=>
 externally 
http://tim.techmahindra.com/tim/disclaimer.html<https://urldefense.proofpoint.com/v2/url?u=http-3A__tim.techmahindra.com_tim_disclaimer.html&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=6WYcUG7NY-ZxfqWx5MmzVQ&m=kC7rtFuDVTLp_1OK_OUSEJioRE6NV-4C21jfYdq5f6c&s=TrRi7NmK1w0nVWsgFm-1Lu3nyig4oDdWuIE5WviiDJg&e=>
 internally within TechMahindra.
============================================================================================================================


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#10927): https://lists.onap.org/g/onap-discuss/message/10927
Mute This Topic: https://lists.onap.org/mt/23171561/21656
Group Owner: onap-discuss+ow...@lists.onap.org
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to