collect部署
1、安装
yum install collectd -y
2、配置/etc/collectd.conf
LoadPlugin network
<Plugin network>
Server "10.10.83.229" "25826"
</Plugin>
3、启动服务
/etc/init.d/collectd restart
InfluxDB配置
1、修改文件/etc/influxdb/influxdb.conf
[[collectd]]
enabled = true
bind-address = ":25826"
database = "collectd"
typesdb = "/usr/share/collectd/types.db"
2、重启服务
/etc/init.d/influxdb restart
3、查看服务端口
netstat -nutlp
grafana配置
1、配置influxdb数据库
2、配置自定义Dashboards