I am reading a bit thru the doc, I don't see a place where I can ask it to send me a msg if a cron didn't run .. Are you able to do that with logwatch ?
On Tue, Nov 24, 2009 at 2:50 PM, Jeremy <[email protected]> wrote: > Sherif Zaroubi wrote: >> Hello Everyone, >> I have a problem ( I love starting emails like this ;) ) .... >> I have a system with over 100 cronjobs (some of which are legacy, >> iow I can modify the code but it might be time consuming). >> >> I need to monitor these jobs, by monitor I mean: >> - Failed to execute (Cron was supposed to run but didn't) >> - Failed in it's execution (Cron job reported errors) >> - Execution took too long (Cron job took more than x% of time than >> normal) >> >> The monitoring should not over send msgs (I remember the time >> where I went on vacation for 2 weeks, and a 3rd party provider fell to >> it's knees .... long story short ... outlook crashed ) >> >> Here is what I am thinking of: >> >> (Cron) --[executes job]---> (Job specific log file) ---- (nagios >> or other monitoring too, analyse time stamp and content of logfile) >> -----> sends email with warnings, errors and all . >> >> >> It sounds a bit duct tape, (cause I gotta start monitoring my >> nagios and all). I have googled and checked freshmeat.net for >> opensource "all in one" solutions. (All in one == schedule and >> monitor). >> I was wondering, how do you solve this issue. > I use logwatch myself, it is pretty simple, but can do some powerful > stuff. Worth checking out anyways. > > Jeremy > > _______________________________________________ > mlug mailing list > [email protected] > https://listes.koumbit.net/cgi-bin/mailman/listinfo/mlug-listserv.mlug.ca > -- Sherif Zaroubi szaroubi |at| gmail |dot| com _______________________________________________ mlug mailing list [email protected] https://listes.koumbit.net/cgi-bin/mailman/listinfo/mlug-listserv.mlug.ca
