From 91dca4f2bbc7d87ffd4e35539a8bf0b253ecb9f4 Mon Sep 17 00:00:00 2001 From: Joshua Powers Date: Fri, 29 Mar 2024 12:12:45 -0600 Subject: [PATCH] docs(inputs.win_services): Specify case-insensitive naming (#15077) --- plugins/inputs/win_services/README.md | 7 +++++-- plugins/inputs/win_services/sample.conf | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/plugins/inputs/win_services/README.md b/plugins/inputs/win_services/README.md index 423007e3f..6b97584af 100644 --- a/plugins/inputs/win_services/README.md +++ b/plugins/inputs/win_services/README.md @@ -20,13 +20,16 @@ See the [CONFIGURATION.md][CONFIGURATION.md] for more details. # Input plugin to report Windows services info. # This plugin ONLY supports Windows [[inputs.win_services]] - ## Names of the services to monitor. Leave empty to monitor all the available services on the host. Globs accepted. Case sensitive. + ## Names of the services to monitor. Leave empty to monitor all the available + ## services on the host. Globs accepted. Case insensitive. service_names = [ "LanmanServer", "TermService", "Win*", ] - excluded_service_names = ['WinRM'] # optional, list of service names to exclude + + # optional, list of service names to exclude + excluded_service_names = ['WinRM'] ``` ## Metrics diff --git a/plugins/inputs/win_services/sample.conf b/plugins/inputs/win_services/sample.conf index e2666cf08..8fb562f9d 100644 --- a/plugins/inputs/win_services/sample.conf +++ b/plugins/inputs/win_services/sample.conf @@ -1,10 +1,13 @@ # Input plugin to report Windows services info. # This plugin ONLY supports Windows [[inputs.win_services]] - ## Names of the services to monitor. Leave empty to monitor all the available services on the host. Globs accepted. Case sensitive. + ## Names of the services to monitor. Leave empty to monitor all the available + ## services on the host. Globs accepted. Case insensitive. service_names = [ "LanmanServer", "TermService", "Win*", ] - excluded_service_names = ['WinRM'] # optional, list of service names to exclude + + # optional, list of service names to exclude + excluded_service_names = ['WinRM']