Monitor Application Services through SCOM
Recently we got a request to enable monitoring for all the VMWare AirWatch application services through SCOM as the team is unable to find any Management Pack for the VMWare AirWatch application.
So we decided to monitor those services through Windows Service template in SCOM.
Windows Service template is available out of the box in SCOM. The Windows Service template lets you find and monitor instances of a particular service installed on a Windows-based computer.
The template locates computers that are running the service and then applies monitors and rules to test its availability and collect performance data. The only information that you have to provide is the name of the service and the types of monitoring that you want to perform.
So let’s start.
1: Login on to Operations Manager console and click on Authoring tab.
2: Expand Management Pack Templates and click on Windows Services.
3: Click Add Monitoring Wizard under Tasks tab.
4: Select Windows Services and click Next.
5: Provide a friendly name and description.
6: Select an appropriate management pack to store the alert. I would recommend creating a management pack for all your custom rule based alerts.
7: Click Next to continue.
8: In the Service Name box, type the name of the specific service that you want to monitor, or click the ellipse (…) button to browse for the service. You can select any computer that has the service installed.
9: Under Targeted Group, specify the group containing the servers for which monitoring needs to be enabled.
10: Clear the Monitor only automatic services option if you want the monitor to apply to services that are not configured to start automatically.
Also, if the service that you are monitoring is in a cluster, clear Monitor only automatic services option.
11: Select the Performance Counters if the CPU and Memory usage should be monitored.
12: Click Next to continue.
13: Review the Summary and click Create button to start the monitoring.
Created template should be visible under Windows Service template.
You will get an alert whenever the service is stopped and the alert will auto clear once the service is started however it will not show the affected service name in subject.
We need to make changes in the monitor so we may get affected service name in alert subject.
14: Select the created template and click View Management Pack Objects and click Monitors.
15: Double click the Monitor Service Running State which was saved under custom Management Pack.
16: Add the service name under Name text box in General tab and click Apply.
17: Click on Alerting tab and update the Alert name text box with the service name.
18: Click Apply and OK.
Follow the same process to enable monitoring for other services.
Hope this helps.