[Nagiosplug-help] problem monitoring ldap service

Hanspeter Kunz hkunz at ifi.uzh.ch
Fri Oct 23 20:52:35 CEST 2009


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






More information about the Help mailing list