Email job exception details

About this task

Set LSF to send you an email about job exceptions that includes details including JOB_ID, RUN_TIME, IDLE_FACTOR (if job has been idle), USER, QUEUE, EXEC_HOST, and JOB_NAME.

Procedure

  1. In lsb.params, set EXTEND_JOB_EXCEPTION_NOTIFY=Y.
  2. Set the format option in the eadmin script (LSF_SERVERDIR/eadmin on the management host).
    1. Uncomment the JOB_EXCEPTION_EMAIL_FORMAT line and add a value for the format:
    • JOB_EXCEPTION_EMAIL_FORMAT=fixed: The eadmin shell generates an exception email with a fixed length for the job exception information. For any given field, the characters truncate when the maximum is reached (between 10-19).
    • JOB_EXCEPTION_EMAIL_FORMAT=full: The eadmin shell generates an exception email without a fixed length for the job exception information.