SCOM monitoring on windows services in starting or stopping state

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

March 25th, 2015 8:20am

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.aspx
  • Edited by Flodu31 17 hours 51 minutes ago
Free Windows Admin Tool Kit Click here and download it now
March 25th, 2015 9:19am

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.aspx
  • Edited by Flodu31 Wednesday, March 25, 2015 1:18 PM
March 25th, 2015 1:17pm

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.aspx
  • Edited by Flodu31 Wednesday, March 25, 2015 1:18 PM
Free Windows Admin Tool Kit Click here and download it now
March 25th, 2015 1:17pm

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.aspx
  • Edited by Flodu31 Wednesday, March 25, 2015 1:18 PM
  • Marked as answer by Balys 1 19 hours 53 minutes ago
March 25th, 2015 1:17pm

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

http://blogs.technet.com/b/brianwren/archive/2008/03/07/using-wildcards-with-the-windows-service-template.aspx
Roger

Free Windows Admin Tool Kit Click here and download it now
March 25th, 2015 11:41pm

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

http://blogs.technet.com/b/brianwren/archive/2008/03/07/using-wildcards-with-the-windows-service-template.aspx
Roger

  • Marked as answer by Balys 1 19 hours 53 minutes ago
March 26th, 2015 3:39am

Hi,

Please also take a look the thread below:

Monitor All Windows Services on multiple Servers and Recover

https://social.technet.microsoft.com/Forums/systemcenter/en-US/dbb175c4-8ec0-4427-9d10-9382044144e7/monitor-all-windows-services-on-multiple-servers-and-recover?forum=operationsmanagerauthoring

Free Windows Admin Tool Kit Click here and download it now
March 27th, 2015 5:37am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics