Reactions are triggered by the framework when requested by a gauge. Reactions come in two major classes: corrective and non-corrective. The effect of corrective versus non-corrective is with regards to the alert raised that triggered the reaction. A non-corrective reaction will do nothing to alter the state of the circumstance that led to the alert. A corrective reaction may attempt to rectify the situation automatically. To mark a reaction as corrective, the CORRECTIVE flag can be set on the reaction.
The zztat reaction configuration allows you to define a default reaction, which by default is the SEND_EMAIL reaction. This reaction gets triggered automatically as a fallback whenever the specified reaction fails, or was throttled.
Every reaction keeps track of its last execution time stamp and how often it ran. The framework will automatically ensure that any throttled reaction does not exceed its limited execution count. The following attributes are available to control how often a reaction executes:
|max_runs_per_interval||Defines the maximum number of times the reaction may fire in the specified interval.|
|interval||Defines the interval, stores as the INTERVAL DAY TO SECOND data type to which the limit applies. Once the limit has been reached, further executions will fail and the
framework will fall back to the default reaction.