Corruption in hist files
list Stef Coene
Mon, 2 Feb 2009 14:03:28 +0100
Message-Id: <user-148462818024@xymon.invalid>
Hi,
I have a hobbit server running as vmware guest that changes it's clock at
random when you reboot. The clock has jumped a few times to 2010.
This gives problems with the hist files.
I wrote a perl script to clean up the hist files:
- delete lines in the future
- fixes the layout so the last number on a line is the seconds between the
current and the next line.
If anyone is interested, let me know.
I think it would be great if the trimhistory utility can do this also.
Stef