ELK温度监控--lmsensorsbeat

一、lmsensorsbeat介绍

      该beat是用lm-sensors中提取数据,可以监控CPU /主板温度,风扇速度,电压等。

二、配置安装环境

     lmsensorsbeat是第三方beat,依赖GO,需要配置GO环境

yum  -y  install golang

yum  -y  install git

vim /etc/profile

export GOPATH=/root/go(填写GO包的目录)

source /etc/profile

三、安装lm_sensors及其依赖

yum   -y  install lm_sensors
yum
-y install lm_sensors-devel-3.1.1-17.el6.x86_64
sensors
-detect #默认配置,一路回车
sensors #启动lm_sensors

四、下载安装包

    地址:https://github.com/eskibars/lmsensorsbeat/

    下载后解压、

五、启动lmsensorsbeat

     nohup ./lmsensorsbeat -c lmsensorsbeat.yml -e -d '*'&

参考地址:

    https://www.elastic.co/guide/en/beats/libbeat/current/community-beats.html

猜你喜欢

转载自www.cnblogs.com/mliu/p/9584337.html
今日推荐