On 4. sep. 2007, at 16.46, Aleksander Kamenik wrote:
Although I think I'd prefer going through a script anyway, just cut
the
mail part out, like alert="/opt/mysmsscript.sh" and the message
would be
piped there.
Simply use the exec statement to do that. I.e. ".... then exec /opt/
mysmsscript.sh" The script can use MONIT_XXX[1] environment variable
to compose the message.
[1] http://www.tildeslash.com/monit/doc/manual.php#environment
--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general