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 <henrik at hswn.dk> wrote:
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
To unsubscribe from the xymon list, send an e-mail to xymon-unsubscribe at xymon.com