# OpenLDAP cn=Monitor plugin with migrated tls_ca option
[[inputs.openldap]]
  host = "localhost"
  port = 389

  # No ssl or tls option set

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

  # Migrated from ssl_ca option
  tls_ca = "/path/to/ca-certificates.pem"

  # dn/password to bind with. If bind_dn is empty, an anonymous bind is performed.
  bind_dn = "cn=readonly,dc=company,dc=org"
  bind_password = "readonlypass"

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