monit-general
[Top][All Lists]
Advanced

[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

Hi,

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.

Martin


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

Hi,

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.

Regards,

--
Aleksander Kamenik
system administrator
+372 6659 649
address@hidden

Krediidiinfo AS
http://www.krediidiinfo.ee/


--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general





reply via email to

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