O'Reilly logo

Nagios, 2nd Edition by Wolfgang Barth

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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)" ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required