[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: log format changes while running
From: |
Martin Pala |
Subject: |
Re: log format changes while running |
Date: |
Thu, 29 Mar 2012 13:51:48 +0200 |
Hi,
the format with date prefix is the format used for the logfile as defined by
the "set logfile <path>" statement. The format without date prefix is normally
displayed to the standard error output only (when the "-I" option is used).
Maybe you have redirected the monit output to the log file which you use in the
"set logfile" like this?:
--8<--
monit -vI > /var/log/monit.log 2>&1
--8<--
It would then contain both the standard output (wihtout date) and the log
output (with date).
Regards,
Martin
On Mar 28, 2012, at 2:18 PM, Nick Upson wrote:
> Hi,
>
> I have monit (v5.3.1) running in debug mode, it starts running with
> one output format and then changes, many iterations later
>
> here is an example, c&p from the file where these are consecutive lines
>
>
> 'dbtrig' cpu usage check succeeded [current cpu usage=0.0%]
> 'dbtrig' total mem amount check succeeded [current total mem amount=1196kB]
> 'dblog' zombie check succeeded [status_flag=0000]
> 'dblog' total mem amount check succeeded [current total mem amount=1516kB]
> unt=86396kB]
> [BST Mar 28 12:14:46] debug : 'sl_cs' mem usage check succeeded
> [current mem usage=5.8%]
> [BST Mar 28 12:14:46] debug : 'sl_cs' loadavg(5min) check succeeded
> [current loadavg(5min)=0.2]
> [BST Mar 28 12:14:46] debug : 'rootfs' space usage check succeeded
> [current space usage=53.7%]
>
> Nick Upson
>
> --
> To unsubscribe:
> https://lists.nongnu.org/mailman/listinfo/monit-general