ntservices expected state not running or not stopped

book

Article ID: 126737

calendar_today

Updated On:

Products

DX Infrastructure Management NIMSOFT PROBES

Issue/Introduction



What is the difference between
  • "stopped vs not running"
  • "started vs not stopped"
and does the probe calculate the expected state?

Environment

Release:
Component: UIMNSV

Resolution

Other than the two usual states i.e. Stopped, Running, there are certain intermediate states as well e.g. SERVICE_START_PENDING,SERVICE_STOP_PENDING,SERVICE_PAUSE_PENDING etc.

In order to consider all such states customer can use the provided option e.g.

Not_Stopped could be used as expected state where it will cover all the possible states other than Stopped.

When you first activate a profile for a specific service it will take the current state as the expected state.
It is up to you to configure this to the preferred state if it differs from this.

Probe uses standard system calls to fetch these service states e.g. EnumServicesStatus