Operating System Percent Used Memory (Three State)

Microsoft.Unix.ExtendedMonitoring.OperatingSystem.PercentUsedMemory.Monitor (UnitMonitor)

Operating System Percent Used Memory Monitor(Three State)

Element properties:

TargetMicrosoft.Unix.OperatingSystem
Parent MonitorSystem.Health.PerformanceState
CategoryPerformanceHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Unix.ExtendedMonitoring.WSMan.Performance.Filtered.Average.Threshold.MonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Percent Used Memory is Too High
The threshold for the Percent Used Memory performance counter has been exceeded. The value that exceeded the threshold is: {0}\% Used Memory.
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Unix.ExtendedMonitoring.OperatingSystem.PercentUsedMemory.Monitor" Accessibility="Public" Target="Unix!Microsoft.Unix.OperatingSystem" TypeID="Microsoft.Unix.ExtendedMonitoring.WSMan.Performance.Filtered.Average.Threshold.MonitorType" Enabled="true" ParentMonitorID="SystemHealth!System.Health.PerformanceState">
<Category>PerformanceHealth</Category>
<AlertSettings AlertMessage="Microsoft.Unix.ExtendedMonitoring.OperatingSystem.PercentUsedMemory.AlertMessage">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/Value$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState HealthState="Success" MonitorTypeStateID="ThresholdOK" ID="ThresholdOK"/>
<OperationalState HealthState="Warning" MonitorTypeStateID="ThresholdWarning" ID="ThresholdWarning"/>
<OperationalState HealthState="Error" MonitorTypeStateID="ThresholdError" ID="ThresholdError"/>
</OperationalStates>
<Configuration>
<TargetSystem>$Target/Host/Property[Type="Unix!Microsoft.Unix.Computer"]/NetworkName$</TargetSystem>
<Uri>http://schemas.microsoft.com/wbem/wscim/1/cim-schema/2/SCX_MemoryStatisticalInformation?__cimnamespace=root/scx</Uri>
<Filter/>
<SplitItems>false</SplitItems>
<Interval>300</Interval>
<ObjectName>Memory</ObjectName>
<CounterName>% Used Memory</CounterName>
<InstanceName>Memory</InstanceName>
<InstanceProperty>/DataItem/WsManData/*[local-name(.)='SCX_MemoryStatisticalInformation']/*[local-name(.)='Name']</InstanceProperty>
<Value>$Data/WsManData/*[local-name(.)='SCX_MemoryStatisticalInformation']/*[local-name(.)='PercentUsedMemory']$</Value>
<WarningThreshold>80</WarningThreshold>
<ErrorThreshold>90</ErrorThreshold>
<NumSamples>3</NumSamples>
</Configuration>
</UnitMonitor>