Hi Team,
I have developed a python code for monitoring F5 Devices in which i got struck where I want to display all my pool members in alert.
So , to raise a alert I need two conditions in my alert_settings, if count of pool numbers is above 0, then I want to iterate through my list of down state pool numbers and want to display same in my description.
Thanks
Raviteja
Solved! Go to Solution.
hi @Michael L. thanks for the response.
My problem is, inside custom alert , if my condition is met , Dynatrace has to raise a alert with with list of all strings assigned to a variable. (list available in .py file)
if (countOderrors > 1)
"description": "The {metricname} of {severity} is {alert_condition} the value is {threshold}"
I want to add my {variable} here from my *.py file.
Thanks
You can't add your own variables and logic in the plugin.json. What you can do when you need to customize it is to raise the alert from within the Python code, using
report_availability_event.