Uses registry discovery to identify servers hosting the Microsft Windows Media Services
Custom Windows Media Services server Role
The Custom WMS Role server is identified by the existence of the WMServer.exe service set to auto or manual start.
The monitor will show a red state and raise an alert when the service is not running
Re-start the service
The service is the most fundamental component of this server role
This Management Pack is owned and maintained by Custom
Target | Microsoft.Windows.Server.2003.Computer |
Enabled | True |
Frequency | 3845 |
Remotable | False |
Discovered Classes and their attribuets: |
---|
|
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DS | DataSource | Microsoft.Windows.FilteredRegistryDiscoveryProvider | Default |
<Discovery ID="Custom.WMS.9.Role.Discovery" Enabled="true" Target="Server!Microsoft.Windows.Server.2003.Computer" ConfirmDelivery="false" Remotable="true" Priority="Normal">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Custom.WMS.9.Role">
<Property TypeID="Custom.WMS.x.Role" PropertyID="ID"/>
<Property TypeID="Custom.WMS.x.Role" PropertyID="InstallDir"/>
<Property TypeID="System!System.Entity" PropertyID="DisplayName"/>
</DiscoveryClass>
</DiscoveryTypes>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.FilteredRegistryDiscoveryProvider">
<ComputerName>$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<RegistryAttributeDefinitions>
<RegistryAttributeDefinition>
<AttributeName>WMServerStart</AttributeName>
<Path>SYSTEM\CurrentControlSet\Services\WMServer\Start</Path>
<PathType>1</PathType>
<AttributeType>2</AttributeType>
</RegistryAttributeDefinition>
<RegistryAttributeDefinition>
<AttributeName>InstallDir</AttributeName>
<Path>SOFTWARE\Microsoft\Windows Media\Server\InstallDir</Path>
<PathType>1</PathType>
<AttributeType>1</AttributeType>
</RegistryAttributeDefinition>
<RegistryAttributeDefinition>
<AttributeName>Version</AttributeName>
<Path>SOFTWARE\Microsoft\Windows Media\Server\Version</Path>
<PathType>1</PathType>
<AttributeType>1</AttributeType>
</RegistryAttributeDefinition>
</RegistryAttributeDefinitions>
<Frequency>3845</Frequency>
<ClassId>$MPElement[Name="Custom.WMS.9.Role"]$</ClassId>
<InstanceSettings>
<Settings>
<Setting>
<Name>$MPElement[Name="Custom.WMS.x.Role"]/ID$</Name>
<Value>$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/NetbiosComputerName$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Name>
<Value>$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Custom.WMS.x.Role"]/InstallDir$</Name>
<Value>$Data/Values/InstallDir$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="System!System.Entity"]/DisplayName$</Name>
<Value>Windows Media Services Role</Value>
</Setting>
</Settings>
</InstanceSettings>
<Expression>
<And>
<Expression>
<Or>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Integer">Values/WMServerStart</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="Integer">2<!--Auto--></Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Integer">Values/WMServerStart</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="Integer">3<!--Manual--></Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</Or>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Integer">Values/Version</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>
9.0
</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</Discovery>