Hello

You cal also install HOBBIT ( old name Big Brother ) freeware with server and client side. Hobbit can send you email or notification by SMS .... you have also in, MRTG graph.

Regards

Karim Bourenane
Orange Business Services / Equant
RO&SI / IBNF / ENO / GNS
112 Avenue Charles de Gaules
92200 Neuilly S/Seine
Phone:             +33156 76 35 52
Fax:                   +33156 76 35 04
http://www.equant.com




"Dieter Kluenter" <dieter@dkluenter.de>
Sent by: openldap-technical-bounces+karim.bourenane=orange-ftgroup.com@OpenLDAP.org
13/06/2008 10:40
       

        To:        openldap-technical@openldap.org
        cc:        
        bcc:        
        Subject:        Re: Shell script to monitor LDAP server




"Alexandre Vieira" <nullpt@gmail.com> writes:

> Hello all,
>
> I have a Solaris 10 system that queries a clients openldap server to deliver a
> certain service and the client is complaining that my system sometimes denies
> services to clients. Well my system only denies service to clients if the
> openldap system from the customer fails to answer.
>
> In this sense I tried to write a script to monitor the openldap server and its
> responsiveness but ldapsearch client in Solaris 10 doesn't work as I expected
> :(
>
> For example, all ok:
>
> bash# ldapsearch -v -b '' -s base -h 192.168.1.102:7323 'objectclass=top'
> namingContexts
> ldapsearch: started Fri Jun 13 01:51:53 2008

You should search the monitor backend, with something like
ldapsearch -b "cn=connections,cn=monitor" -s sub

-Dieter

--
Dieter Klünter | Systemberatung
http://www.dkluenter.de

GPG Key ID:8EF7B6C6