Supported OS Linux Windows Mac OS

インテグレーションバージョン0.0.2

概要

このチェックは、Datadog Agent を通じて Cloudsmith を監視します。

  • Cloudsmith アカウントのストレージ、帯域幅、トークンの使用状況を監視します。

セットアップ

Cloudsmith チェックは Datadog Agent パッケージに含まれていないため、お客様自身でインストールする必要があります。

インストール

Agent v7.21 / v6.21 以降の場合は、下記の手順に従い Cloudsmith チェックをホストにインストールします。Docker Agent または 上記バージョン以前の Agent でインストールする場合は、コミュニティインテグレーションの使用をご参照ください。

  1. 以下のコマンドを実行して、Agent インテグレーションをインストールします。

    datadog-agent integration install -t datadog-cloudsmith==<INTEGRATION_VERSION>
    
  2. コアのインテグレーションと同様にインテグレーションを構成します。

構成

  1. Agent のコンフィギュレーションディレクトリのルートにある conf.d/ フォルダーの cloudsmith.d/conf.yaml ファイルを編集し、Cloudsmith のパフォーマンスデータを収集します。使用可能なすべてのコンフィギュレーションオプションについては、cloudsmith.d/conf.yaml のサンプルを参照してください。

  2. Agent を再起動します

検証

Agent の status サブコマンドを実行し、Checks セクションで cloudsmith を探します。

収集データ

メトリクス

cloudsmith.storage_used
(gauge)
The percentage of storage used
Shown as percent
cloudsmith.bandwidth_used
(gauge)
The percentage of bandwidth used
Shown as percent
cloudsmith.token_count
(gauge)
The number of tokens in an organization
Shown as item
cloudsmith.token_bandwidth_total
(gauge)
The total bandwidth used by tokens
Shown as byte
cloudsmith.token_download_total
(gauge)
The total downloads used by tokens
Shown as item
cloudsmith.storage_used_bytes
(gauge)
The amount of storage used in bytes
Shown as byte
cloudsmith.bandwidth_used_bytes
(gauge)
The amount of bandwidth used in bytes
Shown as byte
cloudsmith.member.active
(gauge)
The number of active members in the organization
Shown as item
cloudsmith.license_policy_violation.count
(gauge)
The number of license policy violations
Shown as item
cloudsmith.vulnerability_policy_violation.count
(gauge)
The number of vulnerability policy violations
Shown as item
cloudsmith.member.has_2fa.count
(gauge)
The number of members with 2FA enabled
Shown as item
cloudsmith.member.saml.count
(gauge)
The number of members who logged in with SAML
Shown as item
cloudsmith.member.password.count
(gauge)
The number of members who logged in with password
Shown as item
cloudsmith.member.owner.count
(gauge)
The number of users with role 'Owner'
Shown as item
cloudsmith.member.manager.count
(gauge)
The number of users with role 'Manager'
Shown as item
cloudsmith.member.readonly.count
(gauge)
The number of users with role 'ReadOnly'
Shown as item
cloudsmith.member.admin.count
(gauge)
The number of users with role 'Admin'
Shown as item
cloudsmith.bandwidth_plan_limit_bytes
(gauge)
The bandwidth limit in bytes defined by the plan
Shown as byte
cloudsmith.bandwidth_plan_limit_gb
(gauge)
The bandwidth limit in gigabytes defined by the plan
Shown as byte
cloudsmith.bandwidth_used_gb
(gauge)
The bandwidth used in gigabytes
Shown as byte
cloudsmith.storage_plan_limit_bytes
(gauge)
The storage limit in bytes defined by the plan
Shown as byte
cloudsmith.storage_plan_limit_gb
(gauge)
The storage limit in gigabytes defined by the plan
Shown as byte
cloudsmith.storage_used_gb
(gauge)
The storage used in gigabytes
Shown as byte

イベント

収集された Cloudsmith 関連のイベントはすべて、Datadog イベントストリーム内で source:cloudsmith プロパティを指定して表示されます。Cloudsmith API に送信されるリクエスト数を減らすために、5 分ごとに収集されます。

イベントには 2 種類あります。

  • セキュリティスキャンイベント
  • 監査ログイベント

これらは集計キー @aggregation_key:audit_log@aggregation_key:vulnerabilities でアクセス可能です。

トラブルシューティング

ご不明な点は、Cloudsmith サポートまでお問い合わせください。

PREVIEWING: hannahkm/clarify-v2-docs