metadata.yaml 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225
  1. plugin_name: python.d.plugin
  2. modules:
  3. - meta:
  4. plugin_name: python.d.plugin
  5. module_name: openldap
  6. monitored_instance:
  7. name: OpenLDAP
  8. link: "https://www.openldap.org/"
  9. categories:
  10. - data-collection.authentication-and-authorization
  11. icon_filename: "statsd.png"
  12. related_resources:
  13. integrations:
  14. list: []
  15. info_provided_to_referring_integrations:
  16. description: ""
  17. keywords:
  18. - openldap
  19. - RBAC
  20. - Directory access
  21. most_popular: false
  22. overview:
  23. data_collection:
  24. metrics_description: "This collector monitors OpenLDAP metrics about connections, operations, referrals and more."
  25. method_description: |
  26. Statistics are taken from the monitoring interface of a openLDAP (slapd) server
  27. supported_platforms:
  28. include: []
  29. exclude: []
  30. multi_instance: false
  31. additional_permissions:
  32. description: ""
  33. default_behavior:
  34. auto_detection:
  35. description: |
  36. This collector doesn't work until all the prerequisites are checked.
  37. limits:
  38. description: ""
  39. performance_impact:
  40. description: ""
  41. setup:
  42. prerequisites:
  43. list:
  44. - title: Configure the openLDAP server to expose metrics to monitor it.
  45. description: |
  46. Follow instructions from https://www.openldap.org/doc/admin24/monitoringslapd.html to activate monitoring interface.
  47. - title: Install python-ldap module
  48. description: |
  49. Install python ldap module
  50. 1. From pip package manager
  51. ```bash
  52. pip install ldap
  53. ```
  54. 2. With apt package manager (in most deb based distros)
  55. ```bash
  56. apt-get install python-ldap
  57. ```
  58. 3. With yum package manager (in most rpm based distros)
  59. ```bash
  60. yum install python-ldap
  61. ```
  62. - title: Insert credentials for Netdata to access openLDAP server
  63. description: |
  64. Use the `ldappasswd` utility to set a password for the username you will use.
  65. configuration:
  66. file:
  67. name: "python.d/openldap.conf"
  68. options:
  69. description: |
  70. There are 2 sections:
  71. * Global variables
  72. * One or more JOBS that can define multiple different instances to monitor.
  73. 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.
  74. Additionally, the following collapsed table contains all the options that can be configured inside a JOB definition.
  75. Every configuration JOB starts with a `job_name` value which will appear in the dashboard, unless a `name` parameter is specified.
  76. folding:
  77. title: "Config options"
  78. enabled: true
  79. list:
  80. - name: update_every
  81. description: Sets the default data collection frequency.
  82. default_value: 5
  83. required: false
  84. - name: priority
  85. description: Controls the order of charts at the netdata dashboard.
  86. default_value: 60000
  87. required: false
  88. - name: autodetection_retry
  89. description: Sets the job re-check interval in seconds.
  90. default_value: 0
  91. required: false
  92. - name: penalty
  93. description: Indicates whether to apply penalty to update_every in case of failures.
  94. default_value: yes
  95. required: false
  96. - name: name
  97. 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.
  98. default_value: ""
  99. required: false
  100. - name: username
  101. description: The bind user with right to access monitor statistics
  102. default_value: ""
  103. required: true
  104. - name: password
  105. description: The password for the binded user
  106. default_value: ""
  107. required: true
  108. - name: server
  109. description: The listening address of the LDAP server. In case of TLS, use the hostname which the certificate is published for.
  110. default_value: ""
  111. required: true
  112. - name: port
  113. description: The listening port of the LDAP server. Change to 636 port in case of TLS connection.
  114. default_value: "389"
  115. required: true
  116. - name: use_tls
  117. description: Make True if a TLS connection is used over ldaps://
  118. default_value: False
  119. required: false
  120. - name: use_start_tls
  121. description: Make True if a TLS connection is used over ldap://
  122. default_value: False
  123. required: false
  124. - name: cert_check
  125. description: False if you want to ignore certificate check
  126. default_value: "True"
  127. required: true
  128. - name: timeout
  129. description: Seconds to timeout if no connection exist
  130. default_value: ""
  131. required: true
  132. examples:
  133. folding:
  134. enabled: true
  135. title: "Config"
  136. list:
  137. - name: Basic
  138. description: A basic example configuration.
  139. folding:
  140. enabled: false
  141. config: |
  142. username: "cn=admin"
  143. password: "pass"
  144. server: "localhost"
  145. port: "389"
  146. check_cert: True
  147. timeout: 1
  148. troubleshooting:
  149. problems:
  150. list: []
  151. alerts: []
  152. metrics:
  153. folding:
  154. title: Metrics
  155. enabled: false
  156. description: ""
  157. availability: []
  158. scopes:
  159. - name: global
  160. description: "These metrics refer to the entire monitored application."
  161. labels: []
  162. metrics:
  163. - name: openldap.total_connections
  164. description: Total Connections
  165. unit: "connections/s"
  166. chart_type: line
  167. dimensions:
  168. - name: connections
  169. - name: openldap.traffic_stats
  170. description: Traffic
  171. unit: "KiB/s"
  172. chart_type: line
  173. dimensions:
  174. - name: sent
  175. - name: openldap.operations_status
  176. description: Operations Status
  177. unit: "ops/s"
  178. chart_type: line
  179. dimensions:
  180. - name: completed
  181. - name: initiated
  182. - name: openldap.referrals
  183. description: Referrals
  184. unit: "referrals/s"
  185. chart_type: line
  186. dimensions:
  187. - name: sent
  188. - name: openldap.entries
  189. description: Entries
  190. unit: "entries/s"
  191. chart_type: line
  192. dimensions:
  193. - name: sent
  194. - name: openldap.ldap_operations
  195. description: Operations
  196. unit: "ops/s"
  197. chart_type: line
  198. dimensions:
  199. - name: bind
  200. - name: search
  201. - name: unbind
  202. - name: add
  203. - name: delete
  204. - name: modify
  205. - name: compare
  206. - name: openldap.waiters
  207. description: Waiters
  208. unit: "waiters/s"
  209. chart_type: line
  210. dimensions:
  211. - name: write
  212. - name: read