User manual

28: Event system
_______________________________________________________________________________________________________
28.6.4.2 Email target
When an email target receives an event, it sends it to the configured email
address.
config target
option name email
option enabled yes
option type email
option conn_tester pinger
option smtp_addr "smtp.site.com:587"
option smtp_user 'john_smith@site.com'
option smtp_password 'secret word'
option use_tls 'yes'
option tls_starttls 'yes'
option tls_forcessl3 'yes'
option timeout_sec "10"
option from x@example.com
option to y@example.com
option subject_template "%{severityName} %{eventName}!!!"
option body_template "%{eventName} (%{class}.%{subclass}) happened!"
option conn_tester 'smtp_server'
The table below describes email target parameters.
Name
Type
Required
Default
Description
name String Yes None
Name of the target to be used in
the forwarding section
enabled Boolean Yes Yes Enable this target
type String Yes Email Must be email for a syslog target
smtp_addr
IP
Address:Port
Yes None
IP Address and port of the SMTP
server to use.
smtp_user String No None Username for smtp authentication
smtp_password String No None Password for smtp authentication
use_tls Boolean No No Enable tls support
tls_starttls Boolean No No Enable starttls support
tls_forcessl3 Boolean No No Force SSLv3 for TLS
timeout_sec
Time in secs
No
No
Email send timeout
from
Email
address
Yes No Source email address
to
Email
address
Yes No Destination email address
_______________________________________________________________________________________________________
© Virtual Access 2015
GW1000 Series User Manual
Issue: 2.4 Page 206 of 255