Alerts can be sent if a job fails or an error is detected. The Eventconsumer sends notifications or runs scripts, if required, to correct the condition that caused the alert.
sendevent --et ALERT -a 4 -l 5 --tds TD1 –e SanDiego -r ETL1 -t Load -s ETL1 -w csload080518am -m ‘Load file not found in step 2’ -u etlroot
This event uses a type called ALERT. It includes as much information about the ALERT event as possible. This helps in troubleshooting the problem, although it is not required. Alerts do not require a START event or that any other event be sent.