--On Saturday, November 26, 2005 4:51 PM +0100 gandalf istari <[EMAIL PROTECTED]> wrote:

Hi,

I have a problem with a self written alert.
This script must change two routing tables, exec a ssh command and write
ta text to a log file. It does everything execept the ssh command.
If i run the alert manualy all work perfectly. this script is crutial in
our failover setup.

<snip>

# Change route at UCC to framerelay
ssh [EMAIL PROTECTED] /usr/lib/mon/alert.d/use-framerelay.alert


If I were a betting man, I'd bet money that ssh isn't in the PATH of the user that Mon is running as. Try adding the full path to your ssh binary.

-David

David Nolan                    <*>                    [EMAIL PROTECTED]
curses: May you be forced to grep the termcap of an unclean yacc while
     a herd of rogue emacs fsck your troff and vgrind your pathalias!

_______________________________________________
mon mailing list
mon@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/mon

Reply via email to