Xymon Mailing List Archive search

can't change testname from upper to lower case

2 messages in this thread

list Etienne Grignon · Sat, 28 Oct 2006 00:19:43 +0200 ·
Hello,

I'm running hobbit 4.1.2

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 ?

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


Thank you in advance for the help,

-- 
Etienne
list Henrik Størner · Sat, 28 Oct 2006 09:19:29 +0200 ·
quoted from Etienne Grignon
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