KeyManagement Service Product Discovery (Update LastActivity and IdleMinutes)
Microsoft.Windows.KeyManagement.Product.UpdateLastActivity (Discovery)
This object discovery updates the LastActivty and IdleMinute properties of Key Management Service Products which are hosted by the Key Management Service.
Element properties: Object Discovery Details: Member Modules:
Source Code: <Discovery ID="Microsoft.Windows.KeyManagement.Product.UpdateLastActivity" Enabled="true" Target="Microsoft.Windows.KeyManagement.Product" ConfirmDelivery="false" Remotable="true" Priority="Normal">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Microsoft.Windows.KeyManagement.Product">
<Property TypeID="Microsoft.Windows.KeyManagement.Product" PropertyID="ProductSkuId"/>
<Property TypeID="Microsoft.Windows.KeyManagement.Product" PropertyID="KMSCurrentCount"/>
<Property TypeID="Microsoft.Windows.KeyManagement.Product" PropertyID="TotalRequests"/>
<Property TypeID="Microsoft.Windows.KeyManagement.Product" PropertyID="LastActivity"/>
<Property TypeID="Microsoft.Windows.KeyManagement.Product" PropertyID="LastActivityYear"/>
<Property TypeID="Microsoft.Windows.KeyManagement.Product" PropertyID="LastActivityMonth"/>
<Property TypeID="Microsoft.Windows.KeyManagement.Product" PropertyID="LastActivityDay"/>
<Property TypeID="Microsoft.Windows.KeyManagement.Product" PropertyID="LastActivityHour"/>
<Property TypeID="Microsoft.Windows.KeyManagement.Product" PropertyID="LastActivityMinute"/>
<Property TypeID="Microsoft.Windows.KeyManagement.Product" PropertyID="IdleMinutes"/>
<Property TypeID="System!System.Entity" PropertyID="DisplayName"/>
</DiscoveryClass>
</DiscoveryTypes>
<DataSource ID="DU" TypeID="Microsoft.Windows.KeyManagement.Product.UpdateLastActivity.Discovery.DataSource">
<IntervalSeconds>3600</IntervalSeconds>
<SyncTime/>
<ComputerID>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</ComputerID>
<ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<ImageName>$Target/Host/Property[Type="Microsoft.Windows.KeyManagement.Service"]/ImageName$</ImageName>
<ProductSkuId>$Target/Property[Type="Microsoft.Windows.KeyManagement.Product"]/ProductSkuId$</ProductSkuId>
<TotalRequests>$Target/Property[Type="Microsoft.Windows.KeyManagement.Product"]/TotalRequests$</TotalRequests>
<LastActivityYear>$Target/Property[Type="Microsoft.Windows.KeyManagement.Product"]/LastActivityYear$</LastActivityYear>
<LastActivityMonth>$Target/Property[Type="Microsoft.Windows.KeyManagement.Product"]/LastActivityMonth$</LastActivityMonth>
<LastActivityDay>$Target/Property[Type="Microsoft.Windows.KeyManagement.Product"]/LastActivityDay$</LastActivityDay>
<LastActivityHour>$Target/Property[Type="Microsoft.Windows.KeyManagement.Product"]/LastActivityHour$</LastActivityHour>
<LastActivityMinute>$Target/Property[Type="Microsoft.Windows.KeyManagement.Product"]/LastActivityMinute$</LastActivityMinute>
<TimeoutSeconds>300</TimeoutSeconds>
</DataSource>
</Discovery>