LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Automatically send mail when i have errors ? (https://www.linuxquestions.org/questions/slackware-14/automatically-send-mail-when-i-have-errors-785126/)

nick1981 01-27-2010 12:08 PM

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 ?

MS3FGX 01-27-2010 01:06 PM

You want an email every time any error occurs? Or are you trying to monitor something specific?

niels.horn 01-27-2010 04:46 PM

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.

nick1981 01-28-2010 01:21 AM

Quote:

Originally Posted by MS3FGX (Post 3842546)
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

nick1981 01-28-2010 02:17 AM

Quote:

Originally Posted by niels.horn (Post 3842847)
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 ?

niels.horn 01-28-2010 04:21 AM

Quote:

Originally Posted by nick1981 (Post 3843280)
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. :)


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