Answered exclude iis server from discovery

  • Tuesday, December 04, 2012 9:44 AM
     
     

    Hi;

    i use SCOM 2012 and i want to configure Application Performance Monitoring. My .Net application on a specific server. I have to import IIS management pack and discover to my application. But in my production site i've many IIS Server. So i just want to discover specidif server which has got .Net application and exclude others. Do you have any idea for that??

    Thanks


    MCT

All Replies

  • Tuesday, December 04, 2012 10:48 AM
     
     Answered
    Hi, find necessary discovery (Console->Authoring->Management Pack Objects->Object Discovery), disable it for all object of the class, then enable it for only one server you need.
  • Tuesday, December 04, 2012 10:52 AM
     
     Answered
    Create a new Management Pack for IIS overrides
    Create a new Computer Group in Authoring pane with dynamic rule:
    ( Object is Windows Computer AND ( NetBIOS Computer Name Matches wildcard * ) AND True )
    Save your computer group to your IIS Overrides management pack

    Powershell:

    $MP = Get-SCOMManagementPack -Name <YourCustomManagementPack>
    $Discovery =  Get-SCOMDiscovery -Name *InternetInformationServices*
    $Group = Get-SCOMGroup -Displayname <YourCustomComputerGroup>
    Disable-SCOMDiscovery -Group $Group -Discovery $Discovery -ManagementPack $MP

    Use excluded members (use windows computer object) to enable IIS monitoring for your .NET servers.