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.
Click on the configuration menu, select the Hosts option and click on the Create Host button.
Add the IPMI device as shown below.
Click on the IPMI option and set the Authentication algorithm, the privilege level, username and password.
Edit the IPMI host and add an appplication named IPMI.
As an example, edit the IPMI host and add an item to monitor the temperature of a HP DL 380 server.
After a few minutes you can view results on the menu, monitoring > latest data.
CONCLUSIOn
This tutorial presented the Zabbix configuration process to monitor an IPMI device.