Scheduled task alerts allow you to monitor Calypso scheduled tasks directly from the HPA Portal and get notified when something goes wrong.

Two types of alerts are available:

FAILURE END DURATION
Purpose Detect when a task fails Detect when a task runs too long
What is monitored Task failure status Task average response time
User configures Observation window (max duration) Duration threshold
Notification action Yes Yes
Data collection action No Yes

Configuration

Before using scheduled task alerts, the configuration must be valid. The configuration is defined in scheduled-task-alerts-configuration.yml and contains three fields:

managementModuleName: "Scheduled Tasks Alerts"
defaultNotificationActionName: "Mail to support Team"
defaultDataCollectionActionName: "Data Collection include Dataserver"
Field Description
managementModuleName Introscope management module where alerts are created
defaultNotificationActionName Default email notification action pre-selected in dialogs
defaultDataCollectionActionName Default data collection action pre-selected in dialogs

If any of these values do not match an existing action or module, the configuration screen displays a warning and editing is blocked until the configuration is corrected.

Configuration validation

Important: only scheduled tasks with monitoring type scheduletasks_basic or scheduletasks can have alerts. Non-monitored tasks appear in the table but are disabled.

Dashboard

The dashboard displays all configured scheduled tasks in a paginated table. Each row shows the task name and the status of its Failure and End Duration alerts (active, inactive, or not configured), and the configured actions.

Dashboard

Refresh

The Refresh button reloads the scheduled task list from Calypso. Use it after adding or removing scheduled tasks in Calypso to keep the dashboard in sync.

Editing a single task

Click on a task row to open the edit dialog. From this dialog you can configure both alert types:

  • Active / Inactive toggle
  • Max Duration (must be a multiple of 15s, for Failure alert only, due to Introscope’s metric resolution)
  • Notification action — notification to send when alert triggers.
  • Data collection action — data collection to capture (End Duration alert only)

Edit dialog

Batch operations

Select multiple tasks using checkboxes, then use the batch toolbar to apply changes in bulk. First select the alert type, then choose an action:

Batch toolbar

Batch edit

Set duration/threshold, notification, and data collection for all selected tasks at once. If an alert does not exist yet for a task, it is created. If it already exists, it is updated.

Assign notification

Quickly assign a notification action to selected tasks. If an alert does not exist yet, it is created with a placeholder duration that must be configured later.

Assign data collection

Quickly assign a data collection action to selected tasks. Available for END DURATION only.

Activate / Deactivate

Toggle the active state of existing alerts for selected tasks.

Batch progress

During batch processing, a progress indicator shows how many tasks have been processed, how many succeeded, and how many failed. The dialog stays open until the batch completes. Individual failures do not stop the batch — all selected tasks are processed.

Batch progress

Duration configuration

The two alert types handle duration differently:

FAILURE — observation window

The duration defines how long the system observes the failure status before triggering the alert.

  • Minimum: 15 seconds
  • Maximum: 7 days
  • Must be a multiple of 15 seconds

END DURATION — threshold

The threshold defines the maximum acceptable task execution time. If the task’s duration exceeds this value, the alert triggers.

  • Minimum: 15 seconds
  • Maximum: 7 days
  • Any value accepted (not restricted to multiples of 15 seconds)