<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Jan 3, 2017, at 6:37 AM, TranceWorldLogic . &lt;<a href="mailto:tranceworldlogic@gmail.com" class="">tranceworldlogic@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class=""><div class=""><div class=""><div class="">Hi,<br class=""><br class=""></div>It look interesting.<br class=""></div>Would you please point me some document that cover in detail ?<br class=""><br class=""></div><div class="">I was looking for mechanism where I can monitor guest application.<br class=""></div><div class="">If application get failed or crash then I need to restart or start other VM.<br class=""></div><div class="">Is it possible in ovirt ? <br class=""></div></div></div></div></blockquote><div><br class=""></div><div>No, there is nothing like this in oVirt, you would have to use something like zabbix and then connect it with the oVirt SDK</div><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class=""><div class="">I though I will use hook but as you explain it clear me that my understand was wrong.</div></div></div></div></blockquote><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class=""><div class="">Thanks for your help.<br class=""></div><div class=""><br class=""></div>Thanks,<br class=""></div>~Rohit<br class=""><div class=""><div class=""><div class=""><br class=""></div></div></div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Mon, Jan 2, 2017 at 1:04 PM, Vinzenz Feenstra <span dir="ltr" class="">&lt;<a href="mailto:vfeenstr@redhat.com" target="_blank" class="">vfeenstr@redhat.com</a>&gt;</span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br class="">
&gt; On Dec 30, 2016, at 11:03 AM, TranceWorldLogic . &lt;<a href="mailto:tranceworldlogic@gmail.com" class="">tranceworldlogic@gmail.com</a>&gt; wrote:<br class="">
&gt;<br class="">
&gt; HI,<br class="">
<br class="">
Hi there,<br class="">
<span class=""><br class="">
&gt;<br class="">
&gt; I was exploring more about ovirt-gueste-engin.<br class="">
&gt; It look to me very easy to configure add add hook as script.<br class="">
&gt;<br class="">
&gt; But my doubt is, how to invoke those script from ovirt-engine ?<br class="">
&gt; Please some one help me to understand this part.<br class="">
&gt; I am looking into python SDK code to figure out same but still not got luck<br class="">
<br class="">
</span>Guest agent hooks aren’t triggered through the SDK, hooks are triggered when certain events happen on the hypervisor side.<br class="">
e.g. A VM gets migrated from HOST A to HOST B or the VM gets suspended. In these cases VDSM _can_ send a message to the guest<br class="">
agent asking it to process all hooks.<br class="">
<br class="">
That those hooks are enabled are depending on the migration policy configured. Currently all but the ‘Legacy’&nbsp; migration policies do cause the hooks to be executed, given a new enough guest agent, VDSM and cluster version.<br class="">
HTH<br class="">
<br class="">
<br class="">
&gt;<br class="">
&gt; Thanks,<br class="">
&gt; ~Rohit<br class="">
&gt; ______________________________<wbr class="">_________________<br class="">
&gt; Users mailing list<br class="">
&gt; <a href="mailto:Users@ovirt.org" class="">Users@ovirt.org</a><br class="">
&gt; <a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank" class="">http://lists.ovirt.org/<wbr class="">mailman/listinfo/users</a><br class="">
<br class="">
</blockquote></div><br class=""></div>
</div></blockquote></div><br class=""></body></html>