Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Manage alerts

The Alerts > Rules page lists the installed alerts in the system. A list of alerts can be searched using their state, labels, title, etc., intuitively on this page. Each alert can be further investigated by clicking on that alert from the list where the alert’s properties, current evaluation graph, and history are displayed.

...

  • Get a webhook url by creating an “incoming webhooks” from flock and pay attention to the transformations. Please add following transformation configuration in the incoming webhook you create:

    Code Block
    {"text": "{
      status: \"$(json.status)\"
      alerts: $(json.alerts),
      groupLabels: $(json.groupLabels),
      commonLabels: $(json.commonLabels),
      commonAnnotations: $(json.commonAnnotations),
      externalURL: \"$(json.externalURL)\",
      version: \"$(json.version)\",
      groupKey: \"$(json.groupKey)\",
      truncatedAlerts: $(json.truncatedAlerts),
      orgId: $(json.orgId),
      title: \"$(json.title)\",
      state: \"$(json.state)\",
      message: \"$(json.message)\"
    }"}
  • Use the URL from above step (it would look like: https://api.flock.com/hooks/sendMessage/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx) to create a webhook contact point as described here.

Setting up Microsoft Teams contact point

Setting Microsoft Teams integration with Kloudfuse alerting is similar to setting up a webhook based integration.

  • First head to Microsoft Teams and create a channel for alert notifications. Using test-notifications channel name in this example, and create a connection of type “incoming webhook” as shown below. Copy the created “URL” (example: https://kloudfuse.webhook.office.com/webhookb2/257d29a4-xxx )

  • Go to the Kloudfuse grafana instance and create a Microsoft Teams contact point. Use URL from above for the contact point URL.

Image Added