[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Local Alerts don't work without exec
From: |
Nathan |
Subject: |
Local Alerts don't work without exec |
Date: |
Tue, 02 Oct 2007 09:57:10 +0100 |
User-agent: |
Thunderbird 2.0.0.6 (X11/20070728) |
Hi,
This will be the first of a few emails describing various problems with
the file content checking:
Problem 1
=========
Local alerts don't work unless there is an exec:
Here is the config:
check file server.log with path /foo/log/server.log
if match ".*\s(ERROR|WARN)\s.*" then
alert address@hidden
Monit reports "Error: parse error 'address@hidden'"
If I add an exec line in then it works, i.e.:
check file server.log with path /foo/log/server.log
if match ".*\s(ERROR|WARN)\s.*" then
exec "/bin/true"
alert address@hidden
Is this a bug, or something I'm missing.
Thanks in advance,
Nathan
- Local Alerts don't work without exec,
Nathan <=