Provides plugins for checking and measuring Network Time Protocol (NTP) servers.
Check the synchronization state of the local NTP server.
parameters:
warn
: Maximum offset in ms for warning state (default:10
)crit
: Maximum offset in ms for critical state (default:100
)stratum
: Maximum stratum value (default:15
)unsynced_status
: Default status when unsynced (default:UNKNOWN
)
Get metrics from ntpdate.
parameters:
server
: Comma separated list of NTP server(s) to measure (default:localhost
)scheme
: Prefix for metrics (default:hostname
)
values:
offset
: Time difference between server and source (unit: ms)delay
: Roundtrip time from server to source (unit: ms)
Get metrics from ntpstats.
parameters:
host
: Target host (default:localhost
)scheme
: Prefix for metrics (default:hostname
)
values:
Descriptions taken from https://www.eecis.udel.edu/~mills/ntp/html/ntpq.html.
clk_jitter
: Clock jitterclk_wander
: Clock frequency wanderfrequency
: Frequency offset relative to hardware clockmintc
: Minimum time constantoffset
: Combined offset of server relative to this hoststratum
: Stratumsys_jitter
: Combined system jittertc
: Time constant and poll exponent
sensu-install --plugin sensu-plugins-ntp