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 of the user trif-user should contain the
    add-alerting-target.sh
    and
    trifecta.prometheusrules.yaml
    scripts1.
  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.
1 In Resonate 2.0, this is located in
opsramp.zip
, which is distributed alongside the
resonate-<VERSION>.tar.gz
installation file. Unzip this file and copy it to the home directory of trif-user.