Supported OS Linux Mac OS Windows

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

概要

このチェックは Nextcloud を監視します。

セットアップ

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

インストール

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

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

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

設定

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

  2. Agent を再起動します

検証

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

収集データ

メトリクス

nextcloud.system.freespace
(gauge)
The amount of free space available.
Shown as byte
nextcloud.system.apps.num_installed
(gauge)
The number of apps installed.
nextcloud.system.apps.num_updates_available
(gauge)
nextcloud.storage.num_users
(gauge)
nextcloud.storage.num_files
(gauge)
nextcloud.storage.num_storages
(gauge)
nextcloud.storage.num_storages_local
(gauge)
nextcloud.storage.num_storages_home
(gauge)
nextcloud.storage.num_storages_other
(gauge)
nextcloud.shares.num_shares
(gauge)
nextcloud.shares.num_shares_user
(gauge)
nextcloud.shares.num_shares_groups
(gauge)
nextcloud.shares.num_shares_link_no_password
(gauge)
nextcloud.shares.num_fed_shares_sent
(gauge)
nextcloud.shares.num_fed_shares_received
(gauge)
nextcloud.server.php.memory_limit
(gauge)

Shown as byte
nextcloud.server.php.max_execution_time
(gauge)

Shown as second
nextcloud.server.php.upload_max_filesize
(gauge)

Shown as byte
nextcloud.server.database.size
(gauge)

Shown as byte
nextcloud.activeUsers.last5minutes
(gauge)
nextcloud.activeUsers.last1hour
(gauge)
nextcloud.activeUsers.last24hours
(gauge)

Optional metrics

The nextcloud.system.apps.* metrics are optional and enabled with the apps_stats configuration key. Beginning with Nextcloud 28, the monitoring endpoint no longer provides information about available app updates, as gathering the data always involves at least one external request to apps.nextcloud.com.

It is still possible to ask the monitoring endpoint to show new app updates by using the URL parameter skipApps=false. However, Nextcloud recommends to not check this endpoint too often.

イベント

Nextcloud には、イベントは含まれません。

サービスチェック

nextcloud.can_connect
Returns CRITICAL if the Agent can’t connect to the Nextcloud endpoint, OK otherwise
Statuses: ok, critical

トラブルシューティング

ご不明な点は、Datadog のサポートチームまでお問合せください。

PREVIEWING: jack.davenport/custom-resource-code-blocks