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

  # Migrated from ssl option
  tls = "ldaps"

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

  # Migrated from ssl_ca option
  tls_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