Monitoring des processus : Source de données de déclenchement d'alertes concernant le pourcentage de temps processeur

Microsoft.Windows.Server.10.0.Process.PercentProcessorTimeAlerting.DataSource (DataSourceModuleType)

Source de données de déclenchement d'alertes concernant le pourcentage de temps processeur.

Element properties:

TypeDataSourceModuleType
IsolationAny
AccessibilityPublic
RunAsDefault
OutputTypeMicrosoft.Windows.Server.10.0.ProcessAlertData.Type

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.Server.10.0.Process.Alerting.DataSource Default

Overrideable Parameters:

IDParameterTypeSelectorDisplay NameDescription
IntervalSecondsint$Config/IntervalSeconds$Intervalle en secondesIntervalle (secondes)
SampleCountint$Config/SampleCount$Nombre d'échantillonsNombre d'échantillons
PercentProcessorTimeThresholdint$Config/PercentProcessorTimeThreshold$Seuil du temps processeur en pourcentageSeuil du temps processeur en pourcentage.
MonitoringConfigurationstring$Config/MonitoringConfiguration$Configuration du monitoringPermet de spécifier des seuils pour des processus spécifiques et des processus à exclure du monitoring au format XML
LogLevelint$Config/LogLevel$Niveau de journalisation
Détermine les événements à écrire dans le journal des événements.
0 – Tout, 1 – Information, 2 – Avertissement, 4 – Erreur, 8 – Commentaires,
16 – Débogage, 255 – Aucun

Source Code:

<DataSourceModuleType ID="Microsoft.Windows.Server.10.0.Process.PercentProcessorTimeAlerting.DataSource" Accessibility="Public">
<Configuration>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="MonitoringConfiguration" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="IntervalSeconds" type="xsd:int"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="SampleCount" type="xsd:int"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="PercentProcessorTimeThreshold" type="xsd:int"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="0" maxOccurs="1" name="LogLevel" type="xsd:int"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="IntervalSeconds" Selector="$Config/IntervalSeconds$" ParameterType="int"/>
<OverrideableParameter ID="SampleCount" Selector="$Config/SampleCount$" ParameterType="int"/>
<OverrideableParameter ID="PercentProcessorTimeThreshold" Selector="$Config/PercentProcessorTimeThreshold$" ParameterType="int"/>
<OverrideableParameter ID="MonitoringConfiguration" Selector="$Config/MonitoringConfiguration$" ParameterType="string"/>
<OverrideableParameter ID="LogLevel" Selector="$Config/LogLevel$" ParameterType="int"/>
</OverrideableParameters>
<ModuleImplementation>
<Composite>
<MemberModules>
<DataSource ID="DS" TypeID="Microsoft.Windows.Server.10.0.Process.Alerting.DataSource">
<MonitoringConfiguration>$Config/MonitoringConfiguration$</MonitoringConfiguration>
<IntervalSeconds>$Config/IntervalSeconds$</IntervalSeconds>
<SampleCount>$Config/SampleCount$</SampleCount>
<HandleCountIncreaseThreshold>20</HandleCountIncreaseThreshold>
<MemoryPercentageThreshold>50</MemoryPercentageThreshold>
<PercentProcessorTimeThreshold>$Config/PercentProcessorTimeThreshold$</PercentProcessorTimeThreshold>
<SeedId>$Target/Id$</SeedId>
<LogLevel>$Config/LogLevel$</LogLevel>
</DataSource>
</MemberModules>
<Composition>
<Node ID="DS"/>
</Composition>
</Composite>
</ModuleImplementation>
<OutputType>Microsoft.Windows.Server.10.0.ProcessAlertData.Type</OutputType>
</DataSourceModuleType>