5.25. ntp

Determine clock skew from an NTP source.

loader

lua

object

noit.module.ntp

5.25.1. Module Configuration

5.25.2. Check Configuration

port
required

optional

default

123

allowed

\d+

The port to which we will attempt to speak NTP.

control
required

optional

default

^false$

allowed

^(?:true|on|false|off)$

Use the NTP control protocol to learn about the other end. If thise ois not true/on, then this check will determine the NTP telemetry of the target relative to the agent's local time. If it is true/on, then the agent will request the NTP telemetry of the target regarding it's preferred peer.

Example 5.26. Monitor an NTP service

The following example monitors an NTP services on 10.1.2.3.

      <noit>
        <modules>
          <loader image="lua" name="lua">
            <config><directory>/opt/reconnoiter/libexec/modules-lua/?.lua</directory></config>
          </loader>
          <module loader="lua" name="ntp" object="noit.module.ntp"/>
        </modules>
        <checks>
          <check uuid="4ee1a1e2-1e60-11df-8e99-bf796ca462ef" module="ntp" target="10.1.2.3" period="60000" timeout="5000"/>
        </checks>
      </noit>