# OpenLDAP cn=Monitor plugin with deprecated SSL options
[[inputs.openldap]]
  host = "localhost"
  port = 636

  # Deprecated ssl option - should be migrated to tls
  ssl = "ldaps"

  # skip peer certificate verification. Default is false.
  insecure_skip_verify = false

  # Deprecated ssl_ca option - should be migrated to tls_ca
  ssl_ca = "/etc/ssl/certs.pem"

  # dn/password to bind with. If bind_dn is empty, an anonymous bind is performed.
  bind_dn = "cn=admin,dc=example,dc=com"
  bind_password = "secret"

  # reverse metric names so they sort more naturally
  reverse_metric_names = true