34 lines
1.1 KiB
Plaintext
34 lines
1.1 KiB
Plaintext
# LDAP monitoring plugin
|
|
[[inputs.openldap]]
|
|
## Server to monitor
|
|
## The scheme determines the mode to use for connection with
|
|
## ldap://... -- unencrypted (non-TLS) connection
|
|
## ldaps://... -- TLS connection
|
|
## starttls://... -- StartTLS connection
|
|
## If no port is given, the default ports, 389 for ldap and starttls and
|
|
## 636 for ldaps, are used.
|
|
server = "ldap://localhost"
|
|
|
|
## Server dialect, can be "openldap" or "389ds"
|
|
# dialect = "openldap"
|
|
|
|
# DN and password to bind with
|
|
## If bind_dn is empty an anonymous bind is performed.
|
|
bind_dn = ""
|
|
bind_password = ""
|
|
|
|
## Reverse the field names constructed from the monitoring DN
|
|
# reverse_field_names = false
|
|
|
|
## Optional TLS Config
|
|
## Trusted root certificates for server
|
|
# tls_ca = "/path/to/cafile"
|
|
## Used for TLS client certificate authentication
|
|
# tls_cert = "/path/to/certfile"
|
|
## Used for TLS client certificate authentication
|
|
# tls_key = "/path/to/keyfile"
|
|
## Send the specified TLS server name via SNI
|
|
# tls_server_name = "kubernetes.example.com"
|
|
## Use TLS but skip chain & host verification
|
|
# insecure_skip_verify = false
|