[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] hobbitfetch / pulldata doesn't work



Hi Naudit,

i had the same issues with the Xymon client 4.2.0 for AIX 5.3. The msgcache
was exiting with an IOT/Abort trap when receiving messages. The following
patch to msgcache.c fixes this problem:

 230c230
 <                                       char idx[20];
 ---
 >                                       char idx[40];
 232c232
 <                                               STRBUFLEN(mwalk->msgbuf),
(long)(now - mwalk->tstamp));
 ---
 >
(int)STRBUFLEN(mwalk->msgbuf), (long)(now - mwalk->tstamp));
 529c529
 <                       int caddrsize;
 ---
 >                       socklen_t caddrsize;


Regards,
Cayo



2009/7/22 Naudit007 <mailinglist.benoit (at) gmail.com>

> Hello Ralph
> In this case, I use "hobbitfetch" mode e.g: The hobbit server grab itself
> the data instead of the client send the data to the server.
> (and not client which send your configuration).
>
> This mode appropriate for dmz which allow only incoming connexion from the
> Lan.
>
> Do you have other idea on my problem ??? Why I have any data on hobbit
> server ???
>
> Thanks by advance
>
> Regards
>
>
> This would be your problem, I think.  If this really is a client, it needs
>> to have the address of the hobbit/xymon server in BBDISP.  What you've got
>> is 'localhost' - you've told the client installation to talk to itself, not
>> to the server...
>>
>> Ralph Mitchell
>>
>>
>
>
> --
>
> <mailinglist.benoit - at - gmail!com>
>
>
>