Just a vague hope that it would work I assume your response means that it's not 
possible?

~Rowan
On 30 May 2011, at 12:07, Bernd Petrovitsch wrote:

> Hi!
> 
> On Mon, 2011-05-30 at 12:03 +0100, Rowan Wookey wrote:
> [....]
>> Does anyone know if it's possible to have the output of a shell script
>> appear in a monit alert. I've tried adding this 
>> 
>> set alert root@localhost with mail-format {
>>     message: Monit $ACTION $SERVICE at $DATE on $HOST: $DESCRIPTION.
>>            Yours sincerely,
>>            monit
>>              `free -m`
>> }
>> 
>> 
>> But that doesn't execute the `free -m`
> 
> monit.conf is not a shell script, so why do you except backquotes
> to work like in a shell?
> 
> Bernd
> -- 
> Bernd Petrovitsch                  Email : [email protected]
>                     LUGA : http://www.luga.at
> 
> 
> --
> To unsubscribe:
> https://lists.nongnu.org/mailman/listinfo/monit-general


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

Reply via email to