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:

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


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

Reply via email to