Anzahl aktuell ausgeführter JVM-Threads

Microsoft.JEE.ApplicationServer.PerformanceData.ThreadCount (Rule)

Hiermit wird die Anzahl der Java-Threads angegeben, die derzeit in der Java Virtual Machine ausgeführt werden.

Knowledge Base article:

Zusammenfassung

Mit der Regel "ThreadCount" werden Leistungsdaten von der Java Virtual Machine erfasst. Die Erfassung erfolgt über einen Stats-Aufruf an ein Servlet, bei dem die Abfrage "/Stats" verwendet wird.

Hiermit wird die Anzahl der Java-Threads angegeben, die derzeit in der Java Virtual Machine ausgeführt werden.

Die Leistungsdaten werden sowohl in die Systemdatenbank als auch in das Data Warehouse geschrieben.

Element properties:

TargetMicrosoft.JEE.ApplicationServer.Monitored.Instance
CategoryPerformanceCollection
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

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

Source Code:

<Rule ID="Microsoft.JEE.ApplicationServer.PerformanceData.ThreadCount" 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>Threading</ObjectName>
<CounterName>JVM Current Running Thread Count</CounterName>
<InstanceName/>
<Value>$Data/Stats/Thread/Properties/ThreadCount$</Value>
</ConditionDetection>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>