|
From: | Martin Pala |
Subject: | Re: monit ignores match pattern commnad |
Date: | Mon, 7 Apr 2014 17:39:36 +0200 |
The character "^" means start of the line => pattern didn't match. The alternative pattern (behind "|") didn't match too. The following pattern should work: check file openvpn-client.log with path /home/share/openvpn-client.log if match "Initialization Sequence Completed" then exec "/root/sendemail.sh" The proc file error may show up if the process exit before Monit collected details about it (for a moment it was visible in the process table). You can ignore this message (harmless and suppressed in non-debug mode). On 07 Apr 2014, at 17:33, Anthony Griffiths <address@hidden> wrote:
|
[Prev in Thread] | Current Thread | [Next in Thread] |