locked
Disable ALL monitoring RRS feed

  • Question

  • Hi,

    Our prior engineer install SCOM 2012 and installed MP. Now we receive 1000's of alerts and this engineer is no longer here. How can I disable ALL monitoring and slowly turn on what I require.

    Step1- How to disable all monitoring

    Step2- enable targeted monitors

    I am new to this so please be so kind and provide step by step instructions.

    Tuesday, March 24, 2015 4:37 AM

Answers

All replies

  • 1) It is suggest that you should remove all imported management pack a first
    2) Import the Management pack into SCOM one by one
    3)  Using override to disable the monitoring one by one
    https://technet.microsoft.com/en-us/library/hh212818.aspx
    http://www.systemcentercentral.com/opsmgr-2012-disabling-rules-and-monitors-in-bulk-in-powershell/
    Roger
    • Proposed as answer by Mai AliMVP Tuesday, March 24, 2015 11:54 AM
    • Unproposed as answer by Yan Li_ Tuesday, March 31, 2015 9:09 AM
    • Proposed as answer by Yan Li_ Tuesday, March 31, 2015 9:09 AM
    • Marked as answer by anon1m0us Tuesday, March 31, 2015 5:00 PM
    Tuesday, March 24, 2015 6:07 AM
  • How do you remove the management packs?
    Tuesday, March 24, 2015 11:02 AM
  • Agree with Roger,

    To disable all monitoring, You can follow below PS

    $MPNAME = Read-Host ‘Enter the Managemant Pack Display Name’
    $OVerrideMPName = Read-Host ‘Enter the Unsealed Override MP Name’
    $MPSealed = Get-SCOMManagementPack -DisplayName $MPNAME
    $MPUnsealed = Get-SCOMManagementPack -DisplayName $OVerrideMPName
    $MPRule = get-SCOMRule -ManagementPack $MPSealed
    $MPMonitor = Get-SCOMMonitor -ManagementPack $MPSealed
    Disable-SCOMRule -Rule $MPRule -ManagementPack $MPUnsealed
    Disable-SCOMMonitor -Monitor $MPMonitor -ManagementPack $MPUnsealed

    To Remove Management Packs, you check below link

    http://www.systemcentercentral.com/quicktricks-bulk-delete-management-packs-in-opsmgr-2012-remove-all-non-english-management-packs/


    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question, please click "Mark As Answer"Mai Ali | My blog: Technical | Twitter: Mai Ali

    • Proposed as answer by Yan Li_ Tuesday, March 31, 2015 9:09 AM
    Tuesday, March 24, 2015 11:53 AM
  • I ran get-scommanagementpack |remove-scommanagementpack to remove all MP, but it errors out with the following:

    remove-scommanagementpack : The client has been disconnected from the server. Please call ManagementGroup.Reconnect()
    to reestablish the connection.
    At line:1 char:25
    + get-scommanagementpack |remove-scommanagementpack
    +                         ~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidOperation: (Microsoft.Syste...mentPackCommand:RemoveSCManagementPackCommand) [Rem
       ove-SCManagementPack], ServerDisconnectedException
        + FullyQualifiedErrorId : ExecutionError,Microsoft.SystemCenter.Core.Commands.RemoveSCManagementPackCommand

    remove-scommanagementpack : The client has been disconnected from the server. Please call ManagementGroup.Reconnect()
    to reestablish the connection.
    At line:1 char:25
    + get-scommanagementpack |remove-scommanagementpack
    +                         ~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidOperation: (Microsoft.Syste...mentPackCommand:RemoveSCManagementPackCommand) [Rem
       ove-SCManagementPack], ServerDisconnectedException
        + FullyQualifiedErrorId : ExecutionError,Microsoft.SystemCenter.Core.Commands.RemoveSCManagementPackCommand

    remove-scommanagementpack : The client has been disconnected from the server. Please call ManagementGroup.Reconnect()
    to reestablish the connection.
    At line:1 char:25
    + get-scommanagementpack |remove-scommanagementpack
    +                         ~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidOperation: (Microsoft.Syste...mentPackCommand:RemoveSCManagementPackCommand) [Rem
       ove-SCManagementPack], ServerDisconnectedException
        + FullyQualifiedErrorId : ExecutionError,Microsoft.SystemCenter.Core.Commands.RemoveSCManagementPackCommand

    remove-scommanagementpack : The client has been disconnected from the server. Please call ManagementGroup.Reconnect()
    to reestablish the connection.
    At line:1 char:25
    + get-scommanagementpack |remove-scommanagementpack
    +                         ~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidOperation: (Microsoft.Syste...mentPackCommand:RemoveSCManagementPackCommand) [Rem
       ove-SCManagementPack], ServerDisconnectedException
        + FullyQualifiedErrorId : ExecutionError,Microsoft.SystemCenter.Core.Commands.RemoveSCManagementPackCommand

    remove-scommanagementpack : The client has been disconnected from the server. Please call ManagementGroup.Reconnect()
    to reestablish the connection.
    At line:1 char:25
    + get-scommanagementpack |remove-scommanagementpack
    +                         ~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidOperation: (Microsoft.Syste...mentPackCommand:RemoveSCManagementPackCommand) [Rem
       ove-SCManagementPack], ServerDisconnectedException
        + FullyQualifiedErrorId : ExecutionError,Microsoft.SystemCenter.Core.Commands.RemoveSCManagementPackCommand

    Tuesday, March 24, 2015 2:48 PM
  • 1) try restart SCOM sdk service

    2) close and reopen the operations manager powershell

    3) make sure that user is "SCOM Administrator" Role 

    Roger

    • Proposed as answer by Yan Li_ Tuesday, March 31, 2015 9:09 AM
    Wednesday, March 25, 2015 4:03 AM