<div dir="ltr">Hi,<div><br></div><div class="gmail_extra"><div class="gmail_quote">On Mon, Nov 17, 2014 at 4:41 PM, Dmitri Chebotarov <span dir="ltr"><<a href="mailto:dchebota@gmu.edu" target="_blank">dchebota@gmu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi,<br>
<br>
Does oned.conf support multiple HOST_HOOK definitions?<br>
If it does, are hooks executed in the same order as listed in the oned.conf file?<br>
Or do I need to modify ft/host_error.rb to include desired functionality?<br>
<br>
I would like to add one more HOST_HOOK to reset power on HOST ERROR event, in addition to already defined ft/host_error.rb.<br>
<br>
I'm running 4.8.0.<br><br></blockquote><div><br></div><div><div class="gmail_signature"><div dir="ltr">You can define several hooks, and they will be executed in the same order they are defined in oned.conf.</div><div dir="ltr">But, if I recall correctly, the hooks are launched asynchronously. If you need to wait for the first hook to finish before launching the second one, you can create a small wrapper script and launch both from there.</div><div dir="ltr"><br></div><div dir="ltr">Regards<br class="">--<br><div>Carlos Martín, MSc<br>Project Engineer</div><div>OpenNebula - Flexible Enterprise Cloud Made Simple<br><div><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="http://www.opennebula.org/" target="_blank">www.OpenNebula.org</a> | <a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a> | <a href="http://twitter.com/opennebula" target="_blank">@OpenNebula</a></span><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="mailto:cmartin@opennebula.org" target="_blank" style="color:rgb(42,93,176)"></a></span></div></div></div></div></div><div> </div></div><br></div></div>