Hi,<div><br></div><div>Could you please check the contents of /var/tmp/one/im/ at pcls? It seems that there are no probes there. If that's the case you can copy them by hand or use onehost sync and wait for a monitoring action on the host.</div>
<div><br></div><div>Cheers</div><div><br></div><div>Ruben<br><br><div class="gmail_quote">On Thu, Mar 8, 2012 at 4:25 PM, biro lehel <span dir="ltr"><<a href="mailto:lehel.biro@yahoo.com">lehel.biro@yahoo.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><table cellspacing="0" cellpadding="0" border="0"><tbody><tr><td valign="top" style="font:inherit"><div><table border="0" cellpadding="0" cellspacing="0">
<tbody><tr><td style="font:inherit;font-family:arial;font-size:10pt"><div><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font:inherit;font-family:arial;font-size:10pt">Hello,<br><br>I tried to add my one and only host, by executing on the front-end:<br>
<br>> onehost create pcls im_kvm vmm_kvm tm_shared dummy<br><br>Issuing the 'onehost list' command, the result seems to be the one expected. However, issuing 'onehost show pcls' command results in zero values and NO monitoring information:<br>
<br>oneadmin@linux-4dsu:~/remotes/im> onehost show pcls<br>HOST 6
INFORMATION <br>ID : 6 <br>NAME : pcls <br>STATE :
MONITORED <br>IM_MAD : im_kvm <br>VM_MAD : vmm_kvm <br>VN_MAD : dummy <br>TM_MAD : tm_shared <br>LAST MONITORING TIME : 1331219173 <br>
<br>HOST
SHARES <br>MAX MEM : 0 <br>USED MEM (REAL) : 0 <br>USED MEM (ALLOCATED) : 0 <br>
MAX
CPU : 0 <br>USED CPU (REAL) : 0 <br>USED CPU (ALLOCATED) : 0 <br>MAX DISK : 0 <br>USED DISK (REAL) : 0 <br>
USED DISK (ALLOCATED) :
0 <br>RUNNING VMS : 0 <br><br>MONITORING INFORMATION <br><br>(the report ends here, without monitoring information).<br><br>I had some errors before, oned.log having:<br><br>
Thu Mar 8 15:49:03 2012 [InM][I]: Command execution fail: 'if [ -x "/var/tmp/one/im/run_probes" ]; then /var/tmp/one/im/run_probes kvm 4 pcls; else exit 42; fi'<br>Thu Mar 8 15:49:03 2012 [InM][I]: ExitCode: 42<br>
Thu Mar 8 15:49:03 2012 [InM][E]: Error monitoring host 4 : MONITOR FAILURE 4 -<br><br>However, I
fixed this by simply adding execution permission to the run_probes file mentioned above (since, it didn't have one). At this moment, oned.log contains no errors (to be precise, it says,<br><br>Thu Mar 8 17:16:12 2012 [ReM][D]: HostPoolInfo method invoked<br>
Thu Mar 8 17:16:12 2012 [ReM][D]: VirtualMachinePoolInfo method invoked<br>Thu Mar 8 17:16:12 2012 [ReM][D]: AclInfo method invoked<br>Thu Mar 8 17:16:13 2012 [InM][I]: Monitoring host pcls (6)<br>Thu Mar 8 17:16:18 2012 [InM][I]: ExitCode: 0<br>
Thu Mar 8 17:16:18 2012 [InM][D]: Host 6 successfully monitored.<br>Thu Mar 8 17:16:19 2012 [ReM][D]: UserPoolInfo method invoked<br>Thu Mar 8 17:16:19 2012 [AuM][D]: Message received: LOG I 874 ExitCode: 0<br><br>).<br>
<br>Firing the respective command on the host ( /var/tmp/one/im/run_probes kvm 4 pcls ) also results in no output and no errors (it simply puts a space on a new line in the CLI).<br><br>I don't
think that this is the expected behavior and I think that there is a problem somewhere. What am I missing? Any suggestions?<br><br>Thanks,<br>Lehel.<br></td></tr></tbody></table></div></td></tr></tbody></table></div></td>
</tr></tbody></table><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><br clear="all"><div><br></div>-- <br>Ruben S. Montero, PhD<br>Project co-Lead and Chief Architect<br>OpenNebula - The Open Source Solution for Data Center Virtualization<br><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:rsmontero@opennebula.org" target="_blank">rsmontero@opennebula.org</a> | @OpenNebula<br>
</div>