How To set up a slack channel for alert

Viewing 1 post (of 1 total)
  • Author
  • #15361

    How To:  Set up a slack channel for alert


    This article describes how to set up an alert to receive notifications about the latency and errors on existing hvr channels in slack application. In below example we will see how we can see alerts for channel chn2


    1.Channel chn2 is already running in hvrhub4.


    Step 1] Set up a maintenance task.

    1.Right click on the scheduler which is running channel chn2 and select Maintenance tasks

    2.In the Maintenance task window select Add to create a new task

    3.In the next window enter the name you want to identify your task as. In this example it is named slack_alert and then click on OK to confirm

    4.You will be navigated to the Maintenance Tasks window

    Step 2] Specify the task(s) you would like your maintenance job to do. In this particular example we will set up an alert for latency for channel chn2. Below is the list of functions hvr maintenance can do. This is explained in detail in here (

    1. Scheduler checks
    2. Latency checks
    3. Logfile archives
    4. Journal purging
    5. Logging
    6. Email alerts
    7. Slack alerts
    8. SNMP alerts

    1.Check box for latency_limit to set it to 10 mins as shown below

    Step 3] Set up slack alert.

    1.Get the slack webhook url by clicking on your organization group. For eg HVR. which will show a drop down list

    2.Navigate to Customize Slack->Configure Apps->Custom Integration->Incoming Webhooks

    3.Click on Incoming webhooks and on the next prompt click on ‘Add configuration’

    4.On next screen select the slack channel that you would like to receive the notifications to in the drop down. Click on Add Incoming WebHooks Integration.

    5.On the next screen a URL will be generated. Copy this URL.

    6.Paste this URL in the slack webhook url field. And in the hvrchannel field enter the name of the channel that you would like to receive the notifications to. In this example it is hvralert.

    7.To test if this is working fine, click on ‘Send slack test’.

    Step 4] Set the time interval you would like to receive the notifications.

    Step 5] Save and Run this task to start receiving the notifications

Viewing 1 post (of 1 total)
  • The forum ‘How to’ is closed to new topics and replies.

© 2020 HVR

Test drive Contact us