-
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.
Document new 'reach_format' setting.
- Loading branch information
Showing
2 changed files
with
24 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,21 @@ | ||
# Get standard NTP query metrics, requires ntpq executable. | ||
[[inputs.ntpq]] | ||
## Servers to query with ntpq. | ||
## If no server is given, the local machine is queried. | ||
# servers = [] | ||
|
||
## If false, set the -n ntpq flag. Can reduce metric gather time. | ||
## 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" | ||
|
||
## Servers to query with ntpq. | ||
## If no server is given, the local machine is queried. | ||
# servers = [] | ||
## Output format for the 'reach' field. | ||
## Available values are | ||
## octal -- output as is in octal representation e.g. 377 (default) | ||
## decimal -- convert value to decimal representation e.g. 371 -> 249 | ||
## count -- count the number of bits in the value. This represents | ||
## the number of successful reaches, e.g. 37 -> 5 | ||
## ratio -- output the ratio of successful attempts e.g. 37 -> 5/8 = 0.625 | ||
# reach_format = "octal" |