# 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" ## 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"