Detetar Discos Lógicos do Windows

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

Esta regra utiliza WMI para detetar todos os discos lógicos do Windows, excluindo unidades amovíveis e unidades de rede. Esta regra não deteta unidades montadas sem letra de unidade. Existe uma regra de deteção separada para essas unidades.

Knowledge Base article:

Resumo

Esta Regra de Deteção deteta e preenche a Classe do Windows Server com o nome "Disco Lógico do Windows Server 2008" com instâncias de Discos Lógicos (por exemplo C:, D:) que são detetadas em Servidores do Windows 2008. Tenha em atenção que apenas são detetados Discos Locais. Excluem-se os Discos Lógicos que são classificados como Amovível, CD, Unidade de Rede e Discos de RAM.

Element properties:

TargetMicrosoft.Windows.Server.2008.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.2008.LogicalDiskDiscovery.ModuleType Default

Source Code:

<Discovery ID="Microsoft.Windows.Server.2008.LogicalDisk.Discovery" Enabled="true" Target="Microsoft.Windows.Server.2008.OperatingSystem">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Microsoft.Windows.Server.2008.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.2008.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>