Email Alerting

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
floki
Posts: 65
Joined: Tue Dec 18, 2018 5:23 am

Email Alerting

Post by floki »

Good Day!

So here's the scenario:

My superior wants to send alerts through an email relay server using smpts [port:465]
So the traffic flow would be:

Nagios Core >>>> Email Relay Server >>>> Exchange Server >>>> User

I already knew how to setup the Nagios core notifications and can see notification logs in nagios.log
My problem is how can I configure my postfix to send notifications to the email relay server?
He just gave me the account to sent to and thats it.
Is there some info I need to set this one up? Like the IP/name of smtp server or password of the email account?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Email Alerting

Post by scottwilkerson »

This isn't really a Nagios question but how to configure postfix question.

It really depends on your system, but here is a guide I found Googling for your question
https://www.howtoforge.com/postfix_rela ... mailserver
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
floki
Posts: 65
Joined: Tue Dec 18, 2018 5:23 am

Re: Email Alerting

Post by floki »

Thanks for that guide! Was able to send emails using mailx :D supervisor doens't want postfix
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Email Alerting

Post by scottwilkerson »

floki wrote:Thanks for that guide! Was able to send emails using mailx :D supervisor doens't want postfix
Glad you were able to get it setup!

Locking thread
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked