hobbitfetch / pulldata doesn't work
Naudit007
mailinglist.benoit at gmail.com
Tue Jul 21 16:50:03 CEST 2009
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
BBDISPLAYS="" # IP of multiple Hobbit servers. BBDISP must
be "0.0.0.0".
CONFIGCLASS="$BBOSTYPE" # Default configuration class for logfiles
PATH="/bin:/usr/bin:/sbin:/usr/sbin:/etc" # PATH setting for the client
scripts.
# You normally dont need to modify anything below here
BBPORT="1984"
------
*logs/msgcache.log*
2009-07-21 15:49:54 Hobbit msgcache version 4.2.3 starting
2009-07-21 15:49:54 Listening on 0.0.0.0:1984
2009-07-21 16:04:57 Caught TERM signal, terminating
2009-07-21 16:04:57 Hobbit msgcache version 4.2.3 starting
2009-07-21 16:04:57 Listening on 0.0.0.0:1984
*logs/hobbitclient.log*
2009-07-21 15:55:00 Failed to get a message, terminating
2009-07-21 16:00:01 Failed to get a message, terminating
2009-07-21 16:05:03 Failed to get a message, terminating
*clientlaunch.log*
2009-07-21 15:19:42 hobbitlaunch starting
2009-07-21 15:19:42 Loading tasklist configuration from
/opt/hobbit-monitor/client/etc/clientlaunch.cfg
2009-07-21 15:49:41 hobbitlaunch starting
*msg.hostname.txt* is full and OK
and packet are ok :
# tcpdump port 1984
16:14:19.767068 IP 1.1.1.254.54498 > hostname.domain.local .1984: S
1113231955:1113231955(0) win 5840 <mss 1460,sackOK,timestamp 89476132
0,nop,wscale 7>
16:14:19.767274 IP hostname.domain.local .1984 > 1.1.1.254.54498: S
112300566:112300566(0) ack 1113231956 win 5792 <mss 1460,sackOK,timestamp
357738 89476132,nop,wscale 4>
16:14:19.770541 IP 1.1.1.254.54498 > hostname.domain.local .1984: . ack 1
win 46 <nop,nop,timestamp 89476134 357738>
SERVER SIDE :
*/etc/bb-host* :
1.1.1.1 hostname.domain.local # conn ssh hobbitfetch pulldata
NAME:"hostname" DESCR:"DMZ hostname Vmware"
*
Telnet :* Is good (firewall rules OK)
Server_hobbit # telnet *host_in_dmz* 1984
Trying 1.1.1.1...
Connected to hostname.domain.local (1.1.1.1).
Escape character is '^]'.
/server/etc$ ../bin/bb 1.1.1.1 ping --debug
2009-07-21 16:32:10 Transport setup is:
2009-07-21 16:32:10 bbdportnumber = 1984
2009-07-21 16:32:10 bbdispproxyhost = NONE
2009-07-21 16:32:10 bbdispproxyport = 0
2009-07-21 16:32:10 Recipient listed as '1.1.1.1'
2009-07-21 16:32:10 Standard BB protocol on port 1984
2009-07-21 16:32:10 Will connect to address 1.1.1.1 port 1984
2009-07-21 16:32:10 Connect status is 0
2009-07-21 16:32:10 Sent 4 bytes
2009-07-21 16:32:10 Closing connection
Could you please help me to find out why 2 servers work fine and the last
one doesn't work at all ?
Thanks by advance,
Regards
--
<mailinglist.benoit - at - gmail!com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20090721/e8c7ba97/attachment.html>
More information about the Xymon
mailing list