zabbix 监控ipmi

一,配置ipmi

  

 yum -y install OpenIPMI OpenIPMI-devel ipmitool freeipmi

  登入IDARAC

  

  在服务端测试是否可以获得数据

    ipmitool -I lanplus -H (ip) -U root -P (password) -L USER sdr
    #打印传感器仓库中的任何监控项和从传感器读取到的值

    ipmitool -I lanplus -H (ip) -U root -P (password) -L USER sensor
    #打印传感器信息。

  

  配置zabbix

  注:为了支持IPMI,需要在zabbix server/proxy安装时增加--with-openipmi参数

  服务器端配置zabbix IPMI pollers
  zabbix_server.conf/zabbix_proxy.conf

    sed -i '/# StartIPMIPollers=0/aStartIPMIPollers=5' zabbix_server.conf
   systemctl restart zabbix-server

   模板 导入:  https://share.zabbix.com/cat-server-hardware/template-ipmi-dell-poweredge-r510

ipmitool -I lan -H 10.103.1.100 -U root -P calvin -L user sensor list # ipmitool -I lan -H 10.103.1.100 -U root -P calvin -L user sensor get "FAN MOD 1B RPM"


作者:ygqygq2
链接:https://www.jianshu.com/p/819d5fea1cfa
來源:简书
简书著作权归作者所有,任何形式的转载都请联系作者获得授权并注明出处。
ipmitool -I lan -H 10.103.1.100 -U root -P calvin -L user sensor list # ipmitool -I lan -H 10.103.1.100 -U root -P calvin -L user sensor get "FAN MOD 1B RPM"


作者:ygqygq2
链接:https://www.jianshu.com/p/819d5fea1cfa
來源:简书
简书著作权归作者所有,任何形式的转载都请联系作者获得授权并注明出处。
posted on 2018-10-23 18:39  kingle-l  阅读(1589)  评论(0编辑  收藏  举报

levels of contents