Hi,

I can't find any answer to this question in the documentation.

I'm using content match rule to detect entries in a log, this work perfectly,
but instead sending alert, it is possible to do an exec with
content match as variable given as argument to a script ?

[...]
if match /etc/monit/test.regex then exec  "/path/to/my/script \"$CONTENT\" "

???
Regards.

_______________________________________________
monit-dev mailing list
monit-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/monit-dev

Reply via email to