이 콘텐츠는 선택한 언어로 제공되지 않습니다.

Chapter 6. Creating alerts in Datadog


Administrators can create monitors that track the metrics of the Red Hat Ceph Storage cluster and generate alerts. For example, if an OSD is down, Datadog can alert an administrator that one or more OSDs are down.

Prerequisites

  • Root-level access to the Ceph Monitor node.
  • Appropriate Ceph key providing access to the Red Hat Ceph Storage cluster.
  • Internet access.

Procedure

  1. Click Monitors to see an overview of the Datadog monitors.

    datadog manage monitors
  2. To create a monitor, select Monitors→New Monitor.
  3. Select the detection method. For example, "Threshold Alert."

    datadog new monitor
  4. Define the metric. To create an advanced alert, click on the Advanced…​ link. Then, select a metric from the combo box. For example, select the ceph.num_in_osds Ceph metric.
  5. Click Add Query+ to add another query.

    datadog monitor ceph metric 1
  6. Select another metric from the combo box. For example, select the ceph.num_up_osds Ceph metric.

    datadog monitor ceph metric 2
  7. In the Express these queries as: field, enter a-b, where a is the value of ceph.num_in_osds and b is the value of ceph.num_up_osds. When the difference is 1 or greater, there is at least one OSD down.
  8. Set the alert conditions. For example, set the trigger to be above or equal to, the threshold to in total and the time elapsed to 1 minute.
  9. Set the Alert threshold field to 1. When at least one OSD is in the cluster and it is not up and running, the monitor will alert the user.
  10. Give the monitor a title in the input field below Preview and Edit. This is required to save the monitor.
  11. Enter a description of the alert in the text field.

    datadog monitor ceph metric 3
    Note

    The text field supports metric variables and Markdown syntax.

  12. Add the recipients of the alert. This will add an email address to the text field. When the alert gets triggered, the recipients will receive the alert.
Red Hat logoGithubRedditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

© 2024 Red Hat, Inc.