Hi,
Any chance if somebody can help me to set alarm on stopping and starting state windows services (automatic services) in SCOM for client servers.
Balys
Technology Tips and News
Hi,
Any chance if somebody can help me to set alarm on stopping and starting state windows services (automatic services) in SCOM for client servers.
Balys
Hello,
Try to add a new monitoring Wizard with Service Name "%" without " and check the box "Monitor only automatic services".
A link that can help you : http://blogs.technet.com/b/brianwren/archive/2008/03/07/using-wildcards-with-the-windows-service-template.aspxHello,
Try to add a new monitoring Wizard with Service Name "%" without " and check the box "Monitor only automatic services".
A link that can help you : http://blogs.technet.com/b/brianwren/archive/2008/03/07/using-wildcards-with-the-windows-service-template.aspxHello,
Try to add a new monitoring Wizard with Service Name "%" without " and check the box "Monitor only automatic services".
A link that can help you : http://blogs.technet.com/b/brianwren/archive/2008/03/07/using-wildcards-with-the-windows-service-template.aspxHello,
Try to add a new monitoring Wizard with Service Name "%" without " and check the box "Monitor only automatic services".
A link that can help you : http://blogs.technet.com/b/brianwren/archive/2008/03/07/using-wildcards-with-the-windows-service-template.aspx1) Using Windows Service Template to create a windows service monitor with enabled "monitor only automatic service" option
2) Export the management pack containing the monitor which created in step 1)
3) Modidy data source from
TypeID="Windows!Microsoft.Windows.Win32ServiceInformationProviderWithClassSnapshotDataMapper">
<ComputerName>$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<ServiceName>XXXX</ServiceName>
into
TypeID="Windows!Microsoft.Windows.WmiProviderWithClassSnapshotDataMapper">
<NameSpace>root\cimv2</NameSpace>
<Query>select * from win32_service </Query>
AND
<Setting>
<Name>$MPElement[Name="MicrosoftSystemCenterNTServiceLibrary!Microsoft.SystemCenter.NTService"]/ServiceProcessName$</Name>
<Value>$Data/Property[@Name='BinaryPathName']$</Value>
</Setting>
into
<Setting>
<Name>$MPElement[Name="MicrosoftSystemCenterNTServiceLibrary!Microsoft.SystemCenter.NTService"]/ServiceProcessName$</Name>
<Value>$Data/Property[@Name='PathName']$</Value>
</Setting>
4) Import the management pack
1) Using Windows Service Template to create a windows service monitor with enabled "monitor only automatic service" option
2) Export the management pack containing the monitor which created in step 1)
3) Modidy data source from
TypeID="Windows!Microsoft.Windows.Win32ServiceInformationProviderWithClassSnapshotDataMapper">
<ComputerName>$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<ServiceName>XXXX</ServiceName>
into
TypeID="Windows!Microsoft.Windows.WmiProviderWithClassSnapshotDataMapper">
<NameSpace>root\cimv2</NameSpace>
<Query>select * from win32_service </Query>
AND
<Setting>
<Name>$MPElement[Name="MicrosoftSystemCenterNTServiceLibrary!Microsoft.SystemCenter.NTService"]/ServiceProcessName$</Name>
<Value>$Data/Property[@Name='BinaryPathName']$</Value>
</Setting>
into
<Setting>
<Name>$MPElement[Name="MicrosoftSystemCenterNTServiceLibrary!Microsoft.SystemCenter.NTService"]/ServiceProcessName$</Name>
<Value>$Data/Property[@Name='PathName']$</Value>
</Setting>
4) Import the management pack
Hi,
Please also take a look the thread below:
Monitor All Windows Services on multiple Servers and Recover