kyle-lt / snmp-trap-receiver-extension

Other
0 stars 1 forks source link

SNMP trap not showing as AppDynamics event #2

Open naysz opened 3 years ago

naysz commented 3 years ago

Hello Kyle,

I have tried this extension and getting the expected custom metrics based on the SNMP trap that I sent to AppDynamics. But I didn't find any events or custom events related to the received SNMP trap messages that I sent to this extension. Is this the expected behavior of this extension, or can we use this extension to show SNMP trap message as custom event in AppDynamics?

Thanks

Regards, Yan

kyle-lt commented 3 years ago

Hi Yan,

The traps should indeed result in Custom Events.

The receiver uses the Machine Agent HTTP Listener https://docs.appdynamics.com/display/PRO45/Standalone+Machine+Agent+HTTP+Listener to forward the events, can you confirm that the HTTP listener is enabled and listening on the configured port?

Also, the Custom Events are stored in the Servers -> Events Section - do you have Server Visibility https://docs.appdynamics.com/display/PRO45/Server+Visibility enabled for the Machine Agent?

Best,

Kyle

On Oct 20, 2020, at 10:28 AM, naysz notifications@github.com wrote:

Hello Kyle,

I have tried this extension and getting the expected custom metrics based on the SNMP trap that I sent to AppDynamics. But I didn't find any events or custom events related to the received SNMP trap messages that I sent to this extension. Is this the expected behavior of this extension, or can we use this extension to show SNMP trap message as custom event in AppDynamics?

Thanks

Regards, Yan

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kyle-lt/snmp-trap-receiver-extension/issues/2, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAZTIF6GSGLL2EDNVHATWCDSLWUCVANCNFSM4SYQMD3A.

naysz commented 3 years ago

Hi Yan, The traps should indeed result in Custom Events. The receiver uses the Machine Agent HTTP Listener https://docs.appdynamics.com/display/PRO45/Standalone+Machine+Agent+HTTP+Listener to forward the events, can you confirm that the HTTP listener is enabled and listening on the configured port? Also, the Custom Events are stored in the Servers -> Events Section - do you have Server Visibility https://docs.appdynamics.com/display/PRO45/Server+Visibility enabled for the Machine Agent? Best, Kyle On Oct 20, 2020, at 10:28 AM, naysz @.***> wrote: Hello Kyle, I have tried this extension and getting the expected custom metrics based on the SNMP trap that I sent to AppDynamics. But I didn't find any events or custom events related to the received SNMP trap messages that I sent to this extension. Is this the expected behavior of this extension, or can we use this extension to show SNMP trap message as custom event in AppDynamics? Thanks Regards, Yan — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#2>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAZTIF6GSGLL2EDNVHATWCDSLWUCVANCNFSM4SYQMD3A.

Hi Kyle,

Now I am able to receive the SNMP trap as Custom Events in AppDynamics.

image

But the detail of the trap like trap message is in the Details tab.

image

Can we put the trap message into Custom Event Summary (currently the value is "SNMP Trap")?

The reason is we want to get this custom event through Event API. And in event API result, it only shows event summary, we can't see the details information in it.

image

Thanks!

Regards, Yan

RaneSuraj commented 2 weeks ago

Hello Yan,

We have configured the snmp-trap-receiver extension in our environment, but we are unable to find where exactly and how we can generate the events based on the OID's. Is there any block in config.yml file where we have to add those OID's details. Can you please help me in this.

Thank You, Suraj Rane.