LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-27-2010, 01:08 PM   #1
nick1981
LQ Newbie
 
Registered: Jan 2009
Location: Romania
Distribution: Slackware 13
Posts: 7

Rep: Reputation: 0
Automatically send mail when i have errors ?


I have installed slack 13 and I want to configure the sistem to send automaticaly an email to an gmail account when I have some errors like power down for some minutes or a program crash. Can some one tell me exactly what i must do ?
 
Old 01-27-2010, 02:06 PM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
You want an email every time any error occurs? Or are you trying to monitor something specific?
 
Old 01-27-2010, 05:46 PM   #3
niels.horn
Senior Member
 
Registered: Mar 2007
Location: Rio de Janeiro - Brazil
Distribution: Slackware64-current
Posts: 1,004

Rep: Reputation: 90
It sounds like you need a monitoring program like nagios with some plugins.

Configured the right way, it sends e-mails in case of high cpu-usage, services that are down, etc.
 
Old 01-28-2010, 02:21 AM   #4
nick1981
LQ Newbie
 
Registered: Jan 2009
Location: Romania
Distribution: Slackware 13
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by MS3FGX View Post
You want an email every time any error occurs? Or are you trying to monitor something specific?
i want to monitor the error occurs for the moment. If is possible to monitor the traffic in the future is ok. But yesterday my comp was down (electricity crash) and i want to receive an e-mail when i have problems like that. I have a slack ftp vsftpd server with kde

thanks
 
Old 01-28-2010, 03:17 AM   #5
nick1981
LQ Newbie
 
Registered: Jan 2009
Location: Romania
Distribution: Slackware 13
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by niels.horn View Post
It sounds like you need a monitoring program like nagios with some plugins.

Configured the right way, it sends e-mails in case of high cpu-usage, services that are down, etc.
OK i see. Hope that is easy to install and configure because i`m not so good in linux. Can u suggest an good book ?
 
Old 01-28-2010, 05:21 AM   #6
niels.horn
Senior Member
 
Registered: Mar 2007
Location: Rio de Janeiro - Brazil
Distribution: Slackware64-current
Posts: 1,004

Rep: Reputation: 90
Quote:
Originally Posted by nick1981 View Post
OK i see. Hope that is easy to install and configure because i`m not so good in linux. Can u suggest an good book ?
There are several books to choose from.
 
  


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 mail to root but it send to other email smart_jija Solaris / OpenSolaris 5 07-01-2009 02:33 AM
can mail command be used to send mail onto global mail servers like yahoo etc dale_chip Linux - Newbie 4 08-12-2008 09:33 AM
Postfix : mail cannot send to send outside ( can send/receive locally) bobbinsupport Linux - Networking 3 12-15-2007 11:40 PM
with the linux proxi, backend pop3 mail client can not receive mail and send mail rubin823 Linux - Networking 0 12-21-2006 11:06 PM
Server does'nt send mail until shutdown and LAN can't send or receive. Wolfy Linux - Networking 0 08-02-2004 08:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:56 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