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

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



On Tue, Jul 21, 2009 at 9:50 AM, Naudit007 <mailinglist.benoit (at) gmail.com>wrote:

> Hi,
>
> Here is my problem : I have configured several hobbit clients located in
> DMZ, all works very well but any information are displayed on the Hobbit web
> interface.
> I have already two others servers in this configuration and they both work
> very well :
> http://www.hswn.dk/hobbiton/2008/02/msg00067.html
> but not this one : *strange*
>
>
> Check my all configuration :
>
> CLIENT SIDE :
>
> *Configure.client*
>
> This script asks a few questions and builds a Makefile to compile Xymon
> Checking your make-utility
> Xymon normally keeps all of the client configuration files
> on the Xymon server. If you prefer, it is possible to use
> a local client configuration file instead - if so, answer
> 'client' to the next question.
> NB: Local configuration requires the PCRE libs on each host.
> Server side client configuration, or client side [server] ?
> client
> Checking for the PCRE libraries
> Checking for PCRE ...
> Found PCRE include files in /usr/include
> Found PCRE libraries in /usr/lib
> Checking for Large File Support ...
> Large File Support OK
> What userid will be running Xymon [xymon] ?
> hobbit
> Found passwd entry for user hobbit:x:123675:1003::/home/hobbit:/bin/bash
> Where do you want the Xymon installation [/home/hobbit] ?
> /opt/hobbit-monitor
> WARNING: /opt/hobbit-monitor does not exist.
> What is the IP-address of your Xymon server [127.0.0.1] ?
> ** NOTE: Using 127.0.0.1 (loopback), but it is probably not what you want
> **
> Using Linux Makefile settings
>
> *clienlaunch.log  *
>
> [msgcache]
>         # DISABLE  <= OK
>         ENVFILE $HOBBITCLIENTHOME/etc/hobbitclient.cfg
>         CMD $HOBBITCLIENTHOME/bin/msgcache --no-daemon
> --pidfile=$HOBBITCLIENTHOME/logs/msgcache.pid
>         LOGFILE $HOBBITCLIENTHOME/logs/msgcache.log
> # The main client task
> [client]
>         ENVFILE $HOBBITCLIENTHOME/etc/hobbitclient.cfg
>         CMD $HOBBITCLIENTHOME/bin/hobbitclient.sh --local    <= OK
>         LOGFILE $HOBBITCLIENTHOME/logs/hobbitclient.log
>         INTERVAL 5m
>
> *hobbitclient.cfg
> *----
> BBDISP="127.0.0.1"             # IP address of the Hobbit server


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