- 重要な情報
- はじめに
- 用語集
- ガイド
- エージェント
- インテグレーション
- OpenTelemetry
- 開発者
- API
- CoScreen
- アプリ内
- Service Management
- インフラストラクチャー
- アプリケーションパフォーマンス
- 継続的インテグレーション
- ログ管理
- セキュリティ
- UX モニタリング
- 管理
Supported OS
Agent の lighttpd チェックは、アップタイム、処理バイト数、毎秒のリクエスト数、応答コードなどを追跡します。
Lighttpd チェックは Datadog Agent パッケージに含まれています。Lighttpd サーバーに追加でインストールする必要はありません。
加えて、Lighttpd サーバーに mod_status
をインストールします。
ホストで実行中の Agent に対してこのチェックを構成するには:
Agent のコンフィギュレーションディレクトリのルートにある conf.d/
フォルダーの lighttpd.d/conf.yaml
ファイルを編集します。使用可能なすべてのコンフィギュレーションオプションについては、サンプル lighttpd.d/conf.yaml を参照してください。
init_config:
instances:
## @param lighttpd_status_url - string - required
## Status url of your Lighttpd server.
#
- lighttpd_status_url: http://localhost/server-status?auto
コンテナ環境の場合は、オートディスカバリーのインテグレーションテンプレートのガイドを参照して、次のパラメーターを適用してください。
パラメーター | 値 |
---|---|
<インテグレーション名> | lighttpd |
<初期コンフィギュレーション> | 空白または {} |
<インスタンスコンフィギュレーション> | {"lighttpd_status_url": "http://%%host%%/server-status?auto"} |
Datadog Agent で、ログの収集はデフォルトで無効になっています。以下のように、datadog.yaml
でこれを有効にする必要があります。
logs_enabled: true
lighttpd ログの収集を開始するには、次のコンフィギュレーションブロックを lighttpd.d/conf.yaml
ファイルに追加します。
logs:
- type: file
path: /path/to/my/directory/file.log
source: lighttpd
path
のパラメーター値を変更し、環境に合わせて構成してください。
使用可能なすべてのコンフィギュレーションオプションについては、サンプル lighttpd.d/conf.yaml を参照してください。
Agent の status
サブコマンドを実行し、Checks セクションで lighttpd
を探します。
lighttpd.net.bytes (gauge) | [Lighttpd 1 only] The number of bytes sent and received since start. Shown as byte |
lighttpd.net.hits (gauge) | [Lighttpd 1 only] The number of hits since start. Shown as hit |
lighttpd.net.bytes_per_s (gauge) | [Lighttpd 1 only] The number of bytes sent and received per second. Shown as byte |
lighttpd.net.request_per_s (gauge) | [Lighttpd 1 only] The number of requests per second. Shown as request |
lighttpd.performance.idle_server (gauge) | [Lighttpd 1 only] The number of idle connections. Shown as connection |
lighttpd.performance.busy_servers (gauge) | [Lighttpd 1 only] The number of active connections. Shown as connection |
lighttpd.performance.uptime (gauge) | [Lighttpd 1 only] The amount of time the server has been up and running. Shown as second |
lighttpd.connections.state_start (gauge) | [Lighttpd 2 only] The number of active connections in the state of initializing the read-idle timer. Shown as connection |
lighttpd.connections.state_read_header (gauge) | [Lighttpd 2 only] The number of active connections in the state of reading the http request header. Shown as connection |
lighttpd.connections.state_handle_request (gauge) | [Lighttpd 2 only] The number of active connections in the state of handling the request internally. Shown as connection |
lighttpd.connections.state_write_response (gauge) | [Lighttpd 2 only] The number of active connections in the state of writing the response to the network. Shown as connection |
lighttpd.connections.state_keep_alive (gauge) | [Lighttpd 2 only] The number of idle connections. Shown as connection |
lighttpd.net.bytes_out_avg (gauge) | [Lighttpd 2 only] The average number of bytes sent per second since start. Shown as byte |
lighttpd.net.bytes_in_avg (gauge) | [Lighttpd 2 only] The average number of bytes received per second since start. Shown as byte |
lighttpd.net.bytes_in_avg_5sec (gauge) | [Lighttpd 2 only] The average number of bytes received per second in the past 5 seconds. Shown as byte |
lighttpd.net.bytes_out_avg_5sec (gauge) | [Lighttpd 2 only] The average number of bytes sent per second in the past 5 seconds. Shown as byte |
lighttpd.net.bytes_out (rate) | [Lighttpd 2 only] The number of bytes sent per second. Shown as byte |
lighttpd.net.bytes_in (rate) | [Lighttpd 2 only] The number of bytes received per second. Shown as byte |
lighttpd.net.connections_avg (gauge) | [Lighttpd 2 only] The average number of connections per second since start. Shown as connection |
lighttpd.net.connections_avg_5sec (gauge) | [Lighttpd 2 only] The average number of connections per second in the past 5 seconds. Shown as connection |
lighttpd.net.requests_avg_5sec (gauge) | [Lighttpd 2 only] The average number of requests per second in the past 5 seconds. Shown as request |
lighttpd.net.requests_avg (gauge) | [Lighttpd 2 only] The average number of requests per second since start. Shown as request |
lighttpd.net.requests_total (rate) | [Lighttpd 2 only] The number of requests per second. Shown as request |
lighttpd.net.connections_total (rate) | [Lighttpd 2 only] The total number of connections per second. Shown as connection |
lighttpd.performance.memory_usage (gauge) | [Lighttpd 2 only] The amount of memory used by the server. Shown as byte |
lighttpd.response.status_1xx (rate) | [Lighttpd 2 only] The number of 1xx status codes generated per second. Shown as response |
lighttpd.response.status_2xx (rate) | [Lighttpd 2 only] The number of 2xx status codes generated per second. Shown as response |
lighttpd.response.status_3xx (rate) | [Lighttpd 2 only] The number of 3xx status codes generated per second. Shown as response |
lighttpd.response.status_4xx (rate) | [Lighttpd 2 only] The number of 4xx status codes generated per second. Shown as response |
lighttpd.response.status_5xx (rate) | [Lighttpd 2 only] The number of 5xx status codes generated per second. Shown as response |
Lighttpd チェックには、イベントは含まれません。
lighthttpd.can_connect
Agent が監視対象の Lighttpd インスタンスに接続できず、メトリクスを収集できない場合は、CRITICAL
を返します。それ以外の場合は、OK
を返します。
Statuses: ok, クリティカル
ご不明な点は、Datadog のサポートチームまでお問合せください。