LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Nagios: send email/alert user (https://www.linuxquestions.org/questions/linux-newbie-8/nagios-send-email-alert-user-823029/)

s0tGaL 07-30-2010 07:42 AM

Nagios: send email/alert user
 
Hello.

To send email alert to users in Nagios i would have to install postfix right?

Code:

sudo apt-get install postfix
i've installed postfix and chose 'Satellite mail system'. I'm not sure what to do. And other questions were asked during the configuration for postfix, i just merely anyhow answered because i'm not quite sure. Anyone can guide me on this? :)

Initally i tried to send email to hotmails and gmails account but failed miserably. Read a lot of online documents but it ain't getting me anywhere.

Someone here could shed some light on this? I'm new in Nagios so thats why this email thing really got me stucked.

BTW: i'm using ubuntu 9.10 (:

Thank you.

sem007 07-30-2010 09:14 AM

Do you have SMTP server in your network? Through satellite postfix server you can use pre-configured SMTP server to send mail from nagios server.

read below thread similar to your question.

http://www.linuxquestions.org/questi...nagios-820952/

if you want to reconfigure postfix run below command

Code:

dpkg-reconfigure postfix
Still you have question get back to us.

s0tGaL 07-30-2010 09:24 AM

I do not have SMTP server. Is that okay?

sem007 07-30-2010 10:09 AM

Quote:

Originally Posted by s0tGaL (Post 4050099)
I do not have SMTP server. Is that okay?

Without SMTP server you can not send mail.

If you want to send mail in internal domain you can create your own mail server.

You can use gmail or yahoo smtp server to send mail out side domain. for that you have to configure your postfix server as smart host. google is your friend search in google, how to use gmail smtp to send mail.

HTH

s0tGaL 07-30-2010 10:18 AM

Hmm okays, i will google on that soon.

But just one question, for gmail smtp, do we have to download it from the web?

Thank you

sem007 07-30-2010 10:25 AM

nope just configure postfix service to use gmail SMTP account to send mail.

For your knowledge you require account on gmail and you have to configure certificate, username and password to access SMTP.

let us know your progress on the same.

BOL


All times are GMT -5. The time now is 06:46 PM.