|RE: newbie: getting monit to watch for a pattern in logfile
|Tue, 8 Apr 2014 10:39:08 +0000
as a newbie to monit I'm having difficulty understanding how I get monit to watch for a particular text string (pattern?) in a logfile and then run a script when it finds it.
I would be interested to hear what the solution you find for this one is.
Specifically, I would like to monitor for the OOM killer coming into action on a system.
My first thought would be to use a log watcher program rather than monit, the classical Logwatch being the obvious one.
|[Prev in Thread]
|[Next in Thread]