連接埠狀態收集資料來源。
Type | DataSourceModuleType |
Isolation | Any |
Accessibility | Public |
RunAs | Default |
OutputType | Microsoft.Windows.Server.10.0.DataItemProcessPort.Type |
ID | ParameterType | Selector | Display Name | Description |
---|---|---|---|---|
LogLevel | int | $Config/LogLevel$ | 記錄層次 | 判斷哪些事件應寫入事件記錄檔中。 0 – 全部、1 – 資訊、2 – 警告、4 – 錯誤、8 – 詳細資訊、 16 – 偵錯、255 – 無 |
IntervalSeconds | int | $Config/IntervalSeconds$ | 間隔秒數 | 間隔時間 (秒) |
MonitoringConfiguration | string | $Config/MonitoringConfiguration$ | 監視設定 | 允許使用 XML 格式指定特定處理序的閾值及要從監視中排除的處理序 |
<DataSourceModuleType ID="Microsoft.Windows.Server.10.0.Port.PerfMetrics.Collection.DataSource" Accessibility="Public" Batching="true">
<Configuration>
<!-- optional -->
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="0" maxOccurs="1" name="MonitoringConfiguration" type="xsd:string"/>
<!-- optional -->
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="0" maxOccurs="1" name="LogLevel" type="xsd:int"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="ManagementGroupId" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="ManagedEntityId" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="IntervalSeconds" type="xsd:int"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="LogLevel" Selector="$Config/LogLevel$" ParameterType="int"/>
<OverrideableParameter ID="IntervalSeconds" Selector="$Config/IntervalSeconds$" ParameterType="int"/>
<OverrideableParameter ID="MonitoringConfiguration" Selector="$Config/MonitoringConfiguration$" ParameterType="string"/>
</OverrideableParameters>
<ModuleImplementation Isolation="Any">
<Managed>
<Assembly>Microsoft.Windows.Server.2016.Modules.Assembly</Assembly>
<Type>Microsoft.Windows.Server.Modules.Monitoring.PortStateCollectionDS</Type>
</Managed>
</ModuleImplementation>
<OutputType>Microsoft.Windows.Server.10.0.DataItemProcessPort.Type</OutputType>
</DataSourceModuleType>