How to monitor all running services on a Windows server using the ntservices probe
search cancel

How to monitor all running services on a Windows server using the ntservices probe

book

Article ID: 35706

calendar_today

Updated On: 04-01-2025

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

We would like to monitor all running services on a Windows server using the ntservices probe. How do we do this?

 

Environment

Release: UIM All versions
Component: ntservices

Resolution

By default, the ntservices will NOT monitor all running services.

You can use a .cfx configuration template file to update the default section of the setup section to allow for all automatic and running services to be monitored.

  1. Create a .cfg file for the ntservices probe by dragging an existing ntservices probe to the archive.
  2. When the dialog comes up change the name and check configuration only.
  3. Next, edit the new configuration only ntservices package you created in the archive and

change the following sections of the .cfx

 In the <setup> Section change the following:

From:

delete_profile_section = no

To:

delete_profile_section = yes

  1. In the <default> section change the following:

From:

<default>

      active = no

      action = report

      severity = major

      subsystem = 1.1.2.1

      alarm_on_action = yes

      qos = yes

</default>

To:

<default>

   active = automatic or running

   action = report

   severity = major

   subsystem = 1.1.2.1

   alarm_on_action = yes

   qos = no

or as needed.

 

This can also be accomplished via the probe GUI. Note that doing this will remove all existing profiles and start from scratch.

  1. Check the box for "Delete Profile Section"
  2. Also check the box for "Automatically Add New Services"
  3. Under "Default values for added new services", choose the appropriate options (e.g. Automatic, Automatic and Running)
  4. If you want to alert when the services are down select "report" in the Action dropdown
  5. If you want QoS collected on the up/down state, check the "QoS on state" box
  6. Restart the probe twice

The first time you restart the probe, the existing services and profiles should be removed from the probe configuration, and the "Delete Profile Section" box will un-check itself.

The second time you restart the probe, the services that match the critera (e.g. "Automatic and Running") will be added to the configuration automatically.

 

 

 

Additional Information

There was a problem with some versions of ntservices before ntservices version 3.24 when trying to configure a default profile to automatically monitor running services. Please make sure you are using ntservices probe v3.24 or newer.