[hobbit] How to delete abandoned data

Martin Flemming martin.flemming at desy.de
Fri Sep 11 11:40:31 CEST 2009


Hi !

try trimmhistory .. and search in the archive for it ...

or try this

>i use the very nice bbdataclean.pl script by Eric Schwimmer . :-)
>
>http://nerdvana.org/eric/bbtools/

cheers,
 	martin

On Fri, 11 Sep 2009, thorsten.erdmann at daimler.com wrote:

> Hi
>
> I just saw that in all of my Hobbit's directories all datafiles (histlogs,
> rrd files, etc) are doubled. One with capitals and one without:
>
> ...
> drwxr-xr-x   2 hobbit nobody 1024 Aug  7 11:05 s068v004
> drwxr-xr-x   2 hobbit nobody 1024 Aug  6 15:39 S068V004
> drwxr-xr-x   2 hobbit nobody 1024 Aug  7 11:05 s068v010
> drwxr-xr-x   2 hobbit nobody 1024 Aug  6 13:03 S068V010
> drwxr-xr-x   2 hobbit nobody 1024 Aug  7 11:05 s068v011
> drwxr-xr-x   2 hobbit nobody 1024 Aug  6 13:03 S068V011
> drwxr-xr-x   2 hobbit nobody 1024 Aug  7 11:05 s068v012
> drwxr-xr-x   2 hobbit nobody 1024 Aug  6 13:03 S068V012
> drwxr-xr-x   2 hobbit nobody 1024 Aug  7 11:05 s068v013
> drwxr-xr-x   2 hobbit nobody 1024 Aug  6 13:03 S068V013
> drwxr-xr-x   2 hobbit nobody 1024 Aug  7 11:05 s68tts06
> drwxr-xr-x   2 hobbit nobody 1024 Aug  6 13:03 S68TTS06
> ...
>
> It seems that somebody "cleaned" the bb-hosts file on Aug 7. So how can I
> delete all that capital files. Because there are several hundreds of hosts
> it is difficult to do by hand. If I simply delete all files I loose all
> the history info. It's bad enough that I loose the history before Aug 7,
> but don't know a way to merge the files.
>
> Maybe I should do a find to all files older than Aug 7?
>
> Any ideas?
>
> Thorsten Erdmann
>
>
> If you are not the intended addressee, please inform us immediately that you have received this e-mail in error, and delete it. We thank you for your cooperation.



More information about the Xymon mailing list