|
From: | Keith |
Subject: | File content testing |
Date: | Tue, 5 Mar 2013 22:56:10 -0800 |
I am trying to implement an action using: http://mmonit.com/monit/documentation/monit.html#file_content_testing check file syslog with path /var/log/syslog if match "blah" then stop program = "/usr/local/sbin/blah stop" start program = "/usr/local/sbin/blah start" And the syntax is failing monit. How do I do an action besides alert? Thanks!
[Prev in Thread] | Current Thread | [Next in Thread] |