LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices



Reply
 
Search this Thread
Old 01-21-2008, 05:35 AM   #1
guy_ripper
Member
 
Registered: Oct 2006
Posts: 80

Rep: Reputation: 15
auto-generate email report


Hi,

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, 05:39 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

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

Rep: Reputation: 38
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, 09:15 AM   #4
choogendyk
Senior Member
 
Registered: Aug 2007
Location: Massachusetts, USA
Distribution: Solaris 9 & 10, Mac OS X, Ubuntu Server
Posts: 1,189

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: http://www.linuxquestions.org/bookmarks/tags/monitoring . Although my favorites are not.

I really, really like mon. It is the ultimate simple, direct, extensible tool. You can find it at http://mon.wiki.kernel.org/index.php/Main_Page . You can also check out a blog posting I wrote about mon here: http://blogs.umass.edu/choogend/2007...nitoring-tool/ .

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: http://www.estpak.ee/~risto/sec/ , 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: http://www.balabit.com/network-secur...ogging-system/ .

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, 11:07 PM   #5
guy_ripper
Member
 
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.
 
  


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


All times are GMT -5. The time now is 01:52 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration