How to configure a mail server to send nagios notifications
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: How to configure a mail server to send nagios notificati
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.
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
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
Great, let us know if you have any more questions.
Re: How to configure a mail server to send nagios notificati
Doesnt work, it tutorial should be work to use the command "echo | mail -s" to test?
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: How to configure a mail server to send nagios notificati
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
oh okay, im accustoming to use the | mail command
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: How to configure a mail server to send nagios notificati
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.
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: How to configure a mail server to send nagios notificati
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
https://support.nagios.com/forum/viewto ... 671#144476
Re: How to configure a mail server to send nagios notificati
have relation, can lock, very thanks!