Good Morning,
I have a problem setting up email notifications that my nagios has to send.
I currently have this implementation:
- A CentOS server with Nagios 4 configured. The "postfix" service has been installed on this nagios server and has been configured to use another relay server that I have on another machine.
Within the Nagios postfix configuration, I have only configured the relay_host line to point to my relay server.
- Relay server configured in another machine.
I have tested mailings from the nagios server pointing against the relay server with the following command:
swaks --to user@mydomain.com --server gesmai00.hosting.local
And I see that the test comes correctly.
Postfix service is up.
What can happen so that email notifications do not work correctly?
Thank you very much in advance.
Problem with email notifications in Nagios server
-
- Posts: 34
- Joined: Wed Sep 19, 2018 3:20 am
Re: Problem with email notifications in Nagios server
Can you post your settings that you added for the relay server in the Postfix daemon's config file?
When an Notification is generated, do you see an error in the /var/log/maillog file?
If so, can you post the errors?
In the GUI, do you see the server trying to send the Notifications?
When an Notification is generated, do you see an error in the /var/log/maillog file?
If so, can you post the errors?
In the GUI, do you see the server trying to send the Notifications?
Be sure to check out our Knowledgebase for helpful articles and solutions!