search
数据洞察 视图 视图模板 OpenLDAP 监控视图

OpenLDAP 监控视图

简介

展示 OpenLDAP 的系统状态(CPU、内存、磁盘等)以及应用状态

前置条件

需安装 DataKit,并配置 systemmemorydiskdiskioprocessescpu 以及 OpenLDAP 采集源。其中端口和进程状态需要配合 exec 模块来完成

配置

Jenkins 配置文件参考:

# # OpenLDAP cn=Monitor plugin
 [[inputs.openldap]]
   host = "localhost"
   port = 389
#
#   # ldaps, starttls, or no encryption. default is an empty string, disabling all encryption.
#   # note that port will likely need to be changed to 636 for ldaps
#   # valid options: "" | "starttls" | "ldaps"
#   tls = ""
#
#   # skip peer certificate verification. Default is false.
   insecure_skip_verify = true
#
#   # Path to PEM-encoded Root certificate to use to verify server certificate
#   tls_ca = "/etc/ssl/certs.pem"
#
#   # dn/password to bind with. If bind_dn is empty, an anonymous bind is performed.
   bind_dn = "cn=Manager,dc=zsl,dc=com"
   bind_password = "xxxxxxxx"
#
#   # Reverse metric names so they sort more naturally. Recommended.
#   # This defaults to false if unset, but is set to true when generating a new config
   reverse_metric_names = true
~

exec 配置文件参考:

https://github.com/influxdata/telegraf/tree/master/plugins/inputs/exec

概览

OpenLDAP OpenLDAP