metadata.yaml 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. plugin_name: python.d.plugin
  2. modules:
  3. - meta:
  4. plugin_name: python.d.plugin
  5. module_name: squid
  6. monitored_instance:
  7. name: Squid
  8. link: "http://www.squid-cache.org/"
  9. categories:
  10. - data-collection.web-servers-and-web-proxies
  11. icon_filename: "squid.png"
  12. related_resources:
  13. integrations:
  14. list: []
  15. info_provided_to_referring_integrations:
  16. description: ""
  17. keywords:
  18. - squid
  19. - web delivery
  20. - squid caching proxy
  21. most_popular: false
  22. overview:
  23. data_collection:
  24. metrics_description: |
  25. This collector monitors statistics about the Squid Clients and Servers, like bandwidth and requests.
  26. method_description: "It collects metrics from the endpoint where Squid exposes its `counters` data."
  27. supported_platforms:
  28. include: []
  29. exclude: []
  30. multi_instance: true
  31. additional_permissions:
  32. description: ""
  33. default_behavior:
  34. auto_detection:
  35. description: "By default, this collector will try to autodetect where Squid presents its `counters` data, by trying various configurations."
  36. limits:
  37. description: ""
  38. performance_impact:
  39. description: ""
  40. setup:
  41. prerequisites:
  42. list:
  43. - title: Configure Squid's Cache Manager
  44. description: |
  45. Take a look at [Squid's official documentation](https://wiki.squid-cache.org/Features/CacheManager/Index#controlling-access-to-the-cache-manager) on how to configure access to the Cache Manager.
  46. configuration:
  47. file:
  48. name: "python.d/squid.conf"
  49. options:
  50. description: |
  51. There are 2 sections:
  52. * Global variables
  53. * One or more JOBS that can define multiple different instances to monitor.
  54. 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.
  55. Additionally, the following collapsed table contains all the options that can be configured inside a JOB definition.
  56. Every configuration JOB starts with a `job_name` value which will appear in the dashboard, unless a `name` parameter is specified.
  57. folding:
  58. title: "Config options"
  59. enabled: true
  60. list:
  61. - name: update_every
  62. description: Sets the default data collection frequency.
  63. default_value: 1
  64. required: false
  65. - name: priority
  66. description: Controls the order of charts at the netdata dashboard.
  67. default_value: 60000
  68. required: false
  69. - name: autodetection_retry
  70. description: Sets the job re-check interval in seconds.
  71. default_value: 0
  72. required: false
  73. - name: penalty
  74. description: Indicates whether to apply penalty to update_every in case of failures.
  75. default_value: yes
  76. required: false
  77. - name: name
  78. description: >
  79. 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: "local"
  81. required: false
  82. - name: host
  83. description: The host to connect to.
  84. default_value: ""
  85. required: true
  86. - name: port
  87. description: The port to connect to.
  88. default_value: ""
  89. required: true
  90. - name: request
  91. description: The URL to request from Squid.
  92. default_value: ""
  93. required: true
  94. examples:
  95. folding:
  96. enabled: true
  97. title: "Config"
  98. list:
  99. - name: Basic
  100. description: A basic configuration example.
  101. folding:
  102. enabled: false
  103. config: |
  104. example_job_name:
  105. name: 'local'
  106. host: 'localhost'
  107. port: 3128
  108. request: 'cache_object://localhost:3128/counters'
  109. - name: Multi-instance
  110. description: |
  111. > **Note**: When you define multiple jobs, their names must be unique.
  112. Collecting metrics from local and remote instances.
  113. config: |
  114. local_job:
  115. name: 'local'
  116. host: '127.0.0.1'
  117. port: 3128
  118. request: 'cache_object://127.0.0.1:3128/counters'
  119. remote_job:
  120. name: 'remote'
  121. host: '192.0.2.1'
  122. port: 3128
  123. request: 'cache_object://192.0.2.1:3128/counters'
  124. troubleshooting:
  125. problems:
  126. list: []
  127. alerts: []
  128. metrics:
  129. folding:
  130. title: Metrics
  131. enabled: false
  132. description: ""
  133. availability: []
  134. scopes:
  135. - name: Squid instance
  136. description: "These metrics refer to each monitored Squid instance."
  137. labels: []
  138. metrics:
  139. - name: squid.clients_net
  140. description: Squid Client Bandwidth
  141. unit: "kilobits/s"
  142. chart_type: area
  143. dimensions:
  144. - name: in
  145. - name: out
  146. - name: hits
  147. - name: squid.clients_requests
  148. description: Squid Client Requests
  149. unit: "requests/s"
  150. chart_type: line
  151. dimensions:
  152. - name: requests
  153. - name: hits
  154. - name: errors
  155. - name: squid.servers_net
  156. description: Squid Server Bandwidth
  157. unit: "kilobits/s"
  158. chart_type: area
  159. dimensions:
  160. - name: in
  161. - name: out
  162. - name: squid.servers_requests
  163. description: Squid Server Requests
  164. unit: "requests/s"
  165. chart_type: line
  166. dimensions:
  167. - name: requests
  168. - name: errors