Page 2 of 2
Re: How to configure a mail server to send nagios notificati
Posted: Thu Jul 16, 2015 4:30 pm
by jdalrymple
No apology necessary, I just use analogies to try to help with my descriptions.
Did that clear everything up? Are you now able to use your SMTP of choice to send notification E-mails? I have personally used the tutorial I shared earlier and found that it works easily.
Re: How to configure a mail server to send nagios notificati
Posted: Fri Jul 17, 2015 12:44 pm
by Jessuzz94
I will try, if it works for all the people that comment the tutorial, should be with me too, Thanks!
Re: How to configure a mail server to send nagios notificati
Posted: Fri Jul 17, 2015 2:03 pm
by ssax
Great, let us know if you have any more questions.
Re: How to configure a mail server to send nagios notificati
Posted: Mon Jul 20, 2015 12:25 pm
by Jessuzz94
Doesnt work, it tutorial should be work to use the command "echo | mail -s" to test?
Re: How to configure a mail server to send nagios notificati
Posted: Mon Jul 20, 2015 12:37 pm
by jdalrymple
If you followed the tutorial exactly - testing would be done by piping the E-mail body through sendEmail, not mail.
Re: How to configure a mail server to send nagios notificati
Posted: Tue Jul 21, 2015 12:39 pm
by Jessuzz94
oh okay, im accustoming to use the | mail command
Re: How to configure a mail server to send nagios notificati
Posted: Tue Jul 21, 2015 1:41 pm
by jdalrymple
You would use mail if you are mailing from your local MTA. If you're using an SMTP relay (such as gmail or a mail server provided by your ISP) you would need to either do some complicated relay configuration to sendmail/postfix/exim/whatever or use an SMTP specific mail binary such as sendEmail. That is the difference.
Re: How to configure a mail server to send nagios notificati
Posted: Thu Jul 23, 2015 12:16 pm
by Jessuzz94
Yeah i sawD:
Re: How to configure a mail server to send nagios notificati
Posted: Thu Jul 23, 2015 12:18 pm
by jdalrymple
Since it looks like you're going down the road of using your own mailer and configuring it to relay I'm going to lock this thread and we'll finish this configuration in one thread instead of 2. Will that be OK, or is this thread unrelated to the other?
https://support.nagios.com/forum/viewto ... 671#144476
Re: How to configure a mail server to send nagios notificati
Posted: Thu Jul 23, 2015 2:53 pm
by Jessuzz94
have relation, can lock, very thanks!