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.
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.
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.
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.
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.
Wow! Guys you are incredible, thanks for your suggestions! Much appreciated!