drno-reg
@drno-reg
см не кратко

Как лучше реализовать мониторинг Integrated Lights Out Manager (ILOM): ipmi_ctx_open_outofband_2_0: internal error?

Здравствуйте.

Возникло желание настроить сбор данных с Integrated Lights Out Manager (ILOM) в Zabbix.

Нашел статью Мониторинг серверов HP через iLO в Zabbix

у меня
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

при попытке выполнить

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


получаю ошибку

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


установил пакет

yum install gcc

далее спотыкаюсь на этом

checking for gcry_md_open in -lgcrypt... no
configure: error: libgcrypt required to build libfreeipmi


пришлось решать отключением --without-encryption

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


далее выполнил

make install

завершилось без ошибок

/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'


пробую выполнить тестовый запрос к ILOM

/usr/sbin/ipmi-sensors -D LAN2_0 -h 192.168.0.21 -u имя_пользователя -p пароль_пользователя -l USER -W discretereading --no-header-output --quiet-cache --sdr-cache-recreate --comma-separated-output --entity-sensor-names

получаю ошибку

ipmi_ctx_open_outofband_2_0: internal error

Как решить эту проблему и какие варианты есть лучше, кроме мониторинга еще через SNMP?
  • Вопрос задан
  • 940 просмотров
Решения вопроса 1
drno-reg
@drno-reg Автор вопроса
см не кратко
Настройка сбора данных по IPMI
Устанавливаем IPMI
yum install OpenIPMI OpenIPMI-tools
проверяем
ipmitool sensor -H 192.168.0.51 -I lanplus -U username -P password -L ADMINISTRATOR

в конфиге zabbix сервера включаем сбор IPMI поллинга
nano /etc/zabbix/zabbix_server.conf
активируем этот параметр
StartIPMIPollers=3
Создаем свой шаблон для IPMI
для примера
ILO HP
В нем группы элементов данных: Temperature, Voltage и т.д.
и далее Элементы данных пример
пример по Мощности
•	Имя - PS0/P_IN
•	Тип - IPMI агент
•	Ключ - PS0_P_IN
•	IPMI датчик - PS0/P_IN


подробности есть и здесь
Ответ написан
Комментировать
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы