Member since
12-11-2018
3
Posts
0
Kudos Received
0
Solutions
12-13-2018
11:10 PM
Thanks Jonathan, I appreciate it.
... View more
12-13-2018
07:20 PM
Thank you @Akhil S Naik for the documentation. I was looking to complete a post of an alert target to the /api/v1/alert_targets/ API via Python. I was missing the syntax for some fields that I found thanks to @Jonathan Hurley The documentation didn't appear in my search results initially. Now, I have been able to successfully post the alert target with the exception when I try to specify a particular Alert Group rather than all. The documentation provided includes the syntax for all groups not one group. The image attached contains the Alert Group Info. Could you let me know where the syntax needs to be modified?
... View more
12-11-2018
01:08 AM
Alert Target JSON needs to include Email To, SMTP server, port, email from, authentication, username, and password info. I need to know how to format this information with existing object: "AlertTarget":
{
"name": "sdf",
"description": "sdf.",
"notification_type": "EMAIL",
"global": "true",
"alert_states": ["CRITICAL"],
"properties": {
"ambari.dispatch-property.script": "my.custom.alert.dispatcher.script"
}
}
}
... View more
Labels:
- Labels:
-
Apache Ambari