Results 1 to 3 of 3

Thread: Nagios - LDAP on Zimbra

  1. #1
    earlyriser is offline Starter Member
    Join Date
    Oct 2012
    Rep Power

    Default Nagios - LDAP on Zimbra

    With Nagios how do i check LDAP on Zimbra? From what i can see in Nagios, for the check LDAP it requires a "base" however looking in the Zimbra configs there is no base entry. Thanks in advance.


  2. #2
    justdave is offline Trained Alumni
    Join Date
    Nov 2008
    Grand Rapids, MI
    Rep Power


    I just checked ours, and our nagios check appears to be just doing a check_tcp on port 389

  3. #3
    xrx is offline Junior Member
    Join Date
    Oct 2012
    Rep Power


    You can create a test account to check LDAP with authentication; eg. You need to find the DN:
    /opt/zimbra/bin/ldapsearch -LLL -x -h `$LDAP_HOST` -D "uid=zimbra,cn=admins,cn=zimbra" -w '$LDAP_ADMIN_PASS' '('

    $LDAP_HOST = `zmlocalconfig -s ldap_master_url`
    $LDAP_ADMIN_PASS = `zmlocalconfig -s zimbra_ldap_password`

    You need the variable "dn:". Then just use the check_ldap plugin:
    ./check_ldap -H $LDAP_HOST -p 389 -D "$LDAP_USER" -P "$LDAP_PASS" -b "$LDAP_BASEDN" -3
    The base DN can be "dc=com" if you don't know about it, or preferably everything without the "uid=something" part.

    ./check_ldap -H -p 389 -D "uid=nagios,ou=people,dc=domain,dc=com" -P 'yourNagiosMailPass' -b "ou=people,dc=domain,dc=com" -3

    If you use passive monitoring, don't use "localhost" for $LDAP_HOST even if it's running on the same machine, use the variable in `zmlocalconfig -s ldap_master_url`.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Zimbra Monitoring with Nagios
    By schose in forum Administrators
    Replies: 53
    Last Post: 09-21-2012, 05:30 PM
  2. Nagios - Total Processes CRITICAL
    By warcries in forum Administrators
    Replies: 2
    Last Post: 09-14-2012, 06:08 PM
  3. Monitoring Zimbra servers using Nagios
    By Blu3yy in forum Administrators
    Replies: 3
    Last Post: 03-24-2011, 03:03 PM
  4. Replies: 2
    Last Post: 01-17-2008, 05:32 PM
  5. Setting up Nagios to monitor Zimbra
    By moniker in forum Administrators
    Replies: 0
    Last Post: 02-20-2007, 02:28 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts