Xymon Mailing List Archive search

disabled hosts, re-enabled on hobbitd restart

list Henrik Størner
Wed, 26 Oct 2005 00:02:22 +0200
Message-Id: <user-c0d5c6f688fa@xymon.invalid>

On Tue, Oct 25, 2005 at 05:43:34PM -0400, Deal, Richard wrote:
Should hobbitd maintain disabled hosts when restarted?
It should, provided that hobbitd saves and loads the checkpoint file.
To do that, your hobbitd command in hobbitlaunch.cfg must include
the options 
   --restart=$BBTMP/hobbitd.chk --checkpoint-file=$BBTMP/hobbitd.chk

The files are still in the data/disabled directory but the hosts are
listed as enabled after a restart.
These files are purely for backwards compatibility with BB scripts.
Hobbit doesn't use any of the files from the data/disabled directory,
but relies solely on the Hobbit daemon (hobbitd) to maintain the
state of all hosts and tests.


Henrik