Page 3 of 3
Re: Nagios Log Server not sending alert Emails
Posted: Mon Mar 02, 2015 6:01 am
by muratKURU
Can you tell me where I can find the SMTP settings on CentOS?
Below you can see the Mail Settings on the GUI
Re: Nagios Log Server not sending alert Emails
Posted: Mon Mar 02, 2015 9:13 am
by scottwilkerson
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.
Re: Nagios Log Server not sending alert Emails
Posted: Tue Mar 03, 2015 6:22 am
by muratKURU
No it's not.
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
Posted: Tue Mar 03, 2015 1:14 pm
by ssax
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
Posted: Fri Jun 05, 2015 9:45 am
by jolson
The solution here is very likely the following:
Edit /var/www/html/nagioslogserver/system/libraries/Email.php and change (around line 48):
Code: Select all
var $newline = "\n";
var $crlf = "\n";
To:
Code: Select all
var $newline = "\r\n";
var $crlf = "\r\n";
Re: Nagios Log Server not sending alert Emails
Posted: Thu Jun 25, 2015 12:32 pm
by lgroschen
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