We never depened on the ldap service but I thought it would be a nifty thing
to try so I was able to get it running with this watch statement...

I figure checking for the admin userid should be good enough of a search
that will always return, and checking for the objectclass 'Top' should
always return as well... be warned thought as I just found out ojectclass
does not equate to objectClass.

watch exchange_servers
  service ldap
    description LDAP Mail Gateway Availibity
    interval 5m
    monitor ldap.monitor -base="o=ABCBS" -filter="uid=admin"
-attribute=objectClass -value=Top
    exclude_hosts terra
    depend SELF:ping
    period _WORK_HOURS_
      alert mail.alert [EMAIL PROTECTED]
    period _ANYTIME_
      alert qpage.alert bugge
      alertevery 1h

-----Original Message-----
From: Konstantin 'Kastus' Shchuka [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 17, 2001 6:10 PM
To: [EMAIL PROTECTED]
Subject: how to use ldap.monitor against MS Exchange server


I'm trying to use ldap.monitor to watch LDAP service on an MS Exchange
server,
but it returns no entries. Anybody is successful using it? What parameters
need to be used?

Thanks,
-- 
Konstantin 'Kastus' Shchuka
Unix System Administrator
ePocrates Inc.
tel 650.232.4886
fax 650.592.6995

Reply via email to