端口状态收集数据源。
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>