The percentage of heap memory used by the Java Virtual Machine.
The PercentHeapMemoryUsed rule collects performance data from the Java Virtual Machine using a Stats call to a servlet using the /Stats query.
The percentage of heap memory used by the Java Virtual Machine.
The performance data is written to both the System Database and the Data Warehouse.
Target | Microsoft.JEE.ApplicationServer.Monitored.Instance |
Category | PerformanceCollection |
Enabled | True |
Alert Generate | False |
Remotable | True |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DS | DataSource | Microsoft.JEE.Monitoring.UrlProbe.Stats.DataSource | Default |
PerfMapper | ConditionDetection | Microsoft.JEE.Performance.DataGenericMapper | Default |
WriteToDB | WriteAction | Microsoft.SystemCenter.CollectPerformanceData | Default |
WriteToDW | WriteAction | Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData | Default |
<Rule ID="Microsoft.JEE.ApplicationServer.PerformanceData.PercentHeapMemoryUsed" Target="Microsoft.JEE.ApplicationServer.Monitored.Instance" Enabled="true" Remotable="true">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Microsoft.JEE.Monitoring.UrlProbe.Stats.DataSource">
<ComputerName>$Target/Property[Type="Microsoft.JEE.ApplicationServer.Monitored.Instance"]/HostName$</ComputerName>
<Protocol>$Target/Property[Type="Microsoft.JEE.ApplicationServer.Monitored.Instance"]/Protocol$</Protocol>
<Port>$Target/Property[Type="Microsoft.JEE.ApplicationServer.Monitored.Instance"]/Port$</Port>
<BaseURL/>
<URLSuffix/>
<IntervalSeconds>900</IntervalSeconds>
<TimeoutSeconds>300</TimeoutSeconds>
</DataSource>
</DataSources>
<ConditionDetection TypeID="Microsoft.JEE.Performance.DataGenericMapper" ID="PerfMapper">
<ObjectName>Memory</ObjectName>
<CounterName>JVM Percent Heap Memory Used</CounterName>
<InstanceName/>
<Value>$Data/Stats/Memory/Properties/PercentHeapMemoryUsed$</Value>
</ConditionDetection>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>