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 [EMAIL PROTECTED]
Monit reports "Error: parse error '[EMAIL PROTECTED]'"
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 [EMAIL PROTECTED]
Is this a bug, or something I'm missing.
Thanks in advance,
Nathan
--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general