Skip to content

1050 Create an Alert when Content is updated

10 Minutes introductory

Be alerted when content is updated in a Digital Rebar endpoint

Business ROI: Operators must be able to track and verify that environments have only been updated by planned processes

Open Video

Prerequisites

Additional Labs:

Concepts

  • triggers
  • alerts
  • content packs

Summary

Inspect your system

  1. Navigate to System Information and Preferences for the list of API Objects at the bottom right
  2. Navigate to Machines to find the Digital Rebar Endpoint Self-Runner The name will match the Digital Rebar Endpoint ID in the top left corner.
  3. Open The Live Event Panel The Live Event Panel can be opened by clicking the megaphone icon on top of the side nav, next to the Digital Rebar Endpoint ID.
  4. Navigate to Catalog and update or install the "dev-library" Content Pack or Plugin from the library Observe the "CREATE contents dev-library" event in the Live event Panel

  5. Navigate to Triggers page and create a new Trigger Name: lab1050

    Provider: `event-trigger`
    
    Blueprint: `alerts-on-content-change`
    
    Filter to the Local Self Runner
    
    Param `event-trigger/event-match` should be set to `contents.*.*`
    
    Save
    
    Set MergeData: `true`
    
  6. Navigate to Catalog and update or install a Content Pack from the library The specific Content Pack installed does not matter as the action of installing one will run the Trigger configured in the previous steps.

  7. Navigate to Alerts to review the created Alert(s) Acknowledge the alerts(s) by clicking on the bell icon in the leftmost column or clicking into the alert and clicking "Acknowledge Alert" on the top right.

Return to the Triggers page to elevate the alert level

  1. Open the lab1050 trigger
  2. In the Work Order Config params list, add the alert/level Parameter with value WARN This is done in the "Work Order Config" params at the bottom of the Editor tab instead of the "Params" tab as the Params tab is for Trigger specific params.
  3. Repeat the Catalog update process and note that the Alerts are now WARN level