AD 도메인 구성원 모니터링 검색

Microsoft.AD.DomainMemberPerspective.Discovery (Discovery)

AD 도메인 구성원 모니터링을 사용하도록 설정하기 위한 검색 규칙입니다. 규칙은 기본적으로 사용하지 않도록 설정됩니다. 원하는 AD 도메인 구성원 모니터링 시스템에서 사용하도록 설정하려면 재정의를 사용합니다.

Knowledge Base article:

요약

AD 도메인 구성원 관점 검색 규칙입니다. 이 규칙은 Windows 컴퓨터 시스템(구성원 서버 또는 데스크톱 클라이언트)에서 AD 도메인 구성원 모니터링을 사용하도록 설정합니다. 일반적으로 특정 AD 가용성을 요구하는 Windows Server 시스템이 Exchange Server 시스템에 대한 AD 도메인 구성원 모니터링 후보입니다.

구성

이 검색 규칙은 기본적으로 사용할 수 없게 설정되어 있으므로 선택한 Windows 시스템에서 사용 가능하게 수동 설정해야 합니다.

경고: 작업 환경의 모든 Windows 시스템에서 전역적으로 이 규칙을 사용하도록 설정하지 마세요. 이렇게 하면 도메인 컨트롤러의 가용성에 영향을 줄 수 있습니다. 개별 노드나 사용자 지정 그룹에 대해 선택적으로만 사용하도록 설정합니다.

Element properties:

TargetMicrosoft.Windows.Computer
EnabledFalse
Frequency14400
RemotableFalse

Object Discovery Details:

Discovered Classes and their attribuets:

Member Modules:

ID Module Type TypeId RunAs 
DiscoveryDataSource DataSource System.CommandExecuterDiscoveryDataSource Default

Source Code:

<Discovery ID="Microsoft.AD.DomainMemberPerspective.Discovery" Enabled="false" Remotable="false" Target="Windows!Microsoft.Windows.Computer">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="AD!Microsoft.Windows.Server.AD.DomainMemberPerspective"/>
</DiscoveryTypes>
<DataSource ID="DiscoveryDataSource" TypeID="System!System.CommandExecuterDiscoveryDataSource">
<IntervalSeconds>14400</IntervalSeconds>
<ApplicationName>%windir%\System32\cscript.exe</ApplicationName>
<WorkingDirectory/>
<CommandLine>$file/ClientDiscovery.vbs$ 0 $MPElement$ $Target/Id$ $Target/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</CommandLine>
<TimeoutSeconds>300</TimeoutSeconds>
<RequireOutput>true</RequireOutput>
<Files>
<File>
<Name>ClientDiscovery.vbs</Name>
<Contents><Script>'*************************************************************************
' Script Name - ClientDiscovery
'
' Purpose - Discovers a ClientPerspective
'
' (c) Copyright 2014, Microsoft Corporation, All Rights Reserved
' Proprietary and confidential to Microsoft Corporation
'*************************************************************************

Option Explicit

SetLocale("en-us")

Sub Main()
'Variables
Dim oArgs,SourceType,SourceID,ManagedEntityId,TargetPricipalName
Set oArgs = WScript.Arguments
if oArgs.Count &lt; 4 Then
Wscript.Quit -1
End If

SourceType = oArgs(0)
SourceID = oArgs(1)
ManagedEntityId = oArgs(2)
TargetPricipalName = oArgs(3)

Dim oAPI,oDiscData
Set oAPI = CreateObject("Mom.ScriptAPI")
Set oDiscData = oAPI.CreateDiscoveryData (SourceType, SourceID, ManagedEntityId)

' Note: ClientPerspective was renamed to DomainMemberPerspective
Dim oClientPerspectiveInstance
Set oClientPerspectiveInstance = oDiscData.CreateClassInstance("$MPElement[Name='AD!Microsoft.Windows.Server.AD.DomainMemberPerspective']$")
oClientPerspectiveInstance.AddProperty "$MPElement[Name='Windows!Microsoft.Windows.Computer']/PrincipalName$", TargetPricipalName
oClientPerspectiveInstance.AddProperty "$MPElement[Name="System!System.Entity"]/DisplayName$", "AD Client Monitoring"

oDiscData.AddInstance(oClientPerspectiveInstance)
oAPI.Return oDiscData
End Sub


Call Main() </Script></Contents>
</File>
</Files>
</DataSource>
</Discovery>