The number of Java classes that are currently loaded by the Java Virtual Machine.
The LoadedClassCount rule collects performance data from the Java Virtual Machine using a Stats call to a servlet using the /Stats query.
The number of Java classes that are currently loaded 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.LoadedClassCount" 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>Class Loader</ObjectName>
<CounterName>JVM Loaded Class Count</CounterName>
<InstanceName/>
<Value>$Data/Stats/ClassLoader/Properties/LoadedClassCount$</Value>
</ConditionDetection>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>