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 sending to info email despite removing it #800

Closed
osirusrising opened this issue Apr 25, 2018 · 2 comments
Closed

Email sending to info email despite removing it #800

osirusrising opened this issue Apr 25, 2018 · 2 comments

Comments

@osirusrising
Copy link

Configured the email.php to send to 127.0.0.1 as instructed using Postfix, get notifications partially if i push the test, but normal notifications don't come thru. Also continued to get emails postmaster failed to info@openitcockpit.local.localhost always as that is a contact in the system. So I removed that contact entirely and the system is still sending notifications to that email address and the contact is gone. Please fix or advise.

@nook24
Copy link
Member

nook24 commented Apr 26, 2018

Hi @osirusrising, the info contact use as default email address openitcockpit@localhost.local. So you should change the address first.

When every you change the monitoring configuration, you need to refresh the monitoring configuration:
bildschirmfoto 2018-04-26 um 09 05 44
bildschirmfoto 2018-04-26 um 09 19 57

We decided to not automatically reload the monitoring engine whenever a configuration change occur.
Otherwise systems with many users would only restart the monitoring engine instead of scheduling checks

Also make sure, that the user nagios is able to read the file /etc/openitcockpit/app/Config/email.php

$ ls -la /etc/openitcockpit/app/Config/email.php
-rw-r--r-- 1 www-data www-data 959 Sep 29  2017 /etc/openitcockpit/app/Config/email.php

@nook24
Copy link
Member

nook24 commented May 28, 2019

Feel free to open a new issue if you run into any future problems.

@nook24 nook24 closed this as completed May 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants