N
N
Nikolay Baranenko2017-10-03 05:57:24
Monitoring
Nikolay Baranenko, 2017-10-03 05:57:24

What is the best way to implement Integrated Lights Out Manager (ILOM) monitoring: ipmi_ctx_open_outofband_2_0: internal error?

Hello.
There was a desire to set up data collection with the Integrated Lights Out Manager (ILOM) in Zabbix.
Found an article Monitoring HP servers via iLO in Zabbix
I have
Linux zabbixapp01 4.1.12-103.3.8.el7uek.x86_64 #2 SMP Mon Aug 21 17:27:54 PDT 2017 x86_64 x86_64 x86_64 GNU/Linux
when trying to execute

./configure --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --mandir=/usr/share/man --libdir=/usr/lib64

I get an error
statedir=/var --mandir=/usr/share/man --libdir=/usr/lib64
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
/home/zabbix/freeipmi-1.5.7/config/missing: Unknown `--is-lightweight' option
Try `/home/zabbix/freeipmi-1.5.7/config/missing --help' for more information
configure: WARNING: 'missing' script is too old or missing
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '0' is supported by ustar format... yes
checking whether GID '0' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/home/zabbix/freeipmi-1.5.7':
configure: error: no acceptable C compiler found in $PATH

installed package
yum install gcc
next stumbling on this
checking for gcry_md_open in -lgcrypt... no
configure: error: libgcrypt required to build libfreeipmi

had to be solved by disabling --without-encryption
./configure --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --mandir=/usr/share/man --libdir=/usr/lib64 --without-encryption

then executed
make install
completed without errors
/bin/install -c -m 644 pet/README pet/check_rmcpping pet/ipminodes.cfg pet/petalert.pl '/usr/share/doc/freeipmi/contrib/pet'
make[2]: Leaving directory `/home/zabbix/freeipmi-1.5.7/contrib'
make[1]: Leaving directory `/home/zabbix/freeipmi-1.5.7/contrib'
make[1]: Entering directory `/home/zabbix/freeipmi-1.5.7'
make[2]: Entering directory `/home/zabbix/freeipmi-1.5.7'
make[2]: Nothing to be done for `install-exec-am'.
 /bin/mkdir -p '/usr/share/doc/freeipmi'
 /bin/install -c -m 644 ChangeLog ChangeLog.0 AUTHORS COPYING INSTALL NEWS README README.argp README.build README.openipmi TODO COPYING.bmc-watchdog COPYING.ipmipower COPYING.ipmiping COPYING.ipmiconsole COPYING.ipmimonitoring COPYING.pstdout COPYING.ipmidetect COPYING.ipmi-fru COPYING.ipmi-dcmi COPYING.ipmiseld COPYING.sunbmc COPYING.ZRESEARCH DISCLAIMER.bmc-watchdog DISCLAIMER.ipmipower DISCLAIMER.ipmiping DISCLAIMER.ipmiconsole DISCLAIMER.ipmimonitoring DISCLAIMER.pstdout DISCLAIMER.ipmidetect DISCLAIMER.ipmi-fru DISCLAIMER.ipmi-dcmi DISCLAIMER.ipmiseld DISCLAIMER.bmc-watchdog.UC DISCLAIMER.ipmipower.UC DISCLAIMER.ipmiping.UC DISCLAIMER.ipmiconsole.UC DISCLAIMER.ipmimonitoring.UC DISCLAIMER.pstdout.UC DISCLAIMER.ipmidetect.UC '/usr/share/doc/freeipmi'
 /bin/install -c -m 644 DISCLAIMER.ipmi-fru.UC '/usr/share/doc/freeipmi'
make[2]: Leaving directory `/home/zabbix/freeipmi-1.5.7'
make[1]: Leaving directory `/home/zabbix/freeipmi-1.5.7'

I try to execute a test request to ILOM
/usr/sbin/ipmi-sensors -D LAN2_0 -h 192.168.0.21 -u username -p user_password -l USER -W discretereading --no-header-output --quiet-cache --sdr- cache-recreate --comma-separated-output --entity-sensor-names
I get an error
ipmi_ctx_open_outofband_2_0: internal error
How to solve this problem and what are the best options besides monitoring via SNMP?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nikolay Baranenko, 2017-10-04
@drno-reg

Configuring data collection by IPMI
Install IPMI
check
in the zabbix server config, enable the collection of IPMI polling
, activate this parameter
StartIPMIPollers=3
Create your own IPMI template for the ILO HP
example . There are groups of data elements in it: Temperature, Voltage, etc. and beyond Data Elements Example Power Example

•	Имя - PS0/P_IN
•	Тип - IPMI агент
•	Ключ - PS0_P_IN
•	IPMI датчик - PS0/P_IN

details are here

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question