-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(inputs.ntpq): Add option to specify command flags (#11593)
- Loading branch information
Showing
3 changed files
with
53 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
# Get standard NTP query metrics, requires ntpq executable. | ||
[[inputs.ntpq]] | ||
## If false, set the -n ntpq flag. Can reduce metric gather time. | ||
dns_lookup = true | ||
## DEPRECATED since 1.24.0: add '-n' to 'options' instead to skip DNS lookup | ||
# dns_lookup = true | ||
|
||
## Options to pass to the ntpq command. | ||
# options = "-p" |