Overall Total Memory: Working Set (in KB)

ComTrade.EMC.Documentum.Windows.JavaMethodServer.Memory.Usage.Monitor (UnitMonitor)

Monitors overall total memory (working set) usage for Java Method Server and sub-processes in KB.

Knowledge Base article:

Summary

This monitor checks the Java Method Server memory working set usage in KB.

The working set of a process is the set of pages in the virtual address space of the process that are currently resident in physical memory. The working set contains only pageable memory allocations; nonpageable memory allocations such, as Address Windowing Extensions (AWE) or large page allocations are not included in the working set.

The working set of a program is a collection of those pages in its virtual address space that have recently been referenced.

It includes both shared and private data. The shared data includes pages that contain all instructions your application executes, including those in your DLLs and system DLLs. As the working set size increases, memory demand increases.

This monitor is not enabled by default.

Configuration

The following configuration parameters are customizable:

Element properties:

TargetComTrade.EMC.Documentum.Windows.JavaMethodServer
Parent MonitorSystem.Health.PerformanceState
CategoryPerformanceHealth
EnabledFalse
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeComTrade.EMC.Documentum.Windows.JavaMethodServer.TwoStateMonitorTypeII
RemotableTrue
AccessibilityPublic
Alert Message
Java Method Server Total Memory Usage (Windows)
Overall Total Memory Usage: {0} for Java Method Server with Uri {1} exceeded the threshold value.
RunAsDefault

Source Code:

<UnitMonitor ID="ComTrade.EMC.Documentum.Windows.JavaMethodServer.Memory.Usage.Monitor" Accessibility="Public" Enabled="false" Target="CTDmWinDisc!ComTrade.EMC.Documentum.Windows.JavaMethodServer" ParentMonitorID="Health!System.Health.PerformanceState" Remotable="true" Priority="Normal" TypeID="ComTrade.EMC.Documentum.Windows.JavaMethodServer.TwoStateMonitorTypeII" ConfirmDelivery="true">
<Category>PerformanceHealth</Category>
<AlertSettings AlertMessage="ComTrade.EMC.Documentum.Windows.JavaMethodServer.Memory.Usage.Monitor_AlertMessageResourceID">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Warning</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/Property[@Name='OverallMemoryWorkingSet']$</AlertParameter1>
<AlertParameter2>$Target/Property[Type="CTDmLib!ComTrade.EMC.Documentum.JavaMethodServer"]/Uri$</AlertParameter2>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="UIGeneratedOpStateIdJavaMethodServerMemoryUsageStatusOK" MonitorTypeStateID="StatusOK" HealthState="Success"/>
<OperationalState ID="UIGeneratedOpStateIdJavaMethodServerMemoryUsageStatusNotOK" MonitorTypeStateID="StatusNotOK" HealthState="Warning"/>
</OperationalStates>
<Configuration>
<IntervalSeconds>300</IntervalSeconds>
<SyncTime/>
<Uri>$Target/Property[Type="CTDmLib!ComTrade.EMC.Documentum.JavaMethodServer"]/Uri$</Uri>
<FilterData>1</FilterData>
<ValueProperty>OverallMemoryWorkingSet</ValueProperty>
<ThresholdValue>80000</ThresholdValue>
<StatusOKCriteria>LessEqual</StatusOKCriteria>
<StatusNotOKCriteria>Greater</StatusNotOKCriteria>
<TargetComputer>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</TargetComputer>
</Configuration>
</UnitMonitor>