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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.