[xymon] Lost history after rename of test column

Henrik Størner henrik at hswn.dk
Thu Feb 3 22:16:31 CET 2011


In <AANLkTinTCuBeGhADq7vXPWFwzfmKdXpf1Bt5e2u-MhjS at mail.gmail.com> Joe Acquisto <joe.acquisto at gmail.com> 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




More information about the Xymon mailing list