Issues w/ Email Notifications

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
valbizures
Posts: 5
Joined: Mon Mar 10, 2014 12:40 pm

Issues w/ Email Notifications

Post by valbizures »

I tried to get email notifications to working using the following guide:

http://www.telnetport25.com/2012/02/con ... gios-core/

I've configured everything accordingly, but one thing I noticed is that during the postfix installation it didn't ask me for my network or a relay server.
I've modified the postfix file main.cfg and have not entered my relay server and my network range, but I am still not getting emails.

Also, if I attempt

echo "something" | mailx -v -s "subject" [email protected]

I do not get any emails. I think I may be missing some configuration setting, but I can't figure out what it can be.

Can anyone help?
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: Issues w/ Email Notifications

Post by eloyd »

You should ask in a Postfix forum to try to solve the email problems and then come back here to solve the Nagios problems if they continue.
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Issues w/ Email Notifications

Post by abrist »

valbizures wrote:Also, if I attempt

echo "something" | mailx -v -s "subject" [email protected]
Check you maillog for hints:

Code: Select all

tail -25 /var/log/maillog
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked