Creating service monitors in MP Author

Monitors are used by SCOM to affect the health of a particular object. Often a custom application will have a custom service to monitor, but for the purposes of making this recipe generic, we will choose to monitor the Print Spooler service. This is to allow you to stop and start this service on your test machine to observe the results without causing too many problems. This recipe builds on the management pack developed in the previous recipe to build a more featured management pack.

Getting ready

Make sure that you have followed the previous recipes or their equivalent. This means you will have a SCOM environment and MP Author already installed and available for use.

How to do it...

To create service monitors ...

Get Microsoft System Center 2012 R2 Operations Manager Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.