Specifying the Alert Message
An alert message can be a simple text string, or it can use parameters.
Below are two examples showing parameter-based messages:
"{0}''s garbage collection time {2} for {1} has crossed 10% of {3} uptime"
"{0}''s used memory {2} has crossed 95% of {3} max memory at {1,date,short} {1,time,short}"
The message supports the following substitutions (using Java Message Format syntax).
Parameter | Value |
---|---|
{0} | The name of the cluster member that the alert is about.
Specified by the condition/getproperty@path attribute. |
{1} | The category that the alert is about.
Specified by the PaneType/SeriesName/CategoryValue/... part of the condition/getproperty@name path. |
{2} | The actual value that is causing the alert to be triggered, as specified in the condition/getproperty@name. |
{3} | The reference value, used to calculate whether a metric value is of concern (and the alert is therefore triggered).
Specified by the condition/getproperty@reference attribute. |
Copyright © Cloud Software Group, Inc. All rights reserved.