forked from dnaeon/zabbix-ldap-sync
-
Notifications
You must be signed in to change notification settings - Fork 36
/
zabbix-ldap.conf.example
49 lines (44 loc) · 1.27 KB
/
zabbix-ldap.conf.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
[ldap]
type = activedirectory
uri = ldaps://ldap.example.org:636/
base = dc=example,dc=org
binduser = DOMAIN\ldapuser
bindpass = ldappass
# The groups to be synced, group "sysadmin" gets role superusers (id: 1), other groups get the default role defined in [user]
groups = sysadmins:1,developer group:Admin role
media = mail
[activedirectory]
filtergroup = (&(objectClass=group)(name=%s))
filteruser = (&(objectClass=user)(objectCategory=Person))
filterdisabled = (!(userAccountControl:1.2.840.113556.1.4.803:=2))
filtermemberof = (memberOf:1.2.840.113556.1.4.1941:=%s)
groupattribute = member
# Active Directory
userattribute = sAMAccountName
# Azure Active Directory
#userattribute = userPrincipalName
[openldap]
type = posix
filtergroup = (&(objectClass=posixGroup)(cn=%s))
filteruser = (&(objectClass=posixAccount)(uid=%s))
groupattribute = memberUid
userattribute = uid
[zabbix]
server = http://zabbix.example.org/zabbix
username = admin
password = adminp4ssw0rd
auth = webform
alldirusergroup = LDAP synced users
[user]
role = User role
timezone = Europe/Berlin
rows_per_page = 100
# display password when creating new users
show_password = true
[media]
name = Email (HTML)
severity = Disaster,High,Average,Warning
period = 1-7,00:07-22:00
# 1=disabled, 0=enabled
active = 1
onlycreate = true