R12.1-JA-2025June05

Call Webhook API

You can navigate to Add Action > Advanced > Call Webhook API in NI diagnosis to add a Webhook API Call block.

Complete the following steps to use Webhook Call to send alerts to external ticket system, for example, check application performance and return found issues to ServiceNow via calling webhook.

  1. Build an intent to check QoS metric and config.
    1. Add CLI diagnosis for device “BJ_L2_Core_4”. Get a parsed table by command show policy-map interface.

    2. Define the diagnosis to check the QOS config.
      1. Define the condition and diagnosis message.
      2. Add the Webhook logic node to send the problematic device and incident ID back to ServiceNow.
    3. Add CLI diagnosis for device “BJ_L2_Core_4”. Get parsed variables from the command Configuration file.

  2. Install this intent as a template to TAF, and associate it with the “Application Slow Check” virtual incident type.
    1. Define the virtual incident type.

    2. Associate virtual incident type to incident type.

    3. Install this intent associated with the “Application Slow check” Virtual incident type.

  3. Create a ServiceNow ticket to track a slow application. The ServiceNow ticket matches a Check Application Performance Intent by the application name through TAF.
  4. Check the detail in the incident pane after this diagnosis was triggered by the ticket.


See also: