Hi,<div><br></div><div>No the host is not treated as in an error state. The ERROR message (includind its TIMESTAMP) is left in the host template for information purposes.</div><div><br></div><div>Once you have verified the issue you can freely remove the message doing </div>
<div><br></div><div>onehost update 1</div><div><br></div><div>Just remove the ERROR attribute in the editor.</div><div><br></div><div>Cheers</div><div><br></div><div>Ruben</div><div><br><div class="gmail_quote">On Thu, Aug 2, 2012 at 8:34 PM, Shantanu Pavgi <span dir="ltr"><<a href="mailto:pavgi@uab.edu" target="_blank">pavgi@uab.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
I am getting following monitoring error on one of the host as show below:<br>
<br>
{{{<br>
<br>
$ onehost show 1<br>
HOST 1 INFORMATION<br>
ID : 1<br>
NAME : kvm-04<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 : 1343923509<br>
<br>
HOST SHARES<br>
MAX MEM : 49409948<br>
USED MEM (REAL) : 9608032<br>
USED MEM (ALLOCATED) : 16777216<br>
MAX CPU : 2400<br>
USED CPU (REAL) : 4<br>
USED CPU (ALLOCATED) : 600<br>
MAX DISK : 0<br>
USED DISK (REAL) : 0<br>
USED DISK (ALLOCATED) : 0<br>
RUNNING VMS : 7<br>
<br>
MONITORING INFORMATION<br>
ARCH=x86_64<br>
CPUSPEED=2660<br>
ERROR=[<br>
MESSAGE="Error monitoring host 1 : MONITOR FAILURE 1 -<br>
",<br>
TIMESTAMP="Tue Jul 31 12:30:31 2012" ]<br>
FREECPU=2395.2<br>
FREEMEMORY=39801916<br>
HOSTNAME=<a href="http://kvm-04.uabgrid.uab.edu" target="_blank">kvm-04.uabgrid.uab.edu</a><br>
HYPERVISOR=kvm<br>
MODELNAME="Intel(R) Xeon(R) CPU X5650 @ 2.67GHz"<br>
NETRX=0<br>
NETTX=0<br>
TOTALCPU=2400<br>
TOTALMEMORY=49409948<br>
USEDCPU=4.80000000000018<br>
USEDMEMORY=9608032<br>
<br>
}}}<br>
<br>
OpenNebula had problems in monitoring this host on Jul 31'st. However, now it's able to monitor this host successfully as indicated in oned.log file below:<br>
<br>
{{{<br>
<br>
Thu Aug 2 11:04:39 2012 [InM][D]: Host 0 successfully monitored.<br>
Thu Aug 2 11:05:05 2012 [ReM][D]: HostPoolInfo method invoked<br>
Thu Aug 2 11:05:05 2012 [InM][I]: Monitoring host kvm-04 (1)<br>
Thu Aug 2 11:05:05 2012 [ReM][D]: VirtualMachinePoolInfo method invoked<br>
Thu Aug 2 11:05:05 2012 [ReM][D]: AclInfo method invoked<br>
Thu Aug 2 11:05:05 2012 [ReM][D]: HostInfo method invoked<br>
Thu Aug 2 11:05:09 2012 [InM][I]: ExitCode: 0<br>
Thu Aug 2 11:05:09 2012 [InM][D]: Host 1 successfully monitored.<br>
Thu Aug 2 11:05:35 2012 [ReM][D]: HostPoolInfo method invoked<br>
Thu Aug 2 11:05:35 2012 [ReM][D]: HostInfo method invoked<br>
Thu Aug 2 11:05:35 2012 [ReM][D]: VirtualMachinePoolInfo method invoked<br>
Thu Aug 2 11:05:35 2012 [ReM][D]: AclInfo method invoked<br>
Thu Aug 2 11:05:50 2012 [InM][I]: Monitoring host kvm-03 (0)<br>
Thu Aug 2 11:05:50 2012 [InM][I]: Monitoring host kvm-02 (3)<br>
Thu Aug 2 11:05:54 2012 [InM][I]: ExitCode: 0<br>
Thu Aug 2 11:05:54 2012 [InM][D]: Host 3 successfully monitored.<br>
Thu Aug 2 11:05:54 2012 [InM][I]: ExitCode: 0<br>
Thu Aug 2 11:05:54 2012 [InM][D]: Host 0 successfully monitored.<br>
<br>
}}}<br>
<br>
<br>
Although 'onehost show' command displays monitoring information, it also displays 'ERROR = Error monitoring host 1'. So is it an error message or informative message about last monitoring error? Is the host still being treated in error state? Any help?<br>
<br>
<br>
--<br>
Thanks,<br>
Shantanu<br>
<br>
<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>
</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>