metadata.yaml 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. plugin_name: python.d.plugin
  2. modules:
  3. - meta:
  4. plugin_name: python.d.plugin
  5. module_name: tor
  6. monitored_instance:
  7. name: Tor
  8. link: 'https://www.torproject.org/'
  9. categories:
  10. - data-collection.vpns
  11. icon_filename: 'tor.svg'
  12. related_resources:
  13. integrations:
  14. list: []
  15. info_provided_to_referring_integrations:
  16. description: ''
  17. keywords:
  18. - tor
  19. - traffic
  20. - vpn
  21. most_popular: false
  22. overview:
  23. data_collection:
  24. metrics_description: 'This collector monitors Tor bandwidth traffic .'
  25. method_description: 'It connects to the Tor control port to collect traffic statistics.'
  26. supported_platforms:
  27. include: []
  28. exclude: []
  29. multi_instance: true
  30. additional_permissions:
  31. description: ''
  32. default_behavior:
  33. auto_detection:
  34. description: 'If no configuration is provided the collector will try to connect to 127.0.0.1:9051 to detect a running tor instance.'
  35. limits:
  36. description: ''
  37. performance_impact:
  38. description: ''
  39. setup:
  40. prerequisites:
  41. list:
  42. - title: 'Required Tor configuration'
  43. description: |
  44. Add to /etc/tor/torrc:
  45. ControlPort 9051
  46. For more options please read the manual.
  47. configuration:
  48. file:
  49. name: python.d/tor.conf
  50. options:
  51. description: |
  52. There are 2 sections:
  53. * Global variables
  54. * One or more JOBS that can define multiple different instances to monitor.
  55. The following options can be defined globally: priority, penalty, autodetection_retry, update_every, but can also be defined per JOB to override the global values.
  56. Additionally, the following collapsed table contains all the options that can be configured inside a JOB definition.
  57. Every configuration JOB starts with a `job_name` value which will appear in the dashboard, unless a `name` parameter is specified.
  58. folding:
  59. title: "Config options"
  60. enabled: true
  61. list:
  62. - name: update_every
  63. description: Sets the default data collection frequency.
  64. default_value: 5
  65. required: false
  66. - name: priority
  67. description: Controls the order of charts at the netdata dashboard.
  68. default_value: 60000
  69. required: false
  70. - name: autodetection_retry
  71. description: Sets the job re-check interval in seconds.
  72. default_value: 0
  73. required: false
  74. - name: penalty
  75. description: Indicates whether to apply penalty to update_every in case of failures.
  76. default_value: yes
  77. required: false
  78. - name: name
  79. description: Job name. This value will overwrite the `job_name` value. JOBS with the same name are mutually exclusive. Only one of them will be allowed running at any time. This allows autodetection to try several alternatives and pick the one that works.
  80. default_value: ''
  81. required: false
  82. - name: control_addr
  83. description: Tor control IP address
  84. default_value: 127.0.0.1
  85. required: false
  86. - name: control_port
  87. description: Tor control port. Can be either a tcp port, or a path to a socket file.
  88. default_value: 9051
  89. required: false
  90. - name: password
  91. description: Tor control password
  92. default_value: ''
  93. required: false
  94. examples:
  95. folding:
  96. enabled: true
  97. title: "Config"
  98. list:
  99. - name: Local TCP
  100. description: A basic TCP configuration. `local_addr` is ommited and will default to `127.0.0.1`
  101. config: |
  102. local_tcp:
  103. name: 'local'
  104. control_port: 9051
  105. password: <password> # if required
  106. - name: Local socket
  107. description: A basic local socket configuration
  108. config: |
  109. local_socket:
  110. name: 'local'
  111. control_port: '/var/run/tor/control'
  112. password: <password> # if required
  113. troubleshooting:
  114. problems:
  115. list: []
  116. alerts: []
  117. metrics:
  118. folding:
  119. title: Metrics
  120. enabled: false
  121. description: ""
  122. availability: []
  123. scopes:
  124. - name: global
  125. description: "These metrics refer to the entire monitored application."
  126. labels: []
  127. metrics:
  128. - name: tor.traffic
  129. description: Tor Traffic
  130. unit: "KiB/s"
  131. chart_type: area
  132. dimensions:
  133. - name: read
  134. - name: write