Hi @PerserPolis-1732 ,
there are other ways to achieve that, in a pretty easy way. In order to give you adequate hints, I need to ask some more questions:
- Are the services, located on the same server or on multiple servers?
- Is there a common string amongts the service names (we can use WMI query to get only specific services, but there has to be a common rule)
What you can do i Wildcard Service Monitoring, using a WMI filter:
- You can either author your own MP from scratch, like Kevin describes here:
How to discover and monitor a service with a wildcard for the service name
https://kevinholman.com/2019/09/08/how-to-discover-and-monitor-a-service-with-a-wildcard-for-the-service-name/
- Or you can follow this approach, which is mainly GUI based, but requires some basic XML editing:
SCOM monitoring multiple services running under one account or similar names
https://blog.topqore.com/scom-monitoring-multiple-services-running/
The article covers a basic WMI filter, but I could help you build more complex one.
Hope I could help you out!
----------
(If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)
Regards
Stoyan Chalakov