portcheck.conf 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. # netdata python.d.plugin configuration for portcheck
  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. # chart_cleanup sets the default chart cleanup interval in iterations.
  30. # A chart is marked as obsolete if it has not been updated
  31. # 'chart_cleanup' iterations in a row.
  32. # They will be hidden immediately (not offered to dashboard viewer,
  33. # streamed upstream and archived to external databases) and deleted one hour
  34. # later (configurable from netdata.conf).
  35. # -- For this plugin, cleanup MUST be disabled, otherwise we lose latency chart
  36. chart_cleanup: 0
  37. # Autodetection and retries do not work for this plugin
  38. # ----------------------------------------------------------------------
  39. # JOBS (data collection sources)
  40. #
  41. # The default JOBS share the same *name*. JOBS with the same name
  42. # are mutually exclusive. Only one of them will be allowed running at
  43. # any time. This allows autodetection to try several alternatives and
  44. # pick the one that works.
  45. #
  46. # Any number of jobs is supported.
  47. #
  48. # -------------------------------
  49. # ATTENTION: Any valid configuration will be accepted, even if initial connection fails!
  50. # -------------------------------
  51. #
  52. # There is intentionally no default config for 'localhost'
  53. # job_name:
  54. # name: myname # [optional] the JOB's name as it will appear at the
  55. # # dashboard (by default is the job_name)
  56. # # JOBs sharing a name are mutually exclusive
  57. # update_every: 1 # [optional] the JOB's data collection frequency
  58. # priority: 60000 # [optional] the JOB's order on the dashboard
  59. # penalty: yes # the JOB's penalty
  60. # timeout: 1 # [optional] the socket timeout when connecting
  61. # host: 'dns or ip' # [required] the remote host address in either IPv4, IPv6 or as DNS name.
  62. # port: 22 # [required] the port number to check. Specify an integer, not service name.
  63. # You just have been warned about possible portscan blocking. The portcheck plugin is meant for simple use cases.
  64. # Currently, the accuracy of the latency is low and should be used as reference only.