https://github.com/sergiotocalini/zaldap
Zabbix Agent - OpenLDAP
https://github.com/sergiotocalini/zaldap
ldap monitoring openldap zabbix
Last synced: 10 months ago
JSON representation
Zabbix Agent - OpenLDAP
- Host: GitHub
- URL: https://github.com/sergiotocalini/zaldap
- Owner: sergiotocalini
- License: gpl-3.0
- Created: 2017-02-13T08:48:19.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2020-09-17T09:29:59.000Z (over 5 years ago)
- Last Synced: 2025-04-11T03:38:05.626Z (about 1 year ago)
- Topics: ldap, monitoring, openldap, zabbix
- Language: Shell
- Homepage:
- Size: 32.2 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# zaldap
LDAP monitoring
This script is part of a monitoring solution that allows to monitor several
services and applications.
For more information about this monitoring solution please check out this post
on my [site](https://sergiotocalini.github.io/project/monitoring).
# 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'
#~