6.9 Monitoring LDAP Directory Services
For monitoring LDAP directory services, the check_ldap
plugin is available. It runs a search query that can be specified anonymously or with authentication. It has the following parameters to do this:
-H
address
/ --hostname=
address
This is the host name or IP address of the LDAP server.
-b
base_dn
/ --base=
base_dn
This is the top element (Base Domain Name) of the LDAP directory, formed for example from the components of the domain name:
dc=swobspace,dc=de
.-p
port
/ --port=
port
This is the port on which the LDAP server is running. The default is the standard port 389.
-a
"ldap-attribute"
/ --attr=
"ldap-attribute"
This switch enables a search according to specific attributes. Thus
-a "(objectclass=inetOrgPerson)" ...
Get Nagios, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.