プロセス監視:メモリの割合 - 高

Microsoft.Windows.Server.10.0.ProcessMemoryPercentage.Alert (Rule)

このルールは、メモリの割合が高すぎる場合にアラートを生成します。

Knowledge Base article:

概要

このルールは、特定のプロセスによるメモリの消費が多すぎる場合にアラートを生成します。

注:このルールのしきい値が、対応する "プロセス監視:正常性状態収集" ルールのしきい値と異なる場合、アラートとプロセス正常性状態とで矛盾が生じる可能性があります。

アラートの生成数が多くなりすぎないように、このルールの最小しきい値が実装されました。最小しきい値の既定値は 7% です。しきい値は、Operations Manager コンソールでルールを上書きすれば任意の値に変更できますが、7% 未満の値に変更しても、実際のしきい値は既定の 7% になります。

ユーザーが最小しきい値を変更するには、該当するエージェントの該当するキーの下に MinimalMemoryPercentageThreshold レジストリ DWORD (32 ビット) 値を作成します。実際のしきい値は、「既定値または Operations Manager コンソールで上書きしたしきい値」と「レジストリで設定した最小しきい値」の 2 つのうち最大の値になります。

最小しきい値には、次のレジストリ キーを使用します:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft Operations Manager\3.0\Modules\Global\BaseOSProcessMonitoring

Element properties:

TargetMicrosoft.Windows.Server.10.0.ProcessMonitoring.ProcessSeed
CategoryCustom
EnabledFalse
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.Server.10.0.Process.MemoryPercentageAlerting.DataSource Microsoft.Windows.Server.10.0.RunAs.CollectionRules
GenerateAlert WriteAction Microsoft.Windows.Server.10.0.GenerateAlertWriteAction Default
WA WriteAction Microsoft.Windows.Server.10.0.CloseAlertWriteAction Default

Source Code:

<Rule ID="Microsoft.Windows.Server.10.0.ProcessMemoryPercentage.Alert" Target="Microsoft.Windows.Server.10.0.ProcessMonitoring.ProcessSeed" Enabled="false" Remotable="true" Priority="Normal" DiscardLevel="100" ConfirmDelivery="false">
<Category>Custom</Category>
<DataSources>
<DataSource ID="DS" TypeID="Microsoft.Windows.Server.10.0.Process.MemoryPercentageAlerting.DataSource" RunAs="Microsoft.Windows.Server.10.0.RunAs.CollectionRules">
<MonitoringConfiguration>$Target/Property[Type="WindowsServer!Microsoft.Windows.Server.ProcessSeed"]/ThresholdsByProcess$</MonitoringConfiguration>
<IntervalSeconds>67</IntervalSeconds>
<SampleCount>6</SampleCount>
<MemoryPercentageThreshold>50</MemoryPercentageThreshold>
<LogLevel>4</LogLevel>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="GenerateAlert" TypeID="Microsoft.Windows.Server.10.0.GenerateAlertWriteAction">
<AlertMessageId>$MPElement[Name="Microsoft.Windows.Server.10.0.ProcessMemoryPercentage.Alert.AlertMessage"]$</AlertMessageId>
<Threshold>$Data/MemoryPercentageThreshold$</Threshold>
<Metric>IsMemoryPercentageTooHigh</Metric>
</WriteAction>
<WriteAction ID="WA" TypeID="Microsoft.Windows.Server.10.0.CloseAlertWriteAction" Target="SCDW!Microsoft.SystemCenter.DataWarehouseConnectorServer">
<TimeoutSeconds>300</TimeoutSeconds>
<RuleId>$MPElement[Name="Microsoft.Windows.Server.10.0.ProcessMemoryPercentage.Alert"]$</RuleId>
<Metric>IsMemoryPercentageTooHigh</Metric>
</WriteAction>
</WriteActions>
</Rule>