hobbitfetch not reading data

Epp, Matthew Mr CTR USA USAASC matthew.epp at us.army.mil
Thu May 8 00:09:46 CEST 2008


Ok so I'm attempting to set up hobbitfetch for the first time with a few 
new clients. I've followed all the steps that should have gotten it working:

1. Enabled the msgcache on the client and verified connectivity on port 
1984 from the server to the client.
2. Set the BBDISP to 127.0.0.1 on the client.
3. Added pulldata to the bb-hosts entry on the server and made sure the 
IP being used is a real and valid one.
4. Enabled the hobbitfetch process on the server.

Everything appears to be running on both ends, but no data was coming 
back. So I enabled debug mode for hobbitfetch and msgcache on each end.

hobbitfetch.log:
----------------
2008-05-07 21:56:02 Queuing request 2 to 10.10.10.10:1984 for 
host.foo.bar: 'pullclient 1

'
2008-05-07 21:56:02 Sent 13 bytes to 10.10.10.10:1984 (req 2)
2008-05-07 21:56:02 Done reading data from 10.10.10.10:1984 (req 2)
2008-05-07 21:56:02 Doing cleanup
2008-05-07 21:56:02 Next poll of host.foo.bar in 65 seconds
2008-05-07 21:56:02 Request completed: req 2, peer 10.10.10.10:1984, 
action was 2, type was 0
----------------

Looks ok I guess, not sure what exact arguments pullclient is normally 
supposed to feed to the client though.

And the msgcache.log:
---------------------
2008-05-07 21:52:44 New connection
2008-05-07 21:52:44 -> oksender
2008-05-07 21:52:44 <- oksender(1-a)
2008-05-07 21:52:44 Got pullclient request: pullclient 1

2008-05-07 21:52:44 Saved client response:

---------------------

However in the hobbitclient.log I get the default version output as if 
the data being sent to the bb command isn't formatted right:
Hobbit version 4.2.0
Usage: /cust/bb/client/bin/bb [--debug] 
[--proxy=http://ip.of.the.proxy:port/] RECIPIENT DATA
   RECIPIENT: IP-address, hostname or URL
   DATA: Message to send, or "-" to read from stdin

If I try running the command: ./bb 127.0.0.1 "pullclient"
on the client, or the same with the client's IP from the server, I get 
nothing. Now I found something when searching the mailing list:
http://www.hswn.dk/hobbiton/2007/07/msg00513.html

So I applied this patch to my client just to see if that would help, but 
no dice. Are there any other things I can try, debug commands, etc?



More information about the Xymon mailing list