Integrate PagerDuty with NetFlow Analyzer using Webhooks

    PagerDuty is an alarm aggregation and incident response solution, that helps you view the alerts and messages from a bandwidth management tool in a single console and manage them appropriately so that the network issues are resolved much quicker. Alerts from NetFlow Analyzer will be logged as incidents in PagerDuty, where you can customize the mode of communication for each type of incident.

    For example, you can choose to escalate a low severity incident via an email while on the other hand, configure to receive a phone call for a critical incident that posses as serious threat to your network.

    How NetFlow Analyzer-PagerDuty integration leverages network bandwidth monitoring

    NetFlow Analyzer generates alarms for threshold violations and any kind of network issues. By integrating NetFlow Analyzer with PagerDuty you can relay the details of the alarms in PagerDuty and configure to receive notifications.PagerDuty allows you to customize the type of notification received based on the severity of the alert. For instance, you can configure to receive critical alerts via a phone call and on the other hand receive attention alerts via an SMS or an email.

    This way you can prioritize the issues and resolve them accordingly to ensure that all the network issues are sorted faster and effectively.

    How to integrate NetFlow Analyzer with PagerDuty

    Note: NetFlow Analyzer-PagerDuty integration can be implemented via webhooks.

    The integration process involves two parts.

    • Service Integration configuration in PagerDuty
    • Webhook configuration in NetFlow Analyzer

    Steps to be executed in PagerDuty

    Integration Type: NetFlow Analyzer-PagerDuty integration is established through Events API V2.

    • In your PagerDuty instance, go to Services → Service Directory.
    • Next to the service you wish to integrate with, click More and select View Integrations.
    • Click on Add Integration, select Events API V2 and click "Add".
    • Copy the Integration Key and the URL for Alert Events from the next window.

    Steps to be executed in NetFlow Analyzer

    Webhook PagerDuty Integration

    Stage 1

    Navigate to Notification Template in NetFlow Analyzer (Settings → NetFlow > Notification Template → Add Profile).

    Stage 2 (Invoke a webhook)
    Select Invoke a Webhook and add the following details:

    • Method: POST
    • URL: https://events.pagerduty.com/v2/enqueue (The Events URL copied from PagerDuty)
    • Data Type: raw
    • Payload Type: JSON
    • Body content: In this field, the "$message" and "$DeviceField(ipAddress)" are default message variables available in NetFlow Analyzer. You can use any of these variables in the body of the message by clicking on the '+' icon next to the Body Content field.

    Stage 3

    • Once you have configured all these details, click Save.
    • Before saving it, make sure to use the Test Action option to check if the integration has been configured properly. Note that the message variables used in the body of the request will not have any value when Test Action is performed, and will only send the content as such.
    • The configuration enables NetFlow Analyzer to send alerts to PagerDuty which will be stored as incidents.

    PagerDuty is now integrated with Webhooks in NetFlow Analyzer.