LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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-23-2010, 04:14 AM   #1
LayTech
Member
 
Registered: Jul 2010
Posts: 30

Rep: Reputation: 15
sending of email notifications


Hello.

Had anyone tried downloading a free SMTP server from the web and use it to send emails in nagios, when the services are down, an email notification will be sent.

Right now i need a smtp server in order for me to send email notifications, are there any recommended ones?
 
Old 07-23-2010, 04:49 AM   #2
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
I do not understand your question properly. Do you want help in configuring Nagios to send email notifications or do you need to know a small yet well build smtp server?
If you are using nagios on Linux distribution (I do not know if it runs on windows as well), then you might as well have a smtp server already installed. Either postfix or sendmail are smtp servers commonly default packages. It may as well depend on the distribution you are using.
 
Old 07-23-2010, 06:04 AM   #3
LayTech
Member
 
Registered: Jul 2010
Posts: 30

Original Poster
Rep: Reputation: 15
Both? If i'm not wrong, i have to add the necessary contacts, contactgroups in the .cfg. I previously posted a thread regarding this.

I've installed ubuntu 9.10 with nagios running fine.

I tried to use postfix, but it didn't send email cause i think i do not have a proper stmp server running. I just downloaded a free smtp server from the web and it's not working. So i thought i have to know of a server which can let nagios send email notifications when services go down.
 
Old 07-23-2010, 06:08 AM   #4
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
Which free smtp server did you download? And why download from the net when you can use Synaptic package manager to do that for you. Postfix itself is an smtp server. You need to install postfix and configure it. You also need to configure users in the server.
 
Old 07-23-2010, 06:10 AM   #5
LayTech
Member
 
Registered: Jul 2010
Posts: 30

Original Poster
Rep: Reputation: 15
The free smtp server i downloaded is from here: http://www.softstack.com/freesmtp.html

I've already installed postfix in my ubuntu server.
And, what you mean by 'configure users in the server'?

Do you mean this?:
http://www.linuxquestions.org/questi...nagios-820952/

I added in those lines in the .cfg files.

Last edited by LayTech; 07-23-2010 at 06:14 AM.
 
Old 07-23-2010, 07:22 AM   #6
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
The smtp server you downloaded seems to only support Windows. That may not help you if you do not have windows machine. Else you will need windows machine in network and will need to install it there and use it as an external mail transport agent for Nagios. Practically it would be better off configuring postfix on the same Ubuntu as Nagios and use it to send the mails.
 
Old 07-23-2010, 07:23 AM   #7
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
Just a minute. You already have one thread going on this same issue. Ask a moderator to close this one as this is a duplicate. And do not open multiple threads. This will not help you.
 
Old 07-23-2010, 08:24 AM   #8
LayTech
Member
 
Registered: Jul 2010
Posts: 30

Original Poster
Rep: Reputation: 15
Ok. I did configure the postfix. I was asked to choose the 'satellite..' option. I'm not sure if i have configured it correctly? During one part of the configuration, i was asked to type in the server name i think, and i used the windows xp server's stmp server name.

And, i've sent a message asking the moderator to close this thread.

Thanks.
 
  


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
Sending email notifications on a Squid proxy server RedHelix Linux - Server 4 09-12-2009 10:54 AM
Postfix - how to disable sending undelivered mail notifications tikit Linux - Networking 0 08-06-2009 04:44 AM
No email notifications... TheRealDeal LQ Suggestions & Feedback 3 04-21-2005 07:51 AM
Email notifications shut off by themselves? RolledOat LQ Suggestions & Feedback 2 11-14-2003 09:37 AM
Email notifications Manadien LQ Suggestions & Feedback 4 07-22-2003 08:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:33 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration