Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 01-21-2008, 04:35 AM   #1
Registered: Oct 2006
Posts: 80

Rep: Reputation: 15
auto-generate email report


Anyone here know a packages that runs under centos that will send an email report when something goes wrong with your server? Or a script that will send messages a variable logs under /var/log/messages and will only send email with an Error reports.

Thanks in advanced....
Old 01-21-2008, 04:39 AM   #2
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
unrelated to networking. moved to linux - software.
Old 01-21-2008, 05:01 AM   #3
Registered: Jun 2007
Location: Munich, Germany
Distribution: RHEL, CentOS, Fedora, SLES (...)
Posts: 399

Rep: Reputation: 39
You may receive logwatch that will generate a digest of important log messages and it will send it to root's email address.

Besides you may install a software like nagios. This application may be configured to monitor ip addesses, webserver, network shares or various snmp information. Also it can be used to inform you, if the backup tape needs to be replaced or if there is too much load or too many users logged in or your root disk space runs out etc.
Old 01-21-2008, 08:15 AM   #4
Senior Member
Registered: Aug 2007
Location: Massachusetts, USA
Distribution: Solaris 9 & 10, Mac OS X, Ubuntu Server
Posts: 1,194

Rep: Reputation: 105Reputation: 105
ah, acid_kewpie, it could be related to networking. Most of the software in this category is thought of as network monitoring software. If the question had been posed that way . . .

Anyway, most of this sort of software does email notification. There are a number referenced here: . Although my favorites are not.

I really, really like mon. It is the ultimate simple, direct, extensible tool. You can find it at . You can also check out a blog posting I wrote about mon here: .

For watching log files and identifying error conditions, there is SEC (Simple Event Correlator), which, again, is a simple, direct, extensible tool. It can be found here: , and, if you couple it with syslogng, you can centralize your logging and have SEC watch them all as well as catching patterns across the network. Syslogng can be found here: .

Another thing to think about is what happens if your email or network connection goes down? Then there is no notification. Having more than one monitor, and having other notification avenues, gives you fail safes and fall backs. Maybe an analog line and paging or text messaging, or some method to pop up an alert on your desktop from the server.

All of this is probably more than you thought you were asking for, but it is a complex and competitive area with lots of open source and commercial software offerings.
Old 01-23-2008, 10:07 PM   #5
Registered: Oct 2006
Posts: 80

Original Poster
Rep: Reputation: 15
Thanks everybody for sharing your ideas and experiences. @choogendyk, i'll look the link that you suggest. My only purpose for now is to notify me thru email if it has an error message on the log files.

Thanks once again it really helps.


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
How to generate report with user id's in SARG jomy Linux - Networking 2 01-04-2011 03:05 AM
Auto generate /etc/fstab sadarax Linux - Hardware 1 04-21-2007 07:40 PM
Trying to generate resource information and email the output. bebeslb Programming 1 10-11-2006 09:51 AM
Generate Mail report kwtan Linux - Software 1 01-23-2006 04:41 AM
Generate a system event to send email ? debian_dummy Debian 2 05-02-2004 04:37 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:28 PM.

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