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

<p>1) This check runs very quickly.</p>

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

<p>3) The check works when clock is syncronized with something else than<br>
ntp, such as ptp.</p>

<p>Main difference of the check_timex and check_ntp_time is units used in<br>
--warning and --critical arguments.  This check is using microseconds,<br>
while the check_ntp_time is using seconds.  That means one should not<br>
interchange these checks without additional configuration changes.</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/monitoring-plugins/monitoring-plugins/pull/1415'>https://github.com/monitoring-plugins/monitoring-plugins/pull/1415</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>check_timex: add new plugin</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/monitoring-plugins/monitoring-plugins/pull/1415/files#diff-0">.gitignore</a>
    (1)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/monitoring-plugins/monitoring-plugins/pull/1415/files#diff-1">THANKS.in</a>
    (1)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/monitoring-plugins/monitoring-plugins/pull/1415/files#diff-2">configure.ac</a>
    (5)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/monitoring-plugins/monitoring-plugins/pull/1415/files#diff-3">plugins/Makefile.am</a>
    (5)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/monitoring-plugins/monitoring-plugins/pull/1415/files#diff-4">plugins/check_timex.c</a>
    (175)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/monitoring-plugins/monitoring-plugins/pull/1415/files#diff-5">po/POTFILES.in</a>
    (1)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/monitoring-plugins/monitoring-plugins/pull/1415.patch'>https://github.com/monitoring-plugins/monitoring-plugins/pull/1415.patch</a></li>
  <li><a href='https://github.com/monitoring-plugins/monitoring-plugins/pull/1415.diff'>https://github.com/monitoring-plugins/monitoring-plugins/pull/1415.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br /><a href="https://github.com/monitoring-plugins/monitoring-plugins/pull/1415">Reply to this email on GitHub</a><img alt="" height="1" src="https://github.com/notifications/beacon/AFQl2YInO9cRZosS70YYA2ktCKgxBRSKks5ptxZKgaJpZM4HxaWK.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/monitoring-plugins/monitoring-plugins/pull/1415"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>