SCOM WildCard Service
|Hello World
Using SCOM – Microsoft System Center Operations Manager?
Probably you encountered the Service monitoring request from the client.
What if the client is requesting to monitor deferent services that have deferent names but all under the same application?
Probably you used the Windows Service Template and selected one service at a time.
No More!
from now on use WMI query to monitor all of the services under one class and one discovery.
I created a new Template under SCOM authoring management pack templates with the name “Windows Service Wildcard Monitor”
It now gets a WMI query from you with all the services that you want to monitor, just select your query and the group and vulla!
The steps are easy
Step 1: select the template
Step 2: Enter generic information
Step 3: enter your WMI query and select a group to run on
Important note: use the win32_service class the template form will not allow any other class, the discovery of the services is running every 1 hour.
About WMI query:
If for example, you want to find all the services that start with A then use:
Select * from win32_service where caption like ‘A%’
Same for all services starting with B and are in Manual mode:
Select * from win32_service where caption like ‘B%’ and StartMode = “Manual”
Easy!
Download Now