Barra de espaço
Barra de espaço

This tutorial describes a detailed procedure demonstrating how to monitor IPMI devices using Zabbix.

YOUTUBE

In our channel you can view the video of this tutorial.



Configure IPMI on your remote server HP DL380 as shown in the previous article. (LINK)

Edit the APT configuration file and add the following lines to the end of the file.

# vi /etc/apt/sources.list

deb http://ppa.launchpad.net/vvk/openipmi/ubuntu precise main
deb-src http://ppa.launchpad.net/vvk/openipmi/ubuntu precise main


Run the following commands to configure apt-get.

# apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 5E3E08EF
# apt-get update

 

Note! These commands will address a bug in zabbix IPMI monitoring. (libopenipmi)

# apt-get remove  openipmi libopenipmi0
# apt-get clean
# apt-get install libsnmp-dev libpopt-dev libncurses5-dev libssl-dev
# apt-get install -t precise  libopenipmi0
# apt-get install openipmi



Edit the zabbix_server.conf file and insert the line below.

# vi /usr/local/etc/zabbix_server.conf

StartIPMIPollers=5


Restart the zabbix server.

# /etc/init.d/zabbix-server restart

 

Run the following command to get a list of IPMI sensors available on your machine. (HP DL380)

# ipmitool -I lanplus -H 192.168.3.3   -U administrator -P kamisama123@ sensor


Open your browser and go to Zabbix web interface. 

zabbix monitorar vmware 1


Click on the configuration menu, select the Hosts option and click on the Create Host button.

Add the IPMI device as shown below.

zabbix monitor ipmi devices 1

Click on the IPMI option and set the Authentication algorithm, the privilege level, username and password.

zabbix monitor ipmi devices 2


Edit the IPMI host and add an appplication named IPMI.

zabbix monitor ipmi devices 3


As an example, edit the IPMI host and add an item to monitor the temperature of a HP DL 380 server.

zabbix monitor ipmi devices 4
 

After a few minutes you can view results on the menu, monitoring > latest data.

zabbix monitor ipmi devices 5

 

 CONCLUSIOn

This tutorial presented the Zabbix configuration process to monitor an IPMI device.