# OpenLDAP cn=Monitor plugin with preserved TLS options
[[inputs.openldap]]
  host = "ldap.example.com"
  port = 389

  # Existing tls option preserved (ssl option was removed)
  tls = "starttls"

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

  # Deprecated ssl_ca option was removed
  tls_ca = "/etc/ssl/myca.pem"

  # dn/password to bind with. If bind_dn is empty, an anonymous bind is performed.
  bind_dn = ""
  bind_password = ""

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