VictorOps Notifications


  1. Copy REST API URL from VictorOps

    1. Login to your VictorOps account.

    2. Navigate to Alert Behavior > Integrations.

      Alert Behavior Integrations
    3. Search for Metricly and select the card.

      Search CloudWisdom
    4. Click Enable Integration.

    5. Copy the Service API Endpoint. This is required for the next step.

      API Key
  2. Create a Webhook Notification in CloudWisdom

    1. In CloudWisdom, navigate to the Policy Editor.

    2. Click tab 3, Notifications.

    3. Click Add Notification and select Webhook as the Notification Type.

    4. Provide a name for the webhook notification.

    5. Choose your re-notification frequency.

    6. Click New Webhook.

    7. Name the Webhook.

    8. For URL, paste the Service API Endpoint from VictorOps.

      Test and Save
    9. Provided a username and password if required.

    10. Click Test and Save.


      The endpoint URL must return an HTTP code 200 to pass the validation.

    11. Click Save.

Optional Configuration


Add one or more headers (key-value pairs) to the webhook notification.

Custom Payload

Select Custom from the Payload drop-down menu. A text field will open after selecting Custom. You can use the following variables and/or VictorOps fields to make your notification more dynamic.

Example The below example sends a notification that states the alert’s category name, the name and ID of the element in violation, and the policy name of the violating element. Once the alert has ended, it sends a RECOVERY notification stating the time that the alert ended.

   "message_type":"<#if payloadType == "event">${}</#if><#if payloadType == "event_cleared">RECOVERY</#if>",
     "state_message":"<#if payloadType == "event"> [${elementName}] [${policyName}] [${eventTimestamp}] : ${policyDescription}</#if><#if payloadType == "event_cleared">The policy ${policyName} has CLEARED for ${elementName} and is no longer generating events as of ${eventTimestamp}</#if>"

VictorOps Fields

You can visit the VictorOps knowledge base for more information.

Field Name



String value. This field allows the following values: INFO, WARNING, ACKNOWLEDGMENT, CRITICAL, RECOVERY.


String value. The name of the alerting entity.


Number value. Timestamp of the alert in seconds since epoch.


Number value. The time the entity entered its current state (in seconds since epoch).


String value. Any additional status information from the alert.


String value. The name of the monitoring system software/application.

Freemarker Variables




The Fully Qualified Name (FQN) of the element.


The type of element (e.g., SERVER, ELB, EC2, RDS, etc.).


The location of the element.


The friendly name for the element.


The type of element (e.g, SERVER, ELB, RUBY, etc.)


The description of the event as a policy violation.


The ID of the event


The event category ( (Info), (Warning), or (Critical)).


The time (in UTC) the event occurred.


The description of the policy that generated the event.


The policy identification number.


The name of the policy.

  "state_message":"${elementName} is up,
but an event occurred at ${eventTimestamp}."