进程监视:进程时间百分比警报数据源

Microsoft.Windows.Server.10.0.Process.PercentProcessorTimeAlerting.DataSource (DataSourceModuleType)

进程时间百分比警报数据源。

Element properties:

TypeDataSourceModuleType
IsolationAny
AccessibilityPublic
RunAsDefault
OutputTypeMicrosoft.Windows.Server.10.0.ProcessAlertData.Type

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.Server.10.0.Process.Alerting.DataSource Default

Overrideable Parameters:

IDParameterTypeSelectorDisplay NameDescription
IntervalSecondsint$Config/IntervalSeconds$间隔(秒)间隔(秒)
SampleCountint$Config/SampleCount$采样计数采样计数
PercentProcessorTimeThresholdint$Config/PercentProcessorTimeThreshold$处理器时间百分比阈值处理器时间百分比阈值。
MonitoringConfigurationstring$Config/MonitoringConfiguration$监视配置允许以 XML 格式为特定进程及要从监视中排除的进程指定阈值
LogLevelint$Config/LogLevel$日志级别确定应写入事件日志的事件。
0 – 全部,1 – 信息性,2 – 警告,4 – 错误,8 – 详细,
16 – 调试,255 – 无

Source Code:

<DataSourceModuleType ID="Microsoft.Windows.Server.10.0.Process.PercentProcessorTimeAlerting.DataSource" Accessibility="Public">
<Configuration>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="MonitoringConfiguration" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="IntervalSeconds" type="xsd:int"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="SampleCount" type="xsd:int"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="PercentProcessorTimeThreshold" type="xsd:int"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="0" maxOccurs="1" name="LogLevel" type="xsd:int"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="IntervalSeconds" Selector="$Config/IntervalSeconds$" ParameterType="int"/>
<OverrideableParameter ID="SampleCount" Selector="$Config/SampleCount$" ParameterType="int"/>
<OverrideableParameter ID="PercentProcessorTimeThreshold" Selector="$Config/PercentProcessorTimeThreshold$" ParameterType="int"/>
<OverrideableParameter ID="MonitoringConfiguration" Selector="$Config/MonitoringConfiguration$" ParameterType="string"/>
<OverrideableParameter ID="LogLevel" Selector="$Config/LogLevel$" ParameterType="int"/>
</OverrideableParameters>
<ModuleImplementation>
<Composite>
<MemberModules>
<DataSource ID="DS" TypeID="Microsoft.Windows.Server.10.0.Process.Alerting.DataSource">
<MonitoringConfiguration>$Config/MonitoringConfiguration$</MonitoringConfiguration>
<IntervalSeconds>$Config/IntervalSeconds$</IntervalSeconds>
<SampleCount>$Config/SampleCount$</SampleCount>
<HandleCountIncreaseThreshold>20</HandleCountIncreaseThreshold>
<MemoryPercentageThreshold>50</MemoryPercentageThreshold>
<PercentProcessorTimeThreshold>$Config/PercentProcessorTimeThreshold$</PercentProcessorTimeThreshold>
<SeedId>$Target/Id$</SeedId>
<LogLevel>$Config/LogLevel$</LogLevel>
</DataSource>
</MemberModules>
<Composition>
<Node ID="DS"/>
</Composition>
</Composite>
</ModuleImplementation>
<OutputType>Microsoft.Windows.Server.10.0.ProcessAlertData.Type</OutputType>
</DataSourceModuleType>