DHCP 2012 감사 로깅 모니터

Microsoft.Windows.DHCPServer.2012.IPv6Runtime.UnitMonitor.Auditing (UnitMonitor)

이 모니터는 로그 감사가 구성되었는지 확인합니다.

Knowledge Base article:

요약

DHCPv6(Dynamic Host Configuration Protocol 버전 6) 런타임에는 DHCPv6 서버의 일반 운영 기능이 포함되어 있습니다. 이러한 기능에는 임대 발급 및 Rogue 검색이 포함됩니다.

DHCPv6(Dynamic Host Configuration Protocol 버전 6) 서버에는 향상된 감사 기능을 제공하는 몇 가지 로깅 기능 및 서버 매개 변수가 있습니다. 로그가 가득 차는 것을 방지하거나 로그를 쓸 수 있는 권한을 서버에 부여하려면 로그 설정을 구성해야 합니다. DHCP Server 로그를 정상적인 상태로 유지하기 위해 다음과 같은 속성을 구성할 수 있습니다.

원인

감사 로그가 가득 차거나 액세스할 수 없기 때문에 DHCPv6이 감사 로그에 기록할 수 없습니다. DHCP Server는 계속 올바르게 작동하지만 로그에 기록할 수 있을 때까지 감사 이벤트는 기록되지 않습니다.

해결 방법

해결 방법: 오래된 감사 로그 파일을 제거하거나 최대 감사 로그 크기를 늘립니다.

디스크가 가득 차거나 최대 로그 크기에 도달한 경우 DHCP Server는 현재 파일을 닫고 자정이 될 때까지 또는 디스크 상태가 개선되고 디스크에 여유 공간이 생길 때까지 감사 이벤트 로깅 요청을 무시합니다. 디스크가 가득 찬 경우 실제 디스크 공간을 추가하거나, 최대 감사 로그 크기를 늘리거나, 기본 로그 디렉터리 %windir%\System32\Dhcp.에서 이전 로그 파일을 삭제할 수 있습니다.

이 절차를 수행하려면 Administrators 그룹 구성원이거나 적절한 권한을 위임 받아야 합니다.

최대 감사 로그 크기를 늘리려면:

주의: 레지스트리를 잘못 편집하면 시스템이 심각하게 손상될 수 있습니다. 레지스트리를 변경하기 전에 중요한 데이터를 모두 백업해야 합니다.

추가 정보

검증 도구: 서버에서 DHCP 이벤트를 로깅 중입니다.

DHCP 감사 로그가 올바르게 작동하고 있는지 확인하려면:

Element properties:

TargetMicrosoft.Windows.DHCPServer.2012.IPv6Runtime
Parent MonitorSystem.Health.SecurityState
CategoryStateCollection
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.SingleEventLogManualReset2StateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
DHCP 2012 감사 로깅 경고
{0}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.DHCPServer.2012.IPv6Runtime.UnitMonitor.Auditing" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.DHCPServer.2012.IPv6Runtime" ParentMonitorID="Health!System.Health.SecurityState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.SingleEventLogManualReset2StateMonitorType" ConfirmDelivery="true">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="Microsoft.Windows.DHCPServer.2012.IPv6Runtime.UnitMonitor.Auditing_AlertMessageResourceID">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/EventDescription$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Warning" MonitorTypeStateID="EventRaised" HealthState="Warning"/>
<OperationalState ID="Success" MonitorTypeStateID="ManualResetEventRaised" HealthState="Success"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>System</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">10011</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft-Windows-DHCP-Server</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</Configuration>
</UnitMonitor>