[hobbit] can't change testname from upper to lower case

Henrik Stoerner henrik at hswn.dk
Sat Oct 28 09:19:29 CEST 2006


On Sat, Oct 28, 2006 at 12:19:43AM +0200, Etienne Grignon wrote:

> We had some externals scripts that were sending status with upper
> case. Now, it is sending lower case.
> The problem is that it is still displaying with upper case in the bb
> pages. Even if I delete the test, or its history, or if I try to
> rename like TESTNAME to testname, it still re appear in upper case.
> 
> Is hobbit keeping somewhere in memory some traces of the testnames
> that doesn't exists anymore ?

Yes, it does maintain an in-memory list of the testnames that it has
seen. But when searching this list, it ignores the upper/lower case 
of the testname.

So doing a rename "TEST->test" ends up doing nothing at all.

> Is there a trick to rename a test from Upper case to lower case ?

Shutdown Hobbit, edit the ~hobbit/data/tmp/hobbitd.chk file and 
change the test name, then start Hobbit again.

If you want to keep your history, you will also have to manually rename
the files and directories in the ~hobbit/data/hist/ and
~hobbit/data/histlogs/ directory.


Regards,
Henrik




More information about the Xymon mailing list