Page 1 of 1
cant configure nagios to sent notications to my email
Posted: Mon Apr 06, 2020 8:28 am
by eranm1985
Hi
i have nagios 4.4.5 core on Centos8- everything working perfect! super cool monitoring system!
the problem that i dont know where to put my send from mail and where to put the receive mailbox
i tried with postfix\sendmail\mailx etc- but nothing work for me
i just need to know where to put the right configuration
the email that will send the notification: smtp.012.net.il
the mailbox i want to recive the notification is :
[email protected]
the sender namd- dosent metter nagiosadmin\nagiosmonitor\etc
please help me with that issue
thanks a lot!!!
Re: cant configure nagios to sent notications to my email
Posted: Wed Apr 08, 2020 5:02 pm
by benjaminsmith
Hello
@eranm1985,
i have nagios 4.4.5 core on Centos8- everything working perfect! super cool monitoring system!

Nice! I haven't heard of too many users using Cent 8 with Nagios Core, thanks for the feedback.
It sounds like you want to setup postfix to relay to an external SMTP server? If so, check out the guide(s) below.
Configure Postfix to Relay Mail to an External SMTP Server on CentOS 7
Setup Email Notifications in Nagios Core
Re: cant configure nagios to sent notications to my email
Posted: Thu Apr 16, 2020 8:55 am
by eranm1985
Hi
thanks for the fast reply.
I tired install Nagios on ubuntu 18.04 and I installed and configure ssmtp
after I configure the file- I tried to sent mail from it- and it Succeeded
now I cant figure out how to make the Nagios send the notification (I didn't understand much with the article you posted
please if you have other easy way to accomplish my task- it will be amazing
thanks a lot
waiting for your reply
Re: cant configure nagios to sent notications to my email
Posted: Thu Apr 16, 2020 5:00 pm
by ssax
Please follow this:
- Start at
STEP 02: Define Email Notification Commands section
https://digitalave.github.io/spring/201 ... Gmail.html
Re: cant configure nagios to sent notications to my email
Posted: Thu Apr 23, 2020 6:09 am
by eranm1985
Hi
Ok- i opened the article you sent - i will try this method
but- i need to understand something:
i want that all the alerts will be send to this email:
[email protected]
where i need to add this address to get ther all the alerts? (windows.cfg?conntact.cfg? other place? what file i need to configure with this specipict email address?
Re: cant configure nagios to sent notications to my email
Posted: Thu Apr 23, 2020 9:32 am
by cdienger
Yes, contact.cfg is typically where you set the email address for a contact. Once you have a contact associated with an email address you would configure your hosts and services to notify this contact.