• 0

SQL Mirror DB alerting


JeffH

Question

7 answers to this question

Recommended Posts

  • 0
Well this explains why I didn't see a response yet.  Apparently I forgot to hit the submit button... 

It is the SQL Database Instance and the Datapoint is the State.  Since they are mirrored, they are reporting in SQL either as (Principle, Synchronized) or (Mirror, Synchronized/Restoring...)  
We do see some that show up as Suspended which we would need to report on.  I think we need to change this to alert on the state value of anything other than 1.

Windows SQL Server Database MSSQLSERVER/SXXX_XA_Site on s6xs.mysite.com is no longer in a healthy online operating state, and has reported an operating state of 1.0, placing the database into critical state.

Status Codes:
0 = Online,
1 = Restoring,
2 = Recovering,
3 = Recovery Pending,
4 = Suspect,
5 = Emergency,
6 = Offline,
7 = Copying (Azure SQL Database),
10 = Offline-Secondary (Azure SQL Database)
Link to post
Share on other sites
  • 0

I can't seem to find this DataSource in LogicMonitor, is this a custom or community DataSource? If you click on the "Edit Global Defining" to jump to it's DataSource settings, what is the "Name" and "lmLocator" code (under version, if exists)?

If this DataSource provides Instances using Auto Discover (AD), you can either modify AD itself or use the Filtering section to only include instances you want.

Link to post
Share on other sites
  • 0

Thanks, unsure why I couldn't find it previously. I might have misread your original request as not wanting to see mirrored databases at all, so ignore the whole modify AD thing I mentioned before.

Yeah, changing the threshold for State to be "> 1" sounds like it would cover your needs. To not generate an alert if the State is Oneline (0) or Restoring (1).

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.