Email notification from Nagios

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.
User avatar
eloyd
Cool Title Here
Posts: 2129
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: Email notification from Nagios

Post by eloyd »

That's because you do not have the "mail" package installed. Your task is not to figure out a replacement for postfix, your task is to figure out why you can't connect to the mail server you are trying to send to.

Unless the mail server you are trying to send to is your own Nagios server. You still haven't said who owns the mail server: your organization or someone else?
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoydI'm a Nagios Fanatic!
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Email notification from Nagios

Post by abrist »

I presume the removal of postfix has now left your server without an mta.
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.
kimjaggi
Posts: 44
Joined: Thu Apr 17, 2014 3:56 am

Re: Email notification from Nagios

Post by kimjaggi »

Its working after changing the sendmail.mc and putting mail server at

define(`SMART_HOST', [IP ADDRESS])dnl
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Email notification from Nagios

Post by slansing »

Okay, so you switched from postfix to sendmail correctly and you are now receiving notifications correctly?
kimjaggi
Posts: 44
Joined: Thu Apr 17, 2014 3:56 am

Re: Email notification from Nagios

Post by kimjaggi »

Yes I do :)

Thanks for the help. Good to close
Locked