|
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 http://www.tildeslash.com/monit/doc/manual.php#environment On Jan 8, 2008, at 10:09 AM, Morten Bressendorff Schmidt wrote:
HiIs it in any way possible, to get the $DESCRIPTION of the error parsed ontp the script executed by the exec action?It works in alert, but I need the describtion of the problem to get parsedto 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
[Prev in Thread] | Current Thread | [Next in Thread] |