Skip to content

This plugin provides native NTP instrumentation for monitoring and metrics collection, including: server drift, and metrics via `ntpdate` and `ntpstats`.

License

Notifications You must be signed in to change notification settings

Jana-Mobile/sensu-plugins-ntp

This branch is 30 commits behind sensu-plugins/sensu-plugins-ntp:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

484eee7 · Oct 11, 2016

History

43 Commits
Mar 2, 2016
Jul 25, 2016
Jul 14, 2016
Feb 17, 2015
Feb 17, 2015
Aug 27, 2015
Jun 14, 2016
Jul 25, 2016
Aug 27, 2015
Feb 17, 2015
May 21, 2015
Oct 11, 2016
Mar 4, 2016
Jun 14, 2016

Repository files navigation

sensu-plugins-ntp

Build Status Gem Version Code Climate Test Coverage Dependency Status

Functionality

Provides plugins for checking and measuring Network Time Protocol (NTP) servers.

Usage

check-ntp.rb

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)

metrics-ntpdate.rb

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)

metrics-ntpstats.rb

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 jitter
  • clk_wander: Clock frequency wander
  • frequency: Frequency offset relative to hardware clock
  • mintc: Minimum time constant
  • offset: Combined offset of server relative to this host
  • stratum: Stratum
  • sys_jitter: Combined system jitter
  • tc: Time constant and poll exponent

Installation

sensu-install --plugin sensu-plugins-ntp

About

This plugin provides native NTP instrumentation for monitoring and metrics collection, including: server drift, and metrics via `ntpdate` and `ntpstats`.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%