[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

File content testing

From: Keith
Subject: File content testing
Date: Tue, 5 Mar 2013 22:56:10 -0800

I am trying to implement an action using:

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?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]