monit-general
[Top][All Lists]
Advanced

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

[monit] $DESCRIPTION parsed to the "exec" action?


From: Morten Bressendorff Schmidt
Subject: [monit] $DESCRIPTION parsed to the "exec" action?
Date: Tue, 08 Jan 2008 10:09:11 +0100

Hi

Is it in any way possible, to get the $DESCRIPTION of the error parsed on
tp the script executed by the exec action?

It works in alert, but I need the describtion of the problem to get parsed
to the script, so that I can send myself an SMS to my cellphone, which
includes the error in question...

Is there any way to do this?
Like:

exec "myscript $DESCRIPTION "
or something...

Best Regards
Smet





reply via email to

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