# Late-finish alert: when a task finishes later than its SLA, a webhook # launches a task that writes the event to the system log of an agent. # Replace the logger command with your ticket or chat tool. # # Before import: change the agent (linux-agent). The webhook is created # Disabled; enable it after a test. version: 1 style: compact tasks: SLA Late Finish Alert: type: Unix agent: linux-agent summary: Called by the SLA webhook. command: logger -t uac-sla "Task finished late (SLA). Check the Activity monitor." webhooks: SLA Late Finish: event: uac_task_sla action: Launch Task task: SLA Late Finish Alert filter: criteria: - {name: sla_type, operator: EQUALS, value: Finished Late} status: Disabled