Xymon Mailing List Archive search

Lost history after rename of test column

list Joe Acquisto
Thu, 3 Feb 2011 17:26:02 -0500
Message-Id: <AANLkTi=_BV_8nPvAMaB=user-4967916e5210@xymon.invalid>

I did a delete of the oldtest name.  Not knowing of the rename.    I guess
the problem is that the old test rrd files were also deleted.  And now,
there are none.    I can live with the lost history, but would like to start
a new history file for each test.

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