Configuring the SRC VTA to Send E-Mail Notifications (SRC CLI)
To configure the SRC VTA to send e-mail notifications, you need to configure an event handler that specifies an action that calls the mailer-send function.
From configuration mode, access the statement that configures an action for the SRC VTA event handler. For example, to create an action called act1 for the SRC VTA group called vta1:user@host# edit shared vta group vta1 action act1
Configure the action to call the mailer-send function.[edit shared vta group vta1 action act1]user@host# set function mailer-send
Configure the parameters for the mailer-send function.[edit shared vta group vta1 action act1]user@host# set parameter
Specify the following parameters for the mailer-send function:
Recipient—Address of the e-mail recipient
From—Address of the e-mail sender
Subject—Subject of the e-mail
Text—Text of the e-mail
Configure what to do if an error occurs. For example, to configure the event handler to go to the next action if an error occurs:[edit shared vta group vta1 action act1]user@host# set on-error go-to-next-action
Configure the event handler and specify the action you configured in the previous steps of this procedure.