check_timex: add new plugin (#1415)

Sami Kerola notifications at github.com
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:

  https://github.com/monitoring-plugins/monitoring-plugins/pull/1415

-- Commit Summary --

  * check_timex: add new plugin

-- File Changes --

    M .gitignore (1)
    M THANKS.in (1)
    M configure.ac (5)
    M plugins/Makefile.am (5)
    A plugins/check_timex.c (175)
    M po/POTFILES.in (1)

-- Patch Links --

https://github.com/monitoring-plugins/monitoring-plugins/pull/1415.patch
https://github.com/monitoring-plugins/monitoring-plugins/pull/1415.diff

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/monitoring-plugins/monitoring-plugins/pull/1415
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20160315/100b6036/attachment.html>


More information about the Devel mailing list