Fedora Linux Support Community & Resources Center
Prev Previous Post   Next Post Next
Old 4th March 2008, 03:06 AM
techmum Offline
Registered User
Join Date: Dec 2005
Location: Western Australia
Posts: 269
Logwatch > Gmail > parse script > alert

At the moment I have a bunch of Fedora servers on which logwatch runs every day with the Logwatch report mailed to my Gmail account.

I am wondering if anyone has any ideas about a script that could be run to parse my Gmail mailbox to check for things such as:

1. [Most importantly] all the servers that were supposed to have sent a Logwatch report have in fact sent the report; e.g. I have setup cron jobs so that all reports are sent before 7:00am each day. Hence the check would verify against a list of expected senders that on the current date, a Logwatch report had been received.

2. [Ideal] Would also be nice that a script could parse each of the Logwatch emails looking for certain key words.

3. Raise an email alert based on certain conditions.

I'm not much of a script hack, so any ideas welcome.
Reply With Quote

>, alert, gmail, logwatch, parse, script

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Logwatch reports empty!! how to debug logwatch? paul sanz Using Fedora 1 26th June 2008 10:29 AM
talk session alert script bmvbab Using Fedora 1 2nd February 2007 09:56 AM

Current GMT-time: 20:28 (Saturday, 19-08-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat