Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

check_ldap

Rating
2 votes
Favoured:
1
Hits
140420
Files:
FileDescription
check_ldap_fdcheck_ldap_fd
check_ldap.plcheck_ldap.pl
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
A plugin to check if the ldap server is working
LDAP Monitor for Nagios version 1.0

GPL licence, (c)2006-2007 De Bodt Lieven

Usage: ./check_ldap.pl -H -l login -x passwd -p -s -t -V
-h, --help
print this help message
-H, --hostname=HOST
name or IP address of host to check
-l, --login=LOGIN
Login for ldap authentication (if not specified ./check_ldap.pl uses anonymous)
-x, --passwd=PASSWD
Password for ldap authentication
-p, --port=PORT
LDAP port (Default 389)
-s, --ssl
LDAPS (Default false, if true, default port is 636 )
-t, --timeout=INTEGER
timeout in seconds (Default: 15)
-V, --version
prints version number
Note :
The script will return

OK if we are able to connect and bind to the LDAP server,
WARNING if we are able to connect but not bind to the LDAP server
CRITICAL if we aren't able to connect to the LDAP server

Reviews (1)
byelpatron, January 16, 2018
Thanks, no prolems here.

My Debian needed a
`sudo apt-get install libnet-ldap-perl`.