Hi,
I am trying to figure out an availability alert that will work for us and nothing seems to work as expected. We are monitoring 15 DBs from the same DPA instance. I want to be notified if we have issues accessing any of the DBs.
I tried the "Database Instance Availability" alert, and even though it did notify me, I want something that will notify me if the DB has been unavailable for X time, not at the one second the alert checked. The way it notifies currently it gives me too many false positives.
I also tried an alert I found in the forums that can be run against the repository but it doesn't work as expected:
select NAME+' Monitor is stopped', 1 from [ignite].[COND] WHERE [STATUS] = 'STOPPED' and [COMMAND] = 'START'
The query is fine but if I select all DB instances and only one has the issue, you receive 15 emails. If I don't select all instances, it doesn't run. Why is that? All my alerts against repository need to have all DBs selected.