Foglight generates frequent DBSS - Availability Group Database is not Failover Ready alarms even though SQL Server reports the Availability Group and its replicas as healthy. Multiple alarms may also appear identical and be associated with the same collecting agent.
The rule uses a hard-coded estimated-data-loss threshold of greater than five seconds for asynchronous replicas. This threshold may be more sensitive than the recovery point objective (RPO) accepted for the environment. Repeated threshold crossings can result in recurring alarms, depending on the applicable alarm configuration.
An asynchronous-commit replica can legitimately report SYNCHRONIZING, HEALTHY, and is_failover_ready = 0. These values alone do not indicate an AG failure.
The collecting agent can also report metrics for other replicas. Because the default alarm message identifies the database and AG but omits the affected replica, separate replica alarms can look identical under the same agent. This does not, by itself, indicate duplicate collection or duplicate notifications.
The rule evaluates the following candidate conditions:
| Availability Mode | Candidate alarm condition |
| Synchronous commit (availability_mode = 1) | is_failover_ready = 0 |
| Other modes, including asynchronous commit (availability_mode = 0) | is_failover_ready = 0 and estimated_data_loss = 0 |
The rule does not evaluate automatic versus manual failover mode.
The candidate is reset to false when database_role_desc = SECONDARY and is_local = 1. This excludes local secondary database objects, not remote secondary objects collected by the primary agent.
Otherwise, the result passes through Foglight’s applicable alarm settings.
estimated_data_loss is calculated from the difference between primary and secondary last-commit timestamps, measured in seconds. It is an approximate RPO indicator, not measured data loss.
The asynchronous condition requires a value strictly greater than five seconds. Exactly five seconds does not satisfy it. Healthy synchronization status does not automatically suppress a threshold breach.
Before changing the threshold, compare it with the organization’s approved RPO. Raising it reduces sensitivity but also delays detection of genuine DR lag up to the new threshold.
The five-second value is currently hard-coded. Changing it requires customization of the relevant rule severity conditions. Custom threshold logic is outside the scope of Quest Support.
Create a separately named copy of the rule rather than modifying the cartridge rule directly. Disable the original when enabling its replacement to avoid overlapping evaluations. Preserve the synchronous readiness check and local-secondary exclusion. Direct changes to the out-of-the-box rule may be overwritten during cartridge upgrades.
Changing the threshold does not prevent repeated emails for a persistent alarm. Review notification repeat settings separately, preserving notifications for new incidents and severity increases.
Follow KB 4372545 to copy the rule and add an expression variable named Availability_Replica_Name:
Include @Availability_Replica_Name in the alarm message for each enabled severity. The collecting agent identifies who collected the metrics; the replica name identifies the affected replica.
Compare alarm IDs, source objects, lifecycle history, and notification timestamps:
Check collected values at the alarm timestamp. A later healthy DMV snapshot does not establish what triggered the alarm. Rolled-up averages can hide brief crossings; retained maxima can identify crossings but cannot reconstruct every original rule evaluation.
ISMTS-466: Enhancement request to make the hard-coded five-second estimated-data-loss threshold configurable.
ISMTS-467: Enhancement request to include the affected replica name in the alarm message, distinguishing separate replica alarms associated with the same collecting agent.
Product Management will review these requests for possible inclusion in a future SQL Server cartridge release. Inclusion is not guaranteed.