monit-general
[Top][All Lists]
Advanced

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

Custom EVENT messages on alerts


From: Jose V Beneyto
Subject: Custom EVENT messages on alerts
Date: Tue, 4 Oct 2016 12:09:17 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0

Hi,

First of all I want to thanks you for this great monitor tool.
I'm running it on production boxes for years without problems and also I'm the packager and maintainer of monit for CRUX Linux.

Is it possible to receive a custom message like: "monit alert -- Resource limit is back to normal" instead of "monit alert -- Resource limit succeeded ..."

I tried to customize that by replacing all appearances of "then alert" in config files by "then exec /path/to/myscript.sh" and then by sending the customized email from my script. Is there any easier way without replacing alerts?

Thanks in advance,

--
Jose V Beneyto | address@hidden




reply via email to

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