monitoring multi services using scom

PerserPolis-1732 1,971 Reputation points
2022-10-14T13:12:08.793+00:00

Hi,

I have an application that has many services and I want to monitor all that services with one MP and one group. I dont want to create for each services a Windows services.
I know I can create under Authoring-->Windows Services, but there I can create only one services. Maybe is create group only way.

Is there any guide?

Regards

System Center Operations Manager
System Center Operations Manager
A family of System Center products that provide infrastructure monitoring, help ensure the predictable performance and availability of vital applications, and offer comprehensive monitoring for datacenters and cloud, both private and public.
1,603 questions
0 comments No comments
{count} votes

6 answers

Sort by: Most helpful
  1. SChalakov 10,576 Reputation points MVP Volunteer Moderator
    2022-10-19T07:50:41.213+00:00

    Hi,

    what you need to do is this (from the second article):

    • Open the File in your XML editor of choice (Notepad will do, but Visual Studio or Notepad+++ will make it a bit easier to read)
    • Search the file for your wildcard in my case this is M%
    • We’ll be making a few replacements in the code.

    You will be modifying:

    <DataSource ID=”DS” TypeID=”MicrosoftWindowsLibrary7585010!Microsoft.Windows.Win32ServiceInformationProviderWithClassSnapshotDataMapper”>

    <ComputerName>$Target/Property[Type=”MicrosoftWindowsLibrary7585010!Microsoft.Windows.Computer”]/NetworkName$</ComputerName>

    <ServiceName>m%</ServiceName>

    To: (remember to also swap the m% with the appropriate value)

    <DataSource ID=”DS” TypeID=” MicrosoftWindowsLibrary7585010!Microsoft.Windows.WmiProviderWithClassSnapshotDataMapper”>

    <NameSpace>root\cimv2</NameSpace>

    <Query>select * from win32_service where name like ‘m%'</Query>

    and also this:

    <Name>$MPElement[Name=”MicrosoftSystemCenterNTServiceLibrary!Microsoft.SystemCenter.NTService”]/ServiceProcessName$</Name>

    <Value>$Data/Property[@DeezNutz =’BinaryPathName’]$</Value>

    To:

    <Name>$MPElement[Name=”MicrosoftSystemCenterNTServiceLibrary!Microsoft.SystemCenter.NTService”]/ServiceProcessName$</Name>

    <Value>$Data/Property[@DeezNutz =’PathName’]$</Value>

    Save the .xml file

    Please read the article carefullly, it is expalined in great detail, step byy step exactly what you need to replace and how to do it.

    Regards,
    Stoyan

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.