處理序監視:記憶體百分比警示資料來源

Microsoft.Windows.Server.10.0.Process.MemoryPercentageAlerting.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$樣本計數樣本計數
MemoryPercentageThresholdint$Config/MemoryPercentageThreshold$記憶體百分比閾值記憶體百分比閾值
MonitoringConfigurationstring$Config/MonitoringConfiguration$監視設定允許使用 XML 格式指定特定處理序的閾值及要從監視中排除的處理序
LogLevelint$Config/LogLevel$記錄層次判斷哪些事件應寫入事件記錄檔中。
0 – 全部、1 – 資訊、2 – 警告、4 – 錯誤、8 – 詳細資訊、
16 – 偵錯、255 – 無

Source Code:

<DataSourceModuleType ID="Microsoft.Windows.Server.10.0.Process.MemoryPercentageAlerting.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="MemoryPercentageThreshold" 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="MemoryPercentageThreshold" Selector="$Config/MemoryPercentageThreshold$" 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>$Config/MemoryPercentageThreshold$</MemoryPercentageThreshold>
<PercentProcessorTimeThreshold>50</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>