При обновлении с CentOS 6.3 на CentOS 6.4 на серверах HP proliant вылезла вот такая ошибка :
Поиск в интернете привел к :
https://rhn.redhat.com/errata/RHBA-2013-0492.html и https://www.redhat.com/archives/rhelv6-list/2013-February/msg00033.html
Оказываеться модуль ipmi_si статически втащили в ядро и теперь все утилиты от HP его не находят. Непонятно когда теперь они перепишут эти утилиты, а пока можно воспользоваться временным решением из мира opensource.
1. Ставим демон ipmi: su -c 'yum install OpenIPMI -y'
2. Запускаем его: su -c 'service ipmi start'
3. Ставим утилиту управления : su -c 'yum install freeipmi -y'
( Вместо freeipmi можно использовать ipmitools, но для модуля к nagios нам нужен именно freeipmi )
4. Скачиваем и устанавливаем модуль к nagios :
http://exchange.nagios.org/directory/Plugins/Hardware/Server-Hardware/IPMI-Sensor-Monitoring-Plugin/details
5. Для его работы понадбиться установить : su -c 'yum install perl-IPC-Run' c EPEL.
6. Строка запуска ( для локальной системы пароль не важен значения ):
./check_ipmi_sensor -H localhost -T Fan -v или ./check_ipmi_sensor -H localhost
P.S. Информация от freeipmi скудная, но сойдет как временное явление, пока HP не обновит свою утилиту.
# service hp-health status
Using Proliant Standard
IPMI based 1XX System Health Monitor
FATAL: Module ipmi_si not found.
ERROR: There is NO IPMI support available on this system!
Please install the hp-OpenIPMI package or enable IPMI support
for this distribution. Aborting hp-health initialization process!
Поиск в интернете привел к :
https://rhn.redhat.com/errata/RHBA-2013-0492.html и https://www.redhat.com/archives/rhelv6-list/2013-February/msg00033.html
Оказываеться модуль ipmi_si статически втащили в ядро и теперь все утилиты от HP его не находят. Непонятно когда теперь они перепишут эти утилиты, а пока можно воспользоваться временным решением из мира opensource.
1. Ставим демон ipmi: su -c 'yum install OpenIPMI -y'
2. Запускаем его: su -c 'service ipmi start'
3. Ставим утилиту управления : su -c 'yum install freeipmi -y'
( Вместо freeipmi можно использовать ipmitools, но для модуля к nagios нам нужен именно freeipmi )
4. Скачиваем и устанавливаем модуль к nagios :
http://exchange.nagios.org/directory/Plugins/Hardware/Server-Hardware/IPMI-Sensor-Monitoring-Plugin/details
5. Для его работы понадбиться установить : su -c 'yum install perl-IPC-Run' c EPEL.
6. Строка запуска ( для локальной системы пароль не важен значения ):
./check_ipmi_sensor -H localhost -T Fan -v или ./check_ipmi_sensor -H localhost
P.S. Информация от freeipmi скудная, но сойдет как временное явление, пока HP не обновит свою утилиту.
Комментарии
Add one line "return 0" as first row of SetupIPMI() procedure as follows:
SetupIPMI() {
return 0
Explanation: ipmi feature in Centos 6.4 is no longer as module but compiled into the kernel, so there is no need to setup IPMI in hp-health init script.
bb
I did this:
*** hp-health.old 2013-04-02 09:19:09.815561486 +0400
--- hp-health 2013-04-02 09:18:40.950541544 +0400
***************
*** 546,551 ****
--- 546,557 ----
SetupIPMI() {
+ ## change for RHEL version 6.4
+ if [ "$(cat /etc/redhat-release | cut -d ' ' -f3)" = "6.4" ]; then
+ ## IPMI is include in kernel, no setup needed
+ return 0
+ fi
+
## NOTE: This test must be first in this function
## - see comments in guess_dev_file()
## same circumtances apply for this function
P.S. in systemd can you? ;)