You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There might be an alert type of this in future, but as a workaround you can always create a SQL Agent job that fails based on the database state. You can do this against the DBA Dash repository database. Something like this.
IF EXISTS(
SELECT*FROMdbo.Databases D
JOINdbo.Instances I OND.InstanceID=I.InstanceIDWHERE state IN(3,4,5,6)
ANDD.IsActive=1ANDI.IsActive=1
)
BEGIN
RAISERROR('Database state alert',11,1)
END
Alert that shows when db status is not online.
The text was updated successfully, but these errors were encountered: