Skip to end of metadata
Go to start of metadata

Useful Resources

Alerts REST APIAlert Definitions 
Customizing the Alert TemplateCustomizing the Alert Template

Setting Connection Timeout for WEB and METRIC Alerts

WEB and METRIC alert types include a connection_timeout property on the alert definition (see below in AlertDefinition : source : uri : connection_timeout). This value is in seconds and defaults to 5.0. Use the Ambari REST API by updating the source block if you need to modify the connection timeout.

For example, to update the connection_timeout with the API, you need to PUT the entire contents of the source block with your API call. For example, you need to PUT the following to update the connection_timeout to 6.5 seconds.



  • No labels