<br><br><div class="gmail_quote">On Thu, Oct 6, 2011 at 1:09 PM, Alexandru - Florian Antonescu <span dir="ltr"><<a href="mailto:florinantonescu@gmail.com">florinantonescu@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Hello,<div><br></div><div>I have recently installed OpenNebula 3.0 (from source) and noticed that the added hosts are not being monitored, they just remain in INIT state. In var/oned.log I see entries like these:</div><div>



<div>Thu Oct  6 08:01:51 2011 [InM][I]: Monitoring host zrhs69 (2)</div><div>Thu Oct  6 08:01:51 2011 [InM][I]: Monitoring host zrhs6a (3)</div><div>Thu Oct  6 08:02:06 2011 [ReM][D]: HostPoolInfo method invoked</div></div>



<div>oneadmin user is able to ssh into the hosts without a password.</div><div><br></div><div>After looking in etc/im_kvm folder I saw that it is empty. Is this normal? How are hosts being monitored in OpenNebula 3.0 ?</div>



<div><br></div><div>Can anyone give me a hint on how to proceed?</div><div><br></div><div>Best regards,</div><div>Florian</div><font color="#888888"><div><br></div>
</font><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br></blockquote></div><br>Hello Florian,<div><br></div><div> In /etc/one/oned.conf at the "  KVM Information Driver Manager Configuration " section:</div><div><div>IM_MAD = [</div><div>      name       = "im_kvm",</div>

<div>      executable = "one_im_ssh",</div><div>      arguments  = "-r 0 -t 15 kvm" ]</div></div><div><br></div><div>The executable one_im_ssh is located in /usr/lib/one/mads or $ONE_LOCATION/lib/mads, depends if you installed OpenNebula self contained on in root (/). </div>

<div>The one_im_ssh script sets $MAD_LOCATION and executes $MAD_LOCATION/one_im_exec $*. Maybe you can find out what happens following the logic found in those scripts.</div><div><br></div><div>The monitoring part works for me. I have ONE3.0 on Debian Squeeze (6.0.2) as frontend. The nodes are also Debian 6.0.2 with qemu-kvm 0.12.5 and libvirt 0.8.3-5.</div>

<div><br></div><div>Have a great day,</div><div>v</div><div><br clear="all"><div><br></div>-- <br>network warrior<br>
</div>