Page 2 of 2

Re: Nagios E-Mail Settings are not working

Posted: Wed Apr 13, 2016 11:24 am
by tmcdonald
Let us know the results!

Re: Nagios E-Mail Settings are not working

Posted: Thu Apr 14, 2016 2:49 am
by nagioskdvz
Hey
it does not work.
100.0.10.124 is the IP of our SMTP Server that we do use, and port 25 is correct.
We use another nagios tool at our Company and i have used the same email Setting as they do..

But it just doesn't send emails :/

Re: Nagios E-Mail Settings are not working

Posted: Thu Apr 14, 2016 6:36 am
by nagioskdvz
I found the Problem!

My IP was correct, and the port was either.

But I had to edit the "email.php" at /var/WWW/html/nagioslogserver/System/libraries.
The field var $crlf is set to "\n" per Default but it Needs to be "\r\n" for RFC 2045 compliant.

And the E-Mail Setting was not correct. In the left field I had to put in the Hostname (nagios-log-Server) and in the right field it must be "[email protected]"

I had changed this earlier this day and now it works fine.

Thanks for your Support.

Re: Nagios E-Mail Settings are not working

Posted: Thu Apr 14, 2016 9:12 am
by rkennedy
Ah, looks like you had to dive into it, great to see you were able to get it working!

Closing this out now, but feel free to make a new thread if you need any assistance in the future.