Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Email alerts not working with AD authentication #5012

Closed
3 of 4 tasks
SKUZ-ee opened this issue Nov 18, 2016 · 2 comments · Fixed by #6059
Closed
3 of 4 tasks

Email alerts not working with AD authentication #5012

SKUZ-ee opened this issue Nov 18, 2016 · 2 comments · Fixed by #6059

Comments

@SKUZ-ee
Copy link

SKUZ-ee commented Nov 18, 2016

DO NOT DELETE THIS INFORMATION.

Please read this information carefully.

GitHub issues is for feature requests or bugs, please do not post issues asking for help or how to do X, Y or Z.
You can use our irc channel ##librenms on freenode to ask questions or our community site.

  • Is your install up to date? Updating your install
    Please do not submit an issue if your install is not up to date within the last 24 hours or on a stable monthly release.

  • Please include all of the information between the ==================================== section of ./validate.php.
    ==========================================================
    Component | Version
    --------- | -------
    LibreNMS | c46de37
    DB Schema | 150
    PHP | 5.5.9-1ubuntu4.20
    MySQL | 5.5.49-0ubuntu0.14.04.1
    RRDTool | 1.4.7
    SNMP | NET-SNMP 5.7.2
    ==========================================================

  • If you would like us to add a new device then please provide the information asked for here

  • Please provide as much detail as possible.

Email alerts stops working when AD authentication is enabled. Eventlog gives the following error: Could not issue critical alert for rule 'Service up/down' to transport 'mail' Error: You must provide at least one recipient email address. This error is encountered on both my Librenms test boxes running Ubuntu 14.04 and 16.04.

Doing a test mail transport, it is able to send the test mail to all users in the AD group. Even with only one user being a member of the AD group, no alerts are sent.

The setup is the following: A "Networking" AD group contains three user accounts each with assigned email addresses.
In config.php, the following is added: $config['auth_ad_groups']['Networking']['level'] = 10;

Alerting settings: https://drive.google.com/open?id=0B8WCN9DjlJUca1pXajQxYXNGMlk
Alert capture: https://drive.google.com/open?id=0B8WCN9DjlJUcYkw4X3JMaUZFek0
Alert rules: https://drive.google.com/open?id=0B8WCN9DjlJUcNENsSGd6VWdDYTg

@bjorntimmer
Copy link

I've got exactly the same issue. When doing an alert capture it sees the mail addresses but it's not sending out the mails to the admins. Sending alerts to the syscontact is working.

laf added a commit to laf/librenms that referenced this issue Mar 2, 2017
murrant pushed a commit that referenced this issue Mar 8, 2017
* fix: Correct the use of GetContacts() #5012

* small update

* array set

* Properly check the results
@lock
Copy link

lock bot commented May 17, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed.

@lock lock bot locked as resolved and limited conversation to collaborators May 17, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants