none
how to enable default disabled linux monitor on scom 2012 r2

    Question

  • hello,

    I have scom 2012 r2 environment and i have imported 'SCOM 2012 R2 MP linux and Unix '.then installed agent on one of linux redhat6 machine.it got installed successfully but next how to get data in following highlighted portion except these am getting data in all the portion.

     


    • Edited by Richa km Thursday, May 15, 2014 5:03 AM
    Thursday, May 15, 2014 5:01 AM

Answers

  • Hi,

    you can get all disabled rules

    Get-SCOMManagementPack -DisplayName "Name" | Get-SCOMRule | where {$_.Enabled -match $false}

    then create overrides

    http://technet.microsoft.com/en-us/library/hh920205%28v=sc.20%29.aspx

    http://blogs.msdn.com/b/rslaten/archive/2013/07/21/create-overrides-in-scom-2012-with-powershell.aspx


    But it's not a good idea to enable all rules as it can influence overall MG performance
    Thursday, May 15, 2014 9:19 AM
  • To enable disabled rule,you can run below script by write MP name and class that you want to enable it

    $MP = Get-SCOMManagementPack -displayname "Managment pack name" | `
    where {$_.Sealed -eq $False}
    $Class = Get-SCOMClass -DisplayName "rule name"
    $Rule = Get-SCOMRule -DisplayName "*Events/sec"

    Enable-SCOMRule -Class $Class -Rule $Rule -ManagementPack $MP -Enforce

    For more details, you can refer below link

    http://www.systemcentercentral.com/opsmgr-2012-disabling-rules-and-monitors-in-bulk-in-powershell/


    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

    Thursday, May 15, 2014 10:46 AM

All replies

  • Hi,

    you can get all disabled rules

    Get-SCOMManagementPack -DisplayName "Name" | Get-SCOMRule | where {$_.Enabled -match $false}

    then create overrides

    http://technet.microsoft.com/en-us/library/hh920205%28v=sc.20%29.aspx

    http://blogs.msdn.com/b/rslaten/archive/2013/07/21/create-overrides-in-scom-2012-with-powershell.aspx


    But it's not a good idea to enable all rules as it can influence overall MG performance
    Thursday, May 15, 2014 9:19 AM
  • To enable disabled rule,you can run below script by write MP name and class that you want to enable it

    $MP = Get-SCOMManagementPack -displayname "Managment pack name" | `
    where {$_.Sealed -eq $False}
    $Class = Get-SCOMClass -DisplayName "rule name"
    $Rule = Get-SCOMRule -DisplayName "*Events/sec"

    Enable-SCOMRule -Class $Class -Rule $Rule -ManagementPack $MP -Enforce

    For more details, you can refer below link

    http://www.systemcentercentral.com/opsmgr-2012-disabling-rules-and-monitors-in-bulk-in-powershell/


    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

    Thursday, May 15, 2014 10:46 AM