Operating System Percent Used Memory (Three State)
Microsoft.Unix.ExtendedMonitoring.OperatingSystem.PercentUsedMemory.Monitor (UnitMonitor)
Operating System Percent Used Memory Monitor(Three State)
Element properties:
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>