Xymon Mailing List Archive search

Clientupdate problems

list Rdeal
Sat, 30 May 2009 20:51:55 -0400
Message-Id: <user-bb92f86e5f16@xymon.invalid>

That did it.  All the machines updated as expected.  Thanks

From: Alexander Bech <user-bd67b1e4c445@xymon.invalid>
Reply-To: <user-ae9b8668bcde@xymon.invalid>
Date: Sat, 30 May 2009 20:57:02 +0200
To: <user-ae9b8668bcde@xymon.invalid>
Subject: Re: [hobbit] Clientupdate problems

rdeal schrieb:
Does anyone have clientupdate working reliably for a large number of
machines?  I noticed a problem with clientupdate failing on our 4.2.0 server
and tracked it down that once a few clients seem to request the update the
server stops sending the file.  The clients however happily update the
clientversion.cfg and thus never attempt to get the file again.  After
upgrading to 4.2.3, the problem is the same.

Anyone else see this?  I have read some of the back forum messages and it
sounds line several others have run up against this same problem but there
doesn't seem to be a solution.
Butch

Yes.
I commented out the line 1975 in hobbitd.c.

--- hobbitd.c.filecache-bug     2009-05-30 20:46:59.000000000 +0200
+++ hobbitd.c   2009-02-27 13:45:56.000000000 +0100
@@ -1972,7 +1972,7 @@
                        }
                }

-               add_filecache(fullfn, result, st.st_size);
+               /* add_filecache(fullfn, result, st.st_size); */
        }

        msg->buflen = st.st_size;

it works.