collectd_exporter

A server that accepts collectd stats via HTTP POST and exports them via HTTP for Prometheus consumption

  • 所有者: prometheus/collectd_exporter
  • 平台:
  • 許可證: Apache License 2.0
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

Collectd Exporter Build Status

CircleCI
Docker Repository on Quay
Docker Pulls

An exporter for collectd. It accepts collectd's
binary network protocol
as sent by collectd's
network plugin and
metrics in JSON format via HTTP POST as sent by collectd's
write_http plugin,
and transforms and exposes them for consumption by Prometheus.

This exporter is useful for exporting metrics from existing collectd setups, as
well as for metrics which are not covered by the core Prometheus exporters such
as the Node Exporter.

Binary network protocol

collectd's network plugin uses a lightweight binary protocol to send metrics
from one instance to another. To consume these packets with
collectd_exporter, first configure collectd to send these metrics to the
appropriate address:

LoadPlugin network
<Plugin network>
  Server "prometheus.example.com" "25826"
</Plugin>

Then start collectd_exporter with --collectd.listen-address=":25826" to
start consuming and exporting these metrics.

JSON format

collectd's write_http plugin is able to send metrics via HTTP POST requests.
collectd_exporter serves an appropriate end-point which accepts, parses and
exports the metrics. First, configure collectd to send these metrics to the
HTTP end-point:

LoadPlugin write_http
<Plugin write_http>
  <Node "collectd_exporter">
    URL "http://localhost:9103/collectd-post"
    Format "JSON"
    StoreRates false
  </Node>
</Plugin>

To change the path of the end-point, use the --web.collectd-push-path command
line option. To disable this functionality altogether, use
--web.collectd-push-path="".

Using Docker

You can deploy this exporter using the prom/collectd-exporter Docker image.
You will need to map the collectd port from the container to the host, remembering
that this is a UDP port.

For example:

docker pull prom/collectd-exporter

docker run -d -p 9103:9103 -p 25826:25826/udp prom/collectd-exporter --collectd.listen-address=":25826"

主要指標

概覽
名稱與所有者prometheus/collectd_exporter
主編程語言Go
編程語言Makefile (語言數: 3)
平台
許可證Apache License 2.0
所有者活动
創建於2015-02-03 23:09:20
推送於2025-05-26 17:48:02
最后一次提交2025-05-18 18:11:21
發布數8
最新版本名稱v0.7.0 (發布於 2024-11-07 19:23:04)
第一版名稱0.1.0 (發布於 )
用户参与
星數265
關注者數21
派生數72
提交數199
已啟用問題?
問題數45
打開的問題數16
拉請求數95
打開的拉請求數3
關閉的拉請求數41
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?