Steps to Send Alerts to Targets

Steps to Send Alerts to Targets

Steps to send alerts to targets are outlined below.
To perform these steps, access the primary machine of the
Resonate server
(running Linux).
  1. Run the following command to switch to the user
    trif-user
    account:
    sudo su – trif-user
    The home directory (
    /opt/zebra/trifecta
    ) of the user trif-user should contain the
    add-alerting-target.sh
    script.
  2. Run a command similar to the following to start sending alerts to the target:
    ./add-alerting-target.sh --type webhook --webhook-url <URL> --name <LABEL FOR ALERTING TARGET>
    For examples that show how to run the
    add-alerting-target.sh
    script in different scenarios, see add-alerting-target.sh Usage Examples and add-alerting-target.sh Advanced Usage Information and Examples.
  3. Verify that
    add-alerting-target.sh
    configured AlertManager correctly.
    For information, refer to Validating the Alert Configuration.
When alerts happen, they are now also sent to the target, provided that they meet the specified requirements.