zabbix-tooling / zabbix-ldap-sync

Sync Zabbix with LDAP directory server
BSD 3-Clause "New" or "Revised" License
50 stars 36 forks source link

Multiple media #45

Open Skifi opened 2 years ago

Skifi commented 2 years ago

Hello, I want to ask if it's possible to implement multiple media per user. Benefit is only one script for multiple media types. In config something like:

[ldap] media1 = mail media2 = mobile media3 = mobile

[media1] name = Email (HTML) description = Email (HTML) active = 0

[media2] name = VoIP description = VoIP active = 0

[media3] name = SMS description = SMS active = 0

I have read and tried solution by creating multiple configs with different media as sugested in bug issue #17 and #8 but it doesnt work. Each config file just replace media for created user instead of updating another media. I have used latest master build. Thx in advance.

scoopex commented 2 years ago

Ok, so we need to implement this feature. Contributions are very welcome :-)