Xymon Mailing List Archive search

Lost history after rename of test column

list Joe Acquisto
Fri, 4 Feb 2011 16:30:59 -0500
Message-Id: <AANLkTi=user-6654da0970ce@xymon.invalid>

Turns out, I have outsmarted myself.   And I wallow, wallow, I tell you, in
my own smugness.

A while back,  I wanted to break test names into two lines and found that
<br/> seemed to do that.   Some one warned me that might break something
further on.   But, did I listen?  Yes, but there was no follow up, so I
bumbled on.

Well, I guess it does break something, as some testing indicates the <br/>
is what is causing this problem.   Ah, well, Monday starts a new week.

joe a.

On Thu, Feb 3, 2011 at 4:16 PM, Henrik Størner <user-ce4a2c883f75@xymon.invalid> wrote:
In <user-75ad23f76b90@xymon.invalid> Joe
Acquisto <user-8a324efe5034@xymon.invalid> writes:
Running Hobbit 4.2.0.   After rename of some custom tests and deleting the
old name, discovered that trying to view History tells me "cannot open
history file".   It appears there is no history file for the newly named
tests, that I can find.  Neither is there one for the old named tests,
which
is probably due to my having deleted the test column.
I know there was history for the old named test.
Not quite sure what you did, but the recommended method for renaming
a test - and keeping the history - is

  bb 127.0.0.1 "rename HOSTNAME oldtest newtest"

That will rename the history files. It won't do the RRD file (since
what RRD files belong to a test is rather difficult to determine),
but you can rename those manually in the ~hobbit/data/rrd/HOSTNAME/
directory.


Regards,
Henrik