Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Customized log file monitor
- Date: Thu, 25 Mar 2010 19:29:20 +0900
- From: Nicolas Limare <nicolas+tlug@example.com>
- Subject: Re: [tlug] Customized log file monitor
- References: <78d7dd351003250301r3ac5e17fg531d8b503114ac0@example.com>
- User-agent: Mutt/1.5.20 (2009-06-14)
Hi, > I am looking for a tool that runs on Linux that parses a log file > (/path/to/log/dir/yyyymmdd.log), > mail to a specified email address if some specified text ("Error") is > spotted. > > The number of files to be monitors is close to 50. > The text to be watch is "Error" on string. > Log file's filename changes everyday but I think I can solve it with ln -s. > > swatch does the job, IIRC. > I just want to know if there is alternatives. I use logcheck, and it works pretty well -> http://logcheck.org/ Its intended use is not exactly the one you describe: It moditors a given set of logfiles, and warns you when these files contain something special, based on whitelist and blacklist regular expressions. I think you can customize this behaviour. On the other hand, cron + logtail + grep + mail should be enough. -- Nicolas LIMARE smtp:nicolas@example.com pgp:0xFA423F4F xmpp:nicolas@example.com http://nicolas.limare.netAttachment: signature.asc
Description: Digital signature
- References:
- [tlug] Customized log file monitor
- From: Nguyen Vu Hung
Home | Main Index | Thread Index
- Prev by Date: [tlug] Customized log file monitor
- Next by Date: [tlug] ==> Call for Participation Opens for LinuxCon Japan <==
- Previous by thread: [tlug] Customized log file monitor
- Next by thread: [tlug] ==> Call for Participation Opens for LinuxCon Japan <==
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links