[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: non-blocking stdin from bash



On 13/08/18 05:57, Jim Popovitch wrote:
> Interesting.  I'm using it via a cron script like so:
> 
> * * * * *  grep "unusual" /opt/logs/* | /opt/notify.sh `hostname`;

I don't know what's in notify.sh, but it looks to me like you're going
to get notified every minute for all the unusual log entries, whether
you've already seen them or not?

Have you looked at logcheck or other similar existing solutions?

Richard

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: