References > SAM views and resources > Application Monitor Thresholds > Multi-value scripts and thresholds

Multi-Value scripts and thresholds

Each component monitor includes a number of thresholds for pulling and saving data. To use these values in multi-value scripts, you need to use the following threshold macros :

  • ${Threshold.Warning.DisplayName} - Macro for using the display name for a warning threshold
  • ${Threshold.Critical.DisplayName} - Macro for using the display name for a critical threshold

The following screenshot displays the use of the macros in a script.

The following screenshots display the multiple display names used in a script for the thresholds values for warning and critical.