Skip to content
Zabbix Agent - OpenLDAP
Shell
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
zaldap Fixing the zaldap.sh script Feb 21, 2018
LICENSE Adding LICENSE Feb 20, 2018
README.md Fixing the deploy_zabbix script Feb 21, 2018
deploy_zabbix.sh Fixing the deploy_zabbix script Feb 21, 2018
zbx3.4_template_app_openldap.xml Adding zabbix 3.4 template Feb 21, 2018

README.md

zaldap

20. Monitor

20.1. Monitor configuration via cn=config

#~ vi monitor_enable.ldif
dn: cn=module,cn=config
cn: module
objectClass: olcModuleList
olcModuleLoad: back_monitor
olcModulePath: /usr/lib/ldap

dn: olcDatabase={2}monitor,cn=config
objectClass: olcDatabaseConfig
olcDatabase: {2}monitor
olcAccess: {0}to * by dn.exact=cn=monitor,ou=auth,dc=example,dc=com manage by * none

#~ ldapadd -Q -Y EXTERNAL -H ldapi:/// -f monitor_enable.ldif
#~

20.2. Monitor configuration via slapd.conf

#~ vi /etc/ldap/slapd.conf
...
database monitor

access to *
       by dn.exact=cn=monitor,ou=auth,dc=example,dc=com manage
       by * none
#~

Zabbix deploy

#~ git clone https://github.com/sergiotocalini/zaldap.git
#~ ./zaldap/deploy_zabbix.sh 'localhost' 'cn=monitor,ou=auth,dc=example,dc=com' 'xxxxxxxx'
#~
You can’t perform that action at this time.