ADTRAN AOS Version R10.1.0 Command Reference Manual page 3210

Adtran operating system (aos)
Table of Contents

Advertisement

Command Reference Guide
send trigger
Use the send trigger command to configure when an email with command output is sent to the email
address(es) specified by the address to command (refer to
address-list command (refer to
1238). Use the no form of this command to remove the configuration. Variations of this command include:
send trigger
send trigger track <name> fail
send trigger track <name> pass
Syntax Description
track <name> fail
track <name> pass
Default Values
By default, no email is sent.
Command History
Release 17.2
Functional Notes
If no trigger is specified, the mail agent will immediately send the email. If a track is specified as the send
trigger, the email will be sent every time the track switches to the specified state. The track used should be
a preconfigured track with an associated schedule. The track will change states when its associated
schedule becomes active or inactive. For more information on schedules, refer to the command
<name> on page
1313. For more information on tracks, refer to the
on page 2977
of this guide. For more information on the functions of tracks and schedules as part of the
mail agent feature, refer to the Generic Mail Agent quick configuration guide available online at
https://supportforums.adtran.com
The send trigger command can be used without the capture trigger command (refer to
page
3206). If only the send trigger command is used, the send trigger command will function as the
capture trigger command and immediately capture the command output and send an email of the
captured output. If both commands are used, the command output is captured at the time the capture
trigger occurs, and then an email is sent at the time the send trigger occurs.
Usage Examples
The following example specifies when the track named sendmail changes to a fail state, mail agent
myagent will send an email with captured command output:
(config)#mail-client myagent
(config-mail-client-myagent)#send trigger track sendmail fail
60000CRG0-35E
logging email address-list <email address> ; <email address> on page
Optional. Specifies the email message is sent when the named track
changes from a pass state to a fail state.
Optional. Specifies the email message is sent when the named track
changes from a fail state to a pass state.
Command was introduced.
(article number 2341).
Copyright © 2012 ADTRAN, Inc.
Mail Agent Command Set
address on page
3202) or the logging email
Network Monitor Track Command Set
schedule
capture trigger on
3210

Advertisement

Table of Contents
loading

Related Products for ADTRAN AOS Version R10.1.0

This manual is also suitable for:

Aos r10.1.0

Table of Contents