[Nagiosplug-help] problem monitoring ldap service

Baker, Charles H. cbaker at nuvox.com
Fri Oct 23 22:01:37 CEST 2009


Who do you run the check as at the command line? What user does the
check run as?

Charles H. Baker
Unix System Administration
cbaker at nuvox.com
864.331.7896 | 864.990.1297
It isn't where you came from; it's where you're going that counts. Ella
Fitzgerald, jazz singer


-----Original Message-----
From: Hanspeter Kunz [mailto:hkunz at ifi.uzh.ch] 
Sent: Friday, October 23, 2009 2:53 PM
To: nagiosplug-help at lists.sourceforge.net
Subject: [Nagiosplug-help] problem monitoring ldap service

Hi,

I'm trying to monitor an ldap service:

define service {
        check_command                  check_ldap!dc=ifi,dc=uzh,dc=ch!-3
        host_name                      host.ifi.uzh.ch
        notification_period            24x7
        use                            generic-service
        service_description            host_check_ldap
}

nagios tells me: 

  Could not bind to the LDAP server

However, if I execute the following command (on the nagios server)

  check_ldap -H host.ifi.uzh.ch -b dc=ifi,dc=uzh,dc=ch -3

(which should do correspond exactly to the above config as far as I
understand it)

I get:

  LDAP OK - 0.004 seconds response time|time=0.004048s;;;0.000000

Any ideas what could be going wrong?

Many thanks,
Hanspeter



------------------------------------------------------------------------
------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and
stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Nagiosplug-help mailing list
Nagiosplug-help at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
::: Please include plugins version (-v) and OS when reporting any issue.

::: Messages without supporting info will risk being sent to /dev/null




More information about the Help mailing list