LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 07-30-2010, 07:42 AM   #1
s0tGaL
LQ Newbie
 
Registered: Jul 2010
Posts: 13

Rep: Reputation: 0
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.

Last edited by s0tGaL; 07-30-2010 at 07:49 AM.
 
Old 07-30-2010, 09:14 AM   #2
sem007
Member
 
Registered: Nov 2006
Distribution: RHEL, CentOS, Debian Lenny, Ubuntu
Posts: 638

Rep: Reputation: 111Reputation: 111
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.
 
Old 07-30-2010, 09:24 AM   #3
s0tGaL
LQ Newbie
 
Registered: Jul 2010
Posts: 13

Original Poster
Rep: Reputation: 0
I do not have SMTP server. Is that okay?
 
Old 07-30-2010, 10:09 AM   #4
sem007
Member
 
Registered: Nov 2006
Distribution: RHEL, CentOS, Debian Lenny, Ubuntu
Posts: 638

Rep: Reputation: 111Reputation: 111
Quote:
Originally Posted by s0tGaL View Post
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
 
Old 07-30-2010, 10:18 AM   #5
s0tGaL
LQ Newbie
 
Registered: Jul 2010
Posts: 13

Original Poster
Rep: Reputation: 0
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
 
Old 07-30-2010, 10:25 AM   #6
sem007
Member
 
Registered: Nov 2006
Distribution: RHEL, CentOS, Debian Lenny, Ubuntu
Posts: 638

Rep: Reputation: 111Reputation: 111
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
send email notifications in nagios LayTech Linux - Newbie 10 07-24-2010 06:34 AM
[SOLVED] check directory for new file and send email alert saifkhan123 Linux - Server 2 09-15-2009 01:41 AM
[SOLVED] check directory for new files and send email alert saifkhan123 Linux - General 3 09-12-2009 01:45 AM
LXer: Perl script to monitor disk space and send an email alert LXer Syndicated Linux News 1 02-23-2007 01:12 PM
No email alert from Nagios packets Linux - Software 0 10-18-2005 11:56 AM


All times are GMT -5. The time now is 06:07 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration