unbound.conf 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. # netdata python.d.plugin configuration for unbound
  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. # autodetection_retry sets the job re-check interval in seconds.
  30. # The job is not deleted if check fails.
  31. # Attempts to start the job are made once every autodetection_retry.
  32. # This feature is disabled by default.
  33. # autodetection_retry: 0
  34. # ----------------------------------------------------------------------
  35. # JOBS (data collection sources)
  36. #
  37. # The default JOBS share the same *name*. JOBS with the same name
  38. # are mutually exclusive. Only one of them will be allowed running at
  39. # any time. This allows autodetection to try several alternatives and
  40. # pick the one that works.
  41. #
  42. # Any number of jobs is supported.
  43. #
  44. # All python.d.plugin JOBS (for all its modules) support a set of
  45. # predefined parameters. These are:
  46. #
  47. # job_name:
  48. # name: myname # the JOB's name as it will appear at the
  49. # # dashboard (by default is the job_name)
  50. # # JOBs sharing a name are mutually exclusive
  51. # update_every: 1 # the JOB's data collection frequency
  52. # priority: 60000 # the JOB's order on the dashboard
  53. # penalty: yes # the JOB's penalty
  54. # autodetection_retry: 0 # the JOB's re-check interval in seconds
  55. #
  56. # Additionally to the above, unbound also supports the following:
  57. #
  58. # host: localhost # The host to connect to.
  59. # port: 8953 # WHat port to use (defaults to 8953)
  60. # socket: /path/to/socket # A path to a UNIX socket to use instead
  61. # # of a TCP connection
  62. # tls_key_file: /path/to/key # The key file to use for authentication
  63. # tls_cert_file: /path/to/key # The certificate to use for authentication
  64. # extended: false # Whether to collect extended stats or not
  65. # per_thread: false # Whether to show charts for per-thread stats
  66. #
  67. # In addition to the above, you can set the following to try and
  68. # auto-detect most settings based on the unbound configuration:
  69. #
  70. # ubconf: /etc/unbound/unbound.conf
  71. #
  72. # Note that the SSL key and certificate need to be readable by the user
  73. # unbound runs as if you're using the regular control interface.
  74. # If you're using a UNIX socket, that has to be readable by the netdata user.
  75. # The following should work for most users if they have unbound configured
  76. # correctly.
  77. local:
  78. ubconf: /etc/unbound/unbound.conf