check_timex: add new plugin (#1415)

Sami Kerola notifications at
Tue Mar 15 21:27:54 CET 2016

This plugin uses ntp_adjtime() function to read and report system time
using struct timex values.  Check is similar to check_ntp_time, but with
a difference being completely local execution.	This has some desirable
effects, such as:

1) This check runs very quickly.

2) The status of clock is reported from solely systems point of view,
i.e., a small network hiccup or public DNS failure will not cause
spurious failures

3) The check works when clock is syncronized with something else than
ntp, such as ptp.

Main difference of the check_timex and check_ntp_time is units used in
--warning and --critical arguments.  This check is using microseconds,
while the check_ntp_time is using seconds.  That means one should not
interchange these checks without additional configuration changes.
You can view, comment on, or merge this pull request online at:

-- Commit Summary --

  * check_timex: add new plugin

-- File Changes --

    M .gitignore (1)
    M (1)
    M (5)
    M plugins/ (5)
    A plugins/check_timex.c (175)
    M po/ (1)

-- Patch Links --

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Devel mailing list