<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
<br>I solved the problem patching <b>bbcombotest.c<br></b><br>in this part of code<br><br><pre><b>hobbitdresult = sendmessage("hobbitdboard fields=hostname,testname,color", NULL, BBTALK_TIMEOUT, sres);<br>                if ((hobbitdresult != BB_OK) || (board == NULL)) {<br>                        board = "";<br>                        *errptr += sprintf(*errptr, "Could not access hobbitd board, error %d\n", hobbitdresult);<br>                        return COL_CLEAR;<br>                }</b></pre><br><br><b>board</b> is always null<br><br>so I patched the code with the following one that eliminate board null check<br><br><pre><b>hobbitdresult = sendmessage("hobbitdboard fields=hostname,testname,color", NULL, BBTALK_TIMEOUT, sres);<br>                if ((hobbitdresult != BB_OK)) {<br>                        board = "";<br>                        *errptr += sprintf(*errptr, "Could not access hobbitd board, error %d\n", hobbitdresult);<br>                        return COL_CLEAR;<br>                }</b></pre><br>hope it helps<br><br>bye<br><br>Al1ta<br><br><hr id="stopSpelling">From: suam8 at hotmail.com<br>To: hobbit at hswn.dk<br>Subject: bbcombotest doesn't work on 64bit centos 5.3 xymon 4.3.0 beta2<br>Date: Thu, 3 Sep 2009 03:47:48 +0200<br><br>



<style>
.ExternalClass .EC_hmmessage P
{padding:0px;}
.ExternalClass body.EC_hmmessage
{font-size:10pt;font-family:Verdana;}
</style>


I can't able to use bbcombotest on xymon 4.3.0 beta2 running on a CentOS 5.3 64bit<br><br>whatever I put on <b>bbcombotest.cfg</b>, I get clear color and an error dumped on the web page that says:<br><br><pre><b>Errors occurred during evaluation:<br>Could not access hobbitd board, error 0</b><br><br>the color is 'clear' and the check dowsn't work<br><br>running by hand hobbitboard it seems to work, for example:<br><br><b>/opt/xymon/server/bin/bb 11.113.1.165 'hobbitdboard fields=hostname,testname,color'<br></b><br>works<br><br>it seems a problem on <b>bbcombotest.c</b> when it calls <b>sendmessage</b><br><br>the lines involved in the errors seems to be<br><br><b>hobbitdresult = sendmessage("hobbitdboard fields=hostname,testname,color", NULL, BBTALK_TIMEOUT, sres);<br>                if ((hobbitdresult != BB_OK) || (board == NULL)) {<br>                        board = "";<br>                        *errptr += sprintf(*errptr, "Could not access hobbitd board, error %d\n", hobbitdresult);<br>                        return COL_CLEAR;<br>                }</b><br><br><br><br><br></pre><br><br><hr>With Windows Live, you can organize, edit, and  <a href="http://www.microsoft.com/middleeast/windows/windowslive/products/photo-gallery-edit.aspx">share your photos.</a><br /><hr />What can you do with the new Windows Live? <a href='http://www.microsoft.com/windows/windowslive/default.aspx' target='_new'>Find out</a></body>
</html>