[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[monit] Problem on file content check ( monit 5.0 )
From: |
Farina Daniela |
Subject: |
[monit] Problem on file content check ( monit 5.0 ) |
Date: |
Wed, 17 Jun 2009 14:02:09 +0200 |
Hi,
I'm installing monit 5.0 on Linux 2.4.20 RedHat and I have the following
problem.
The problem is in huge logging.
When a string is matched, monit sends a mail.
After that, monit begins to report in the log file that the string is
not matched.
>From the /etc/monitrc:
# Monit control file
check file updateanagrafica.log with path
/usr/local/aggiornaanagraficasibe_new/lib/updateanagrafica.log
if match "SIBE Error" then alert
Log file:
[CEST Jun 15 14:33:43] error : 'updateanagrafica.log' content match
[15/06/2009 14:32:49 [FATAL] SibeUpdate: mainProcess - SIBE Error]
[CEST Jun 15 14:33:44] info : 'updateanagrafica.log' content doesn't
match [15/06/2009 14:33:43 [DEBUG] SibeUpdate: <init> - letto il file di
properties sibeupdate.properties]
[CEST Jun 15 14:33:44] info : 'updateanagrafica.log' content doesn't
match [15/06/2009 14:33:43 [DEBUG] SibeUpdate: <init> - as400
driver:com.ibm.as400.access.AS400JDBCDriver]
...
Thanks in advance.
Daniela Farina
- [monit] Problem on file content check ( monit 5.0 ),
Farina Daniela <=