Ad Widget

Collapse

IPMI remote command

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • yoyo
    Junior Member
    • Aug 2011
    • 1

    #1

    IPMI remote command

    Hi,

    I want to power on/off by using IPMI remote command.
    but I can't do it now.
    It looks success on web UI, but actually target iLo server doesn't power on.

    I checked this issue by using the following two servers,and I got same result.
    1st
    OS:CentOS 5.6
    Zabbix Version:1.8.5 (install by using yum)

    2nd
    OS: Ubuntu10.4
    Zabbix Version:1.8.5 (install from source)

    the following command can be done on these two servers.
    /usr/bin/ipmitool -I lanplus -H <ipaddress> -U <username> -P <password> power off

    host settings on zabbix:
    Name : Test
    IP address : 192.168.1.2
    coneect to : IP address
    monitored by proxy : no
    use IPMI : checked
    IPMI address : 192.168.1.3
    IPMI port : 623
    Auth : RMCP+
    Privilege : Admin
    Username :****
    Passwd :****

    and I create action like below.
    Action conditions: Trigger = "Server{HOSTNAME} is unreachable"
    Operation type: Remote command
    Remote command : {HOST}:IPMI power on

    Then,I checked the zabbix_server.log with debug level 4.
    IPMI command doesn't read IPMI IP address which I set,
    when I check zabbix_server.log.

    I got the following log:
    26609:200110810:155055.209 In parse_ipmi_command(IPMI power on)
    26609:200110810:155055.209 In set_ipmi_control_value(control: power, value:1)
    26609:200110810:155055.209 In init_ipmi_host() host:'[192.168.1.2]:623'
    26609:200110810:155055.209 In get_ipmi_host() host:'[192.168.1.2]:623'
    26609:200110810:155055.209 End of get_ipmi_host():0x12637a00

    In Addition,I have already succeeded in getting some values by using IPMI agent as an Item.
    I could monitor some value like system temparatre by useing IPMI agent.
    IPMI agent looks like reading IPMI address which I set.
    IPMI agent 's log:
    26611:200110810:154055.290 In init_ipmi_host() host:'[192.168.1.3]:623'
    26611:200110810:154055.290 In get_ipmi_host() host:'[192.168.1.3]:623'
    26611:200110810:154055.290 End of get_ipmi_host():0x12637950

    so I believe my host setting on zabbix might be fine.
    but I have no idea how to solve this issue.
    Is there someone who has the same issue?
    I am greatly appreciated if someone give me any suggestion.

    Thank you.
Working...