[hobbit] clientupdate?

David Gore David.Gore at verizonbusiness.com
Fri Jul 21 01:17:35 CEST 2006


David Gore wrote:
> Henrik Stoerner wrote:
>> On Wed, Jul 19, 2006 at 01:38:53PM +0000, David Gore wrote:
>>  
>>> What is the status (this release? next release?) of clientupdate to 
>>> automatically update the client?
>>>     
>>
>> It should be working in the current release (the original RC from 
>> July 12).
>>
>>  
>>> We read the man page and configured it, hoping it would work.  
>>> Obviously, it would save us a lot of time.  Here is what we get on 
>>> the client:
>>>
>>> tail -f hobbitclient.log
>>> 2006-07-19 13:30:59 connect to bbd failed - Connection refused
>>> 2006-07-19 13:30:59 Whoops ! bb failed to send message - Connection 
>>> failed
>>> Cannot fetch new client tarfile
>>>     
>>
>> That is odd. Why can't it connect to the Hobbit server? It uses the same
>> method of connecting for the client update as it does when sending in 
>> the client data.
>>
>> Any signs in the server logs of hobbitd crashing? If yes, do apply the
>> current "allinone.patch" to the server and retry this.
>>
>>   
> No signs of the server crashing.  The server is fine and while 
> clientupdate is not working the client is fine otherwise all statuses 
> up to date.
>
> I am currently using the latest snapshot for client and server.
>> What does your client-local.cfg file have for this client, and what
>> files do you have in the ~hobbit/download/ directory?
>>
>>   
> It looks something like this:
>
> client-local.cfg:
>
> [clienthost]
> clientversion:sunos8.v1
> file:/opt/app/apache/logs/access.log
> log:/opt/app/apache/logs/error.log:10240
> log:/var/adm/messages:10240
> ignore srsxfer
>
> [hobbit at hobbit download]$ ls
> sunos8.v1.tar
> [hobbit at hobbit download]$ pwd
> /home/hobbit/server/download
>
Any chance we can get some feedback on this?  Congrats Adam, you are 
getting further than we have.  Regardless, the tmp files it creates 
without the 'w'rite attribute are a nuisance:

-r-xr-x---   1 nmsbb    staff     165540 Jul 19 15:41 
.update.clienthost.1153323688.tmp
-r-xr-x---   1 nmsbb    staff     165540 Jul 19 17:41 
.update.clienthost.1153330910.tmp
-r-xr-x---   1 nmsbb    staff     165540 Jul 19 18:46 
.update.clienthost.1153334819.tmp
-r-xr-x---   1 nmsbb    staff     165540 Jul 19 19:47 
.update.clienthost.1153338436.tmp
-r-xr-x---   1 nmsbb    staff     165540 Jul 19 20:47 
.update.clienthost.1153342041.tmp
-r-xr-x---   1 nmsbb    staff     165540 Jul 19 21:47 
.update.clienthost.1153345667.tmp
-r-xr-x---   1 nmsbb    staff     165540 Jul 19 21:52 
.update.clienthost.1153345964.tmp
-r-xr-x---   1 nmsbb    staff     165540 Jul 19 22:52 
.update.clienthost.1153349570.tmp
-r-xr-x---   1 nmsbb    staff     165540 Jul 19 23:52 
.update.clienthost.1153353178.tmp
-r-xr-x---   1 nmsbb    staff     165540 Jul 20 00:53 
.update.clienthost.1153356796.tmp
-r-xr-x---   1 nmsbb    staff     165540 Jul 20 01:53 
.update.clienthost.1153360408.tmp
-r-xr-x---   1 nmsbb    staff     165540 Jul 20 02:58 
.update.clienthost.1153364321.tmp
-r-xr-x---   1 nmsbb    staff     165540 Jul 20 03:58 
.update.clienthost.1153367929.tmp
-r-xr-x---   1 nmsbb    staff     165540 Jul 20 04:59 
.update.clienthost.1153371541.tmp
-r-xr-x---   1 nmsbb    staff     165540 Jul 20 05:59 
.update.clienthost.1153375152.tmp
-r-xr-x---   1 nmsbb    staff     165540 Jul 20 07:04 
.update.clienthost.1153379068.tmp
-r-xr-x---   1 nmsbb    staff     165540 Jul 20 08:04 
.update.clienthost.1153382679.tmp

nmsbb at omzimp01:/export/home/nmsbb/client/logs> tail -f h*log
2006-07-20 23:10:46 connect to bbd failed - Connection refused
2006-07-20 23:10:46 Whoops ! bb failed to send message - Connection failed
Cannot fetch new client tarfile
tar: blocksize = 0
Found update in progress or failed update (started 5 minutes ago)

No change in the latest snapshot.

~David





More information about the Xymon mailing list