[Top][All Lists]

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

Re: more informative resource passed messages

From: Martin Pala
Subject: Re: more informative resource passed messages
Date: Tue, 22 May 2007 18:00:39 -0700


it could be improved quite easily - if you look in validate.c on the check_process_resources() function, you will see how the report is constructed. In the case of error there is detailed information on the cause, but in the case of recovery there is one universal recovery message which doesn't contain more details. All the informations needed are in the service and resource structures (see the failed state handling for example).

If you want to, you can look on it and get your name on the monit contributors list ;) The change could be part of next release.


On May 22, 2007, at 8:38 AM, Aleksander wrote:


When a host experiences severe load monit often sends several messages stating that cpu user is over limits, then load for 1 minute, load for 5 minutes etc.

This is fine, but when monit starts sending resource passed messages, they all look the same, like this one:

Monit alert host.domain at Tue, 22 May 2007 09:35:14 +0300 on host

  'host.domain' resource passed

Well, which resource has passed? I'd like to see the $DESCRIPTION as something like this:

  'host.domain' cpu user resource passed

Is there a way to fix this with mail-format? If not, please regard this message as a feature request.


Aleksander Kamenik
system administrator
+372 6659 649

Krediidiinfo AS

To unsubscribe:

reply via email to

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