Creating Custom Service Checks


Within VMware vCenter Protect - Configuration Management, you can define a custom check that looks on all scanned machines for the status of a specific service. For example, you may wish to create a custom check that verifies that all of your organization's machines are configured to automatically start a specific anti-virus service. Custom checks can augment the built-in services checks already provided with the data for VMware vCenter Protect - Configuration Management. The built-in checks cover most of the services provided by the Windows operating systems supported by VMware vCenter Protect - Configuration Management.

Note: To see a demonstration of this process, go to:

  1. To create a new custom Service Status check from scratch, from the Custom Check Wizard click Create New Custom Check.

The following dialog is displayed:


  1. Select the desired operating system levels and then click Next.

Tip: To determine the operating system being used on a particular machine, on the machine's desktop right-click My Computer and then select Properties. The operating system is listed on the General tab.

The General Properties dialog is displayed.


  1. Type a unique name for the custom check and a description.

  2. In the Type box select Service Status and then click Next.

The Specific Properties dialog is displayed. For example:


  1. In the Service Name box, type the name of the service for which you want to create a custom check.

To locate the correct name to use:

a) From your Windows desktop select Start > Control Panel > Administrative Tools.

b) Double-click the Services icon.

c) From within the Services dialog, double-click the service for which you want to create a custom check.

d) On the resulting Properties dialog, on the General tab, locate the Service name. For example:


e) On the Custom Check Wizard dialog, type this name in the Service Name box.

Tip: Another way to locate the correct service name is to launch the Microsoft Registry Editor (regedit) and navigate to the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services directory. Keys under this hive are commonly named with the service name required for use with the wizard.

  1. Click Test Check.

This test is performed on the console registry and has two purposes. It validates that the check is properly defined by using the information provided to locate the check, and it displays the current value of the service. If the test comes back unable to locate the service, it either means the check is not properly defined or it does not exist on the console (although it may on the target systems).

  1. Click Next.

The Operator and Value dialog is displayed.


  1. Select an operator, type an expected value, and then click Next.

The Operator can be either of the following:

The Service Status can be any of the following:

  1. Click Next.

The following dialog is displayed.



  1. (Optional) If you want to export this custom check to an XML file to use it as the starting point for other custom checks, click Export to File.

For more information, see Exporting Custom Checks.

  1. Click Finish.

The custom check is displayed within the policy. For example: