5.02021-11-21T21:37:54ZTemplate LDAPLDAPLDAP## Overview
Monitoring OpenLDAP Cluster with Zabbix 3.4. It's a script that checks LDAP Provider - Consumer status, and sync status between them.
You should:
1. Put **ldap\_check\_status.sh** in LDAP **Consumer** and make it executable for zabbix user.
2. Put **openldap\_cluster\_status.conf** in /etc/zabbix/zabbix\_agentd.conf.d directory in **LDAP Consumer**.
3. Import **zabbix\_openldap\_template.xml**.
4. Import **zabbix\_openldap\_value\_mapping.xml**.
5. Modify the item parameter and replace with LDAP Provider FQDN or IP.
**[https://github.com/MrCirca/OpenLDAP-Cluster-Zabbix](https://github.com/MrCirca/OpenLDAP-Cluster-Zabbix "Download Project")**
Template LDAP- LDAP Cluster statusldap.clusterstatus[172.17.172.51]30sLDAP cluster Value Mapping{last()}=1LDAP Consumer DownWARNING{last()}=3LDAP Provider & Consumer DownWARNING{last()}=2LDAP Provider DownWARNING
{$BASE_DN}"dc=modulus,dc=gr"{$LDAP_HOST}172.17.172.51LDAP cluster Value Mapping1LDAP Consumer Down2LDAP Provider Down3LDAP Provider & Consumer Down4LDAP cluster Synced