事件日志文件已满。
无论何时事件日志变满,此规则均会生成警报。 当事件日志变满之后,会放弃新的事件实例。 因此,无法收集关键信息,并且可能检测不到与系统运行状况相关的问题。
示例事件:
系统事件日志中发生以下任何事件时,此规则将生成警报:
%1 日志文件已满。
来源: Eventlog;事件 ID: 6000 %1 日志文件已满。
事件日志已经达到容量限制。 这最可能的原因为日志是使用以下日志大小配置之一进行配置的:
覆盖时间超过“N”天的事件
不覆盖事件(手动清除日志)
若要解决此警报,请执行下列步骤:
保存日志文件并清除
打开事件查看器。
右键单击相应的事件日志并单击“属性”。
单击“清除日志”按钮。
如果需要,则保存日志文件。
更新日志文件配置。
打开事件查看器。
右键单击相应的事件日志并单击“属性”。
单击“按需要覆盖”或“覆盖时间超过 N 天的事件”。 当单击“覆盖时间超过 N 天的事件”时,你必须调整天数值,以便事件整理可以满足或超过日志中新事件的增量需求。
Target | Microsoft.Windows.Server.2003.OperatingSystem | ||
Category | EventCollection | ||
Enabled | True | ||
Event_ID | 6000 | ||
Event Source | Eventlog | ||
Alert Generate | True | ||
Alert Severity | Warning | ||
Alert Priority | Normal | ||
Remotable | True | ||
Alert Message |
| ||
Event Log | System |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
EventDS | DataSource | Microsoft.Windows.EventProvider | Default |
GenerateAlert | WriteAction | System.Health.GenerateAlert | Default |
<Rule ID="Microsoft.Windows.Server.2003.OperatingSystem.EventLogFull.Alert" Enabled="true" Target="Microsoft.Windows.Server.2003.OperatingSystem" ConfirmDelivery="true">
<Category>EventCollection</Category>
<DataSources>
<DataSource ID="EventDS" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>System</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>Eventlog</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>6000</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="GenerateAlert" TypeID="SystemHealth!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>1</Severity>
<AlertMessageId>$MPElement[Name="Microsoft.Windows.Server.2003.OperatingSystem.EventLogFull.Alert.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventDescription$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue/>
</Suppression>
</WriteAction>
</WriteActions>
</Rule>