官网:https://collectd.org/download.shtml
./configure --prefix=/usr/local/collectd;make && make install
目录:bin etc include lib sbin share var
配置:etc/collectd.conf
./sbin/collectd # 启动
logstash:192.168.1.100
input {
udp {
port => 25826
codec => collectd{}
type => "collectd"
}
}
output {
stdout {
codec => rubydebug
}
}