Hi, all
I encountered an error when to experience one3.8's hook function.
I have a host which id is 3,and the configuration in oned.conf file is :
HOST_HOOK = [
name = "error",
on = "ERROR",
command = "ft/host_error.rb",
arguments = "$ID -r f",
remote = "no" ]
But when my host monitore error ,the hook execute failure, log is:
Thu Dec 6 16:44:13 2012 [InM][E]: Error monitoring host 3 : MONITOR FAILURE 3
Could not update remotes
Thu Dec 6 16:44:13 2012 [ReM][D]: Req:8352 UID:0 HostPoolInfo result SUCCESS,
"<HOST_POOL><HOST><ID..."
Thu Dec 6 16:44:13 2012 [HKM][D]: Message received: LOG I 3 Command execution
fail: /opt/nebula/ONE/var/remotes//hooks/ft/host_error.rb 3 -r f
Thu Dec 6 16:44:13 2012 [HKM][D]: Message received: LOG I 3 ExitCode: 255
Thu Dec 6 16:44:13 2012 [HKM][D]: Message received: EXECUTE FAILURE 3 error: -There are no error when i use one3.6, so i doubt that if one3.8's host_error.rb have error? 张光鹏 tel: 13718913184 mail: [email protected] 移动互联网事业部 东软集团股份有限公司 http://www.neusoft.com
<<image/jpeg>>
host_error.rb
Description: Binary data
--------------------------------------------------------------------------------------------------- Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) is intended only for the use of the intended recipient and may be confidential and/or privileged of Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying is strictly prohibited, and may be unlawful.If you have received this communication in error,please immediately notify the sender by return e-mail, and delete the original message and all copies from your system. Thank you. ---------------------------------------------------------------------------------------------------
_______________________________________________ Users mailing list [email protected] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
