Linux / UNIX Tech Support Forum
This is a discussion on How to monitor logs within the Linux software forums, part of the Linux Getting Started category; Hi, I'm looking for a way to monitor my system log for specific events, and have an email sent to ...
|
Register free or login to your existing account and remove all advertisements. |
|
|||||||
| Linux software General questions and discussion about Redhat/Fedora Core/Cent OS, Debian and Ubuntu Linux related to softwares should go here. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi,
I'm looking for a way to monitor my system log for specific events, and have an email sent to an account I specify when these events occur. I've looked into Logwatch and it doesn't appear to satisfy my requirements - I'm looking for an active monitor which can trigger an arbitrary event. Any suggestions? -Joe |
| Sponsored Links | ||
|
|
|
||||
|
Logwatch needs lots of configuration and it will send a summery of all logs. If you need event specific email write your own script. For example, script to monitor disk space and send email alert when you are low on disk.
__________________
Vivek Gite Linux Evangelist |
|
||||
|
No need to write daemon. Just write a script and check it via cronjob. Another option is use tool such as monit to monitor apache, mysql, process, disk space and other stuff.
HTH
__________________
Vivek Gite Linux Evangelist |
![]() |
| Tags |
| cronjobs , crontab , disk monitoring , email alerts , linux , logs |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| SSH output - also question about linux logs | bigcat1009 | Ubuntu / Debian | 1 | 05-12-2009 11:41 AM |
| Allow non-root to view system logs? | Dino | Networking, Firewalls and Security | 4 | 11-21-2008 02:57 AM |
| Proxy server logs | upanwar | Proxy Servers | 2 | 09-28-2008 10:17 AM |
| How to monitor RSH commands | mformit | Solaris/OpenSolaris | 0 | 04-11-2008 09:44 PM |
| CVS logs how to | rajuk | Linux software | 1 | 12-14-2006 04:44 PM |