On Tue, Dec 05, 2006 at 01:51:06PM -0000, Burgess, Richard wrote:
It seems the case sensitivity is not being carried through to service name parsing in the bb-hosts file. Can someone advise if this is a bug or a known 'feature'?
Yes, that is a bit tricky. Internally, Hobbit ignores upper/lower case on all kinds of names - whether names of hosts or columns. But it does preserve the case when building the status view.
The way to do this is to shut down Hobbit, and then edit the ~hobbit/server/tmp/hobbitd.chk file replacing the string "|xyz|" with "|XYZ|" throughout the file. When you restart Hobbit it will pickup these tests as having the name "XYZ", so regardless of whether your tests send in a status for "xyz" or "XYZ" they will show up with the upper-case setting that Hobbit picked up from the checkpoint file.
Note that this also affects the files and directories where the history for these events are stored. Unix filesystems are generally case-sensitive, so to implement this renaming fully you may need to manually rename some of the files in the ~hobbit/data/hist/ directory as well as the "xyz" directory in ~hobbit/data/histlogs/HOSTNAME/ .
Regards, Henrik