Can you tell me where I can find the SMTP settings on CentOS?
Below you can see the Mail Settings on the GUI
Nagios Log Server not sending alert Emails
Re: Nagios Log Server not sending alert Emails
You do not have the required permissions to view the files attached to this post.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios Log Server not sending alert Emails
Out of curiosity, could the sending problem you were having be related to the DNS issue here
http://support.nagios.com/forum/viewtop ... 90#p128345
Any instance can be the sender of the email message, so all would need to ne able to resolve the DNS properly.
http://support.nagios.com/forum/viewtop ... 90#p128345
Any instance can be the sender of the email message, so all would need to ne able to resolve the DNS properly.
Re: Nagios Log Server not sending alert Emails
No it's not.
Even after having corrected the DNS, we are still not able send Alarms via E-Mail.
Same error as reported.
Even after having corrected the DNS, we are still not able send Alarms via E-Mail.
Same error as reported.
Re: Nagios Log Server not sending alert Emails
Did you verify that you've added the host to the allowed relay list on your mail server?
Re: Nagios Log Server not sending alert Emails
The solution here is very likely the following:
Edit /var/www/html/nagioslogserver/system/libraries/Email.php and change (around line 48):
To:
Edit /var/www/html/nagioslogserver/system/libraries/Email.php and change (around line 48):
Code: Select all
var $newline = "\n";
var $crlf = "\n";Code: Select all
var $newline = "\r\n";
var $crlf = "\r\n";Re: Nagios Log Server not sending alert Emails
Jesse is likely right, some mail servers wont accept anything not RFC-compliant.
This bug has been fixed:
http://api.nagios.com/tps/viewtask.php?task_id=5651
This bug has been fixed:
http://api.nagios.com/tps/viewtask.php?task_id=5651
/Luke