18 Jun 2019 04:18 PM
Hi, I'm trying to integrate via webhooks problems from dynatrace to *otherproduct*
In order to do so, I need a fast way to generate problems on Dynatrace. I don't want to wait canonical time for event.type detection.
Is there any short way to do so?
Solved! Go to Solution.
18 Jun 2019 04:29 PM
I usually create a small mount point of a separate disk, then fill up the disk. This quickly triggers a problem. A second approach is to manually change the threshold for disk space to be less than what is currently consumed.
18 Jun 2019 04:34 PM
Hi Yann,
If all you want to do is confirm the integration is working, you can do this by sending a test notification which is available in the configuration of the webhook. In terms of generating a fake problem, you can possibly create a custom alert and set the threshold to a value that will be exceeded. You can setup your alerting profile to include this custom alert and use this alerting profile for your integration. That way it will generate a problem. You can then delete you custom alert once you verify your integration works as expected.
Thanks
NJ
19 Jun 2019 07:18 AM
Either use the direct try run at the webhook for immediate delivery of a test problem, or use the event API to send/trigger any custom problem by using a simple API call through curl or postmaster.
best greetings,
Wolfgang
19 Jun 2019 10:53 AM
To me a simple way to emulate a real alert is to configure a synthetic monitor for www.google.com and then verify that the string "ASDFZXCV" is found on the page - since it's not, an alert is generated right away. This is of course also an easy way to test the "resolved" event also, as you can then just edit the monitor and remove that string verification, making the test succeed.
19 Jun 2019 11:25 AM
Wow! Guys you are incredible, thanks for your suggestions! Much appreciated!