We would like to monitor all running services on a Windows server using the ntservices probe. How do we do this?
Release: UIM All versions
Component: ntservices
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.
change the following sections of the .cfx
In the <setup> Section change the following:
From:
delete_profile_section = no
To:
delete_profile_section = yes
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.
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.
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.