23 Apr 2024 04:47 PM - last edited on 07 Jun 2024 02:15 PM by Michal_Gebacki
Hi Everyone...
I have Dynatrace SAS and in our organization we have monitoring infrastructure (DX UIM) of broadcom.
We need sent the events/alerts from Dynatrace to DX UIM. Is possible this ?
I am thinking in traps_snmp, but i don't see that documentation explainthis...
Any sugerence ?
Solved! Go to Solution.
23 Apr 2024 08:10 PM
First of all, traps are old technology (used it first some 35 years ago 😂).
Second, Dynatrace does not send SNMP traps, and this would not be particularly easy originating from a Dynatrace SaaS environment.
Now, given what SNMP traps are, you (or someone else...) could easily develop a Dynatrace extension, that could easily read the events/problems API and send traps accordingly. I would focus probably on events, as they are more SNMP traps comparable. The new Dynatrace platform features (eg. AutomationEngine) are probably not applicable here, as EdgeConnect is not able to originate UDP traffic, which is needed for SNMP traps.
This is a project that would consume some 50 development hours, for someone that is familiar with Dynatrace extensions. But you probably have even other options besides traps, and although I have never interfaced with DX UIM, I have done similar things with other CA/Broadcom offerings. And there you might even be able to use EdgeConnect...
23 Apr 2024 08:35 PM
Hi @AntonioSousa I say traps because although it is old technology, many solutions still use it and it works correctly. In fact, in communications equipment, the state of its components is effective through traps.
I'm going to explore what you mention, however, I see that someone Dynatrace created this process...
Best Regards...!!!
23 Apr 2024 10:09 PM
It's old technology and mostly it works correctly: say, if you've got a device that is at 100ºC, emits an UDP/SNMP trap and that packet gets lost, as many UDP packets do, what happens? And, how would it traverse the modern Internet, where UDP is mostly banished?
BTW, yes, it's mainly used by network devices, but why would an observability platform have to work as a network device?
And as you can see in the link you posted, it's about extending the platform to suit whatever needs you might have. Beware that appmon has long been gone, but the same principals apply...
23 Apr 2024 10:27 PM
@AntonioSousa My intention is not to debate whether traps is good or bad, or if it is the best option for my need "Send Dynatrace events/alerts to another monitoring system". If there is a way to achieve what I need, I would appreciate the community's support and suggestions.
If you have any strategy or recommendation that helps achieve my goal, I would appreciate it.
Best regards
23 Apr 2024 11:00 PM
Yes, the strategy I would suggest is the one I outlined already: you query the events API and originate the traps from a Dynatrace extension.
24 Apr 2024 07:43 AM - edited 24 Apr 2024 07:44 AM
Alternatively to what @AntonioSousa propose:
you can create a script launching a Flask web server listening for POST requests. When a POST request is received, it expects JSON data with the proper information. If the fields are present, it extracts the problem information and sends an SNMP trap to a specified IP address.
Then you can use Notifications to send the problem to the webhook.