[Top][All Lists]

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

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

From: Jan-Henrik Haukeland
Subject: Re: [monit] $DESCRIPTION parsed to the "exec" action?
Date: Tue, 08 Jan 2008 10:42:10 +0100

There are some environment variables you can use in your script. See

On Jan 8, 2008, at 10:09 AM, Morten Bressendorff Schmidt wrote:


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?

exec "myscript $DESCRIPTION "
or something...

Best Regards

reply via email to

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