Automatic Services Management Pack

Here is the Automatic Services MP. It was originally released in April 2010 on OpsManJam, and I thought I would also bring it over here.

This is the same version that was on OpsManJam.

Description for the MP:

By default, System Center Operations Manager (OpsMgr) 2007 only monitors services declared in installed management packs and/or declared through the Windows Service monitoring template. This is also tied to the fact that OpsMgr is a specialized monitoring tool, trying to alert not on every service in the system, but only on those deemed critical and/or noteworthy enough to alert in the console.

However, there are some customers who might want to receive alerts when any automatic service is actually not started. There are a few examples going into direction, when you look at the OpsMgr community: 

 - This example explains how to use a management pack generated by the Windows Service monitoring template, and apply a wildcard to them: https://blogs.technet.com/brianwren/archive/2008/03/07/using-wildcards-with-the-windows-service-template.aspx
 - This other example shows how to have a single rule to cycle through all services and set a moitor state to critical when at least one automatic service is not started: https://social.technet.microsoft.com/Forums/en/operationsmanagergeneral/thread/5ef23055-0b61-440f-a7c5-bd7db74fd0f4

This MP is based on the previous script, which works as is but has a limitation: when you install it on a default Windows Server 2003 or Windows Server 2008 machine, it will almost surely fire an alert about well-known services : “Performance Logs and Alerts” in Windows Server 2003 ; “Software Protection” and “Shell Hardware Detection” in Windows Server 2008.

So the "Automatic Services MP" implements some overrides mechanisms, to make sure you can discard specific services from the search. Using those overrides, you can:
- Make sure alerts are not generated for well-known services discussed earlier
- Discard alerts for services already monitored by other management packs and/or Windows Service monitoring templates

 

Automatic Services MP.zip