发现 Windows 逻辑磁盘

Microsoft.Windows.Server.10.0.LogicalDisk.Discovery (Discovery)

此发现规则可发现名为“Windows Server 2016 及更高版本逻辑磁盘”的 Windows Server 类,并使用在 Windows Server 2016 及更高版本操作系统上发现的逻辑磁盘(例如 C: 和 D:)的实例来填充它。请注意,仅检测“逻辑磁盘”。归类为“可移动”、“光盘”、“网络驱动器”和“RAM 磁盘”的逻辑磁盘排除在外。

Knowledge Base article:

摘要

此发现规则可发现名为“Windows Server 2016 及更高版本逻辑磁盘”的 Windows Server 类,并使用在 Windows Server 2016 及更高版本操作系统上发现的逻辑磁盘(例如 C: 和 D:)的实例来填充它。请注意,仅检测“逻辑磁盘”。归类为“可移动”、“光盘”、“网络驱动器”和“RAM 磁盘”的逻辑磁盘排除在外。

Element properties:

TargetMicrosoft.Windows.Server.10.0.OperatingSystem
EnabledTrue
Frequency86460
RemotableFalse

Object Discovery Details:

Discovered Classes and their attribuets:
Discovered relationships and their attribuets:

Member Modules:

ID Module Type TypeId RunAs 
DiscoveryDataSource DataSource Microsoft.Windows.Server.10.0.LogicalDiskDiscovery.ModuleType Default

Source Code:

<Discovery ID="Microsoft.Windows.Server.10.0.LogicalDisk.Discovery" Enabled="true" Target="Microsoft.Windows.Server.10.0.OperatingSystem">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Microsoft.Windows.Server.10.0.LogicalDisk">
<Property TypeID="Windows!Microsoft.Windows.LogicalDevice" PropertyID="DeviceID"/>
<Property TypeID="Windows!Microsoft.Windows.LogicalDevice" PropertyID="Name"/>
<Property TypeID="Windows!Microsoft.Windows.LogicalDevice" PropertyID="Description"/>
<Property TypeID="WindowsServer!Microsoft.Windows.Server.LogicalDisk" PropertyID="FileSystem"/>
<Property TypeID="WindowsServer!Microsoft.Windows.Server.LogicalDisk" PropertyID="Compressed"/>
<Property TypeID="WindowsServer!Microsoft.Windows.Server.LogicalDisk" PropertyID="Size"/>
<Property TypeID="WindowsServer!Microsoft.Windows.Server.LogicalDisk" PropertyID="SizeNumeric"/>
<Property TypeID="WindowsServer!Microsoft.Windows.Server.LogicalDisk" PropertyID="SizeInMBs"/>
<Property TypeID="WindowsServer!Microsoft.Windows.Server.LogicalDisk" PropertyID="DriveType"/>
<Property TypeID="WindowsServer!Microsoft.Windows.Server.LogicalDisk" PropertyID="SupportsDiskQuota"/>
<Property TypeID="WindowsServer!Microsoft.Windows.Server.LogicalDisk" PropertyID="QuotasDisabled"/>
<Property TypeID="WindowsServer!Microsoft.Windows.Server.LogicalDisk" PropertyID="SupportsFileBasedCompression"/>
</DiscoveryClass>
<DiscoveryRelationship TypeID="Windows!Microsoft.Windows.ComputerHostsLogicalDevice"/>
</DiscoveryTypes>
<DataSource ID="DiscoveryDataSource" TypeID="Microsoft.Windows.Server.10.0.LogicalDiskDiscovery.ModuleType">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<ComputerID>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</ComputerID>
<IntervalSeconds>86460</IntervalSeconds>
<TimeoutSeconds>360</TimeoutSeconds>
</DataSource>
</Discovery>