ntpd.conf 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. # netdata python.d.plugin configuration for ntpd
  2. #
  3. # This file is in YaML format. Generally the format is:
  4. #
  5. # name: value
  6. #
  7. # There are 2 sections:
  8. # - global variables
  9. # - one or more JOBS
  10. #
  11. # JOBS allow you to collect values from multiple sources.
  12. # Each source will have its own set of charts.
  13. #
  14. # JOB parameters have to be indented (using spaces only, example below).
  15. # ----------------------------------------------------------------------
  16. # Global Variables
  17. # These variables set the defaults for all JOBs, however each JOB
  18. # may define its own, overriding the defaults.
  19. # update_every sets the default data collection frequency.
  20. # If unset, the python.d.plugin default is used.
  21. # update_every: 1
  22. # priority controls the order of charts at the netdata dashboard.
  23. # Lower numbers move the charts towards the top of the page.
  24. # If unset, the default for python.d.plugin is used.
  25. # priority: 60000
  26. # penalty indicates whether to apply penalty to update_every in case of failures.
  27. # Penalty will increase every 5 failed updates in a row. Maximum penalty is 10 minutes.
  28. # penalty: yes
  29. # ----------------------------------------------------------------------
  30. # JOBS (data collection sources)
  31. #
  32. # The default JOBS share the same *name*. JOBS with the same name
  33. # are mutually exclusive. Only one of them will be allowed running at
  34. # any time. This allows autodetection to try several alternatives and
  35. # pick the one that works.
  36. #
  37. # Any number of jobs is supported.
  38. #
  39. # All python.d.plugin JOBS (for all its modules) support a set of
  40. # predefined parameters. These are:
  41. #
  42. # job_name:
  43. # name: myname # the JOB's name as it will appear at the
  44. # # dashboard (by default is the job_name)
  45. # # JOBs sharing a name are mutually exclusive
  46. # update_every: 1 # the JOB's data collection frequency
  47. # priority: 60000 # the JOB's order on the dashboard
  48. # penalty: yes # the JOB's penalty
  49. #
  50. # Additionally to the above, ntp also supports the following:
  51. #
  52. # host: 'localhost' # the host to query
  53. # port: '123' # the UDP port where `ntpd` listens
  54. # show_peers: no # use `yes` to show peer charts. enabling this
  55. # # option is recommended only for debugging, as
  56. # # it could possibly imply memory leaks if the
  57. # # peers change frequently.
  58. # peer_filter: '127\..*' # regex to exclude peers
  59. # # by default local peers are hidden
  60. # # use `''` to show all peers.
  61. # peer_rescan: 60 # interval (>0) to check for new/changed peers
  62. # # use `1` to check on every update
  63. #
  64. # ----------------------------------------------------------------------
  65. # AUTO-DETECTION JOBS
  66. # only one of them will run (they have the same name)
  67. localhost:
  68. name: 'local'
  69. host: 'localhost'
  70. port: '123'
  71. show_peers: no
  72. localhost_ipv4:
  73. name: 'local'
  74. host: '127.0.0.1'
  75. port: '123'
  76. show_peers: no
  77. localhost_ipv6:
  78. name: 'local'
  79. host: '::1'
  80. port: '123'
  81. show_peers: no