[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
File contains with specific word
From: |
AJames |
Subject: |
File contains with specific word |
Date: |
Wed, 29 Jun 2011 07:15:32 -0700 (PDT) |
Hi,
I am trying the execute the following example to check whenever the log
file will update with any error message i have to alert. I added the
following line in my monitrc file.
check file test.txt with path /home/sample/test.txt
if match
"error" then alert
Let me know if am wrong any where.
--
View this message in context:
http://old.nabble.com/File-contains-with-specific-word-tp31955144p31955144.html
Sent from the monit-general mailing list archive at Nabble.com.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- File contains with specific word,
AJames <=