Re: Monitor log file thru shell script
From: Dan Norris <dannorris_at_dannorris.com>
Date: Tue, 08 Jul 2008 18:00:44 -0600
Message-ID: <4873FFAC.50304@dannorris.com>
Date: Tue, 08 Jul 2008 18:00:44 -0600
Message-ID: <4873FFAC.50304@dannorris.com>
Good idea and v2 of my own log-checker script was in perl as well and
used a similar scheme (though I made everything appear in a single
file--I don't like dependencies). Unfortunately, that required knowledge
of perl, so I avoided it for this response.
Great minds think alike! :)
sol beach wrote:
> I do not trust grep "whatever error strings" alert_SID.log; because
> new errors may be not reported to me.
> I wrote a simple PERL program to report all/any lines not contained in
> an "ignore file".
> It runs via cron every 5 minutes & starts reporting from the timestamp
> where it last ended.
-- http://www.freelists.org/webpage/oracle-lReceived on Tue Jul 08 2008 - 19:00:44 CDT