Help_Topics

Why do I get an OK after X minutes?

You have the option to receive an OK message as part of your alert settings for each service. This allows you to know immediately when error conditions have recovered. This setting is accessible from the Settings tab under the Alerting Options section, as described in the Configure_alerting_options page.

With OK messages enabled, when an error condition is detected, alert messages will be sent normally to your alert contacts, usually according to the default three-strike rule. When the error conditions recover and a successful sample is logged, then a message is sent to all alert contacts.

The amount of time between monitoring samples is defined by the monitoring interval setting and continues independently of the errors. This means that the time frame in which an OK message is issued is based on this interval, and not on the time when the last error occurred.

Examples:

  • Using the three-strike rule:
    • Monitoring interval: 20 minutes
    • Approximate transaction running time: 1 minute
    • You would receive an OK message approximately 17 minutes after you received an alert, since three minutes would have passed by the time the transaction failed three times and an alert was issued.
  • Similarly, if the strikes before error is set to 2:
    • Monitoring interval: 20 minutes
    • Approximate transaction running time: 1 minute
    • You would receive an OK message approximately 18 minutes after you received an alert, since two minutes would have passed by the time the transaction failed two times and an alert was issued.
  • Using the three-strike rule with a shorter monitoring interval:
    • Monitoring interval: 5 minutes
    • Approximate transaction running time: 40 seconds
    • You would receive an OK message approximately 3 minutes after you received an alert, since two minutes would have passed by the time the transaction failed three times and an alert was issued.

The sample log excerpt below shows a service recovering from an error on a 5-minute monitoring interval using the three-strike rule:

See also

Adjust_the_monitoring_interval
Configure_alerting_options
Configure_page_and_transaction_timeout_values
Understand_how_monitoring_takes_place
What_is_the_three_strike_rule