Skip to content
Florian Forster edited this page Nov 26, 2023 · 1 revision
Name: NTPd plugin
Type: read
Callbacks: config, read
Status: supported
FirstVersion: 3.10
Copyright: 2006–2012 Florian Forster
License: MIT License
Manpage: collectd.conf(5)
See also: List of Plugins

The NTPd plugin queries an NTP server (usually the local one, where statistics access is allowed) and extracts :

  • "local" clock parameters :
    • time offset
    • error and offset loop
  • parameters for each NTP server used to sync time
    • offset
    • dispersion
    • delay

Details of the configuration can be found in the collectd.conf(5) manual page.

Synopsis

 <Plugin "ntpd">
   Host "localhost"
   Port "123"
   ReverseLookups false
 </Plugin>

Parameters

Name Default Multivalue Required Description
Host localhost No No Hostname or IP to collect NTP data from
Port 123 No No UDP port to collect NTP data from
ReverseLookups True No No If True report the peers with hostnames instead of IP addresses
IncludeUnitID False No No This option only exists for backward compatibility. If it is False and two ntpd peers use the same refclock driver, the plugin will try to write simultaneous measurements from both to the same type instance

Example Graphs

Plugin-Ntpd-delay.png Plugin-Ntpd-dispersion.png Plugin-Ntpd-offset.png

Dependencies

  • none

--Sebg 19:52, 26 February 2009 (UTC)

Clone this wiki locally