(Windows Only) This monitor reports metrics about Windows services. This monitor is based on the Telegraf win_services plugin. More information about the Telegraf plugin can be found here.
Sample YAML configuration:
monitors:
- type: telegraf/win_services # monitor all services
monitors:
- type: telegraf/win_services
serviceNames:
- exampleService1 # only monitor exampleService1
Monitor Type: telegraf/win_services
Accepts Endpoints: No
Multiple Instances Allowed: Yes
Config option | Required | Type | Description |
---|---|---|---|
serviceNames |
no | list of strings |
Names of services to monitor. All services will be monitored if none are specified. |
The following table lists the metrics available for this monitor. Metrics that are marked as Included are standard metrics and are monitored by default.
Name | Type | Included | Description |
---|---|---|---|
win_services.startup_mode |
gauge | The configured start up mode of the window windows service. Possible values are: 0 (Boot Start), 1 (System Start), 2 (Auto Start), 3 (Demand Start), 4 (disabled). |
|
win_services.state |
gauge | The state of the windows service. Possible values are: 1 (Stopped), 2 (Start Pending), 3 (Stop Pending), 4 (Running), 5 (Continue Pending), 6 (Pause Pending), and 7 (Paused). |