Skip to content

collectors NtpdCollector

Rob Smith edited this page Mar 29, 2013 · 5 revisions

NtpdCollector

Collect stats from ntpd

Dependencies

* subprocess

Options - Generic Options

Setting Default Description Type
byte_unit byte Default numeric output(s) str
enabled False Enable collecting these metrics bool
measure_collector_time False Collect the collector run time in ms bool
ntpdc_bin /usr/bin/ntpdc Path to ntpdc binary str
ntpq_bin /usr/bin/ntpq Path to ntpq binary str
sudo_cmd /usr/bin/sudo Path to sudo str
use_sudo False Use sudo? bool

Example Output

servers.hostname.ntpd.delay 0.127
servers.hostname.ntpd.est_error 5.1e-05
servers.hostname.ntpd.frequency -14.24
servers.hostname.ntpd.jitter 0.026
servers.hostname.ntpd.max_error 0.039793
servers.hostname.ntpd.offset -5.427e-06
servers.hostname.ntpd.poll 1024
servers.hostname.ntpd.reach 377
servers.hostname.ntpd.stratum 2
servers.hostname.ntpd.when 39
Clone this wiki locally