SQL Server Dashboard issue - Objects incorrectly listed as In Maintenance Mode

Christian 61 Reputation points
2021-04-28T08:31:07.17+00:00

Hi there,

I noticed that lots of objects (databases) in the Microsoft SQL Server | Summary dashboard (widget) are listed as in Maintenance Mode while they are not. I am using v7.0.24.0 of the Microsoft SQL Server on Windows MP and v7.0.28.0 of the Microsoft SQL Server Visualization Library MP.

It also happens when you create a dashboard yourself with the respective SQL Datacenter Dashboard template (widget).

Is this a known issue?

Regards,
Chris

System Center Operations Manager
System Center Operations Manager
A family of System Center products that provide infrastructure monitoring, help ensure the predictable performance and availability of vital applications, and offer comprehensive monitoring for datacenters and cloud, both private and public.
0 comments No comments
{count} votes

7 answers

Sort by: Most helpful
  1. Crystal-MSFT 54,201 Reputation points Microsoft External Staff
    2021-04-30T09:01:33.387+00:00

    @Christian , Thanks for letting us know the location. Based on my test, I find my DC is in healthy state without maintenance. I will monitor more to see if it will be accidently put into maintenance mode.
    92875-image.png
    On the other hand, we can do SQL query to check the maintenance mode for the server.

    dbo.MaintenanceMode.[User] as [User],  
    Case ReasonCode  
    When 0 then 'Other (Planned)'  
    When 1 then 'Other (Unplanned)'  
    When 2 then 'Hardware: Maintenance (Planned)'  
    When 3 then 'Hardware: Maintenance (Unplanned)'  
    When 4 then 'Hardware: Installation (Planned)'  
    When 5 then 'Hardware: Installation (Unplanned)'  
    When 6 then 'Operating System: Reconfiguration (Planned)'  
    When 7 then 'Operating System: Reconfiguration (Unplanned)'  
    When 8 then 'Application: Maintenance (Planned)'  
    When 9 then 'Application: Maintenance (Unplanned)'  
    When 10 then 'Application: Installation (Planned)'  
    When 11 then 'Application: Unresponsiv'  
    When 12 then 'Application: Unstable'  
    When 13 then 'Security issue'  
    When 14 then 'Loss of network connectivity (Unplanned)'  
    End as [Reason for Maintenance]  
      
    FROM BaseManagedEntity INNER JOIN  
    MaintenanceMode ON BaseManagedEntity.BaseManagedEntityId = MaintenanceMode.BaseManagedEntityId  
    

    We can also use "Get-SCOMMaintenanceMode" to confirm if the server is really in maintenance mode:
    92922-image.png
    Hope it can help.


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  2. Christian 61 Reputation points
    2021-05-01T13:38:06.727+00:00

    They are not in maintanance mode.

    I also see that the Alert Parameters in Alert Names are not resolved in this dashboard: Shows {0} and {1} while this works in the normal Alert View.

    Also down-drilling does not work properly: Some instances have containment relationships with other instances but no children are shown.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.