[hobbit] Antwort: Re: [hobbit] cleanup hostdata and histlogs
Rich Smrcina
rsmrcina at wi.rr.com
Mon Feb 1 16:16:00 CET 2010
On 02/01/2010 08:49 AM, thorsten.erdmann at daimler.com wrote:
>
> > On 02/01/2010 07:40 AM, thorsten.erdmann at daimler.com wrote:
> > >
> > > Hello
> > >
> > > is there a way to cleanup hostdata and histlogs automaticly? Lets say
> > > delete all files older than half a year or so. May I do that via
> OS or
> > > is there a special Hobbit-way to do it.
> > >
> > > Thanks
> > >
> > > Thorsten Erdmann
> > Take a look at the trimhistory command.
> Ok, trimhistory cleans up the histlogs, but not the hostdata. I did
> the following:
>
> ./trimhistory --cutoff=`expr \`date +%s\` - 31536000` --drop --droplogs
>
> Can I simply delete the old hostdata files?
>
> Thank you
> 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.
>
I suggest checking the list archive, but based on how much historical
information you require I'm inclined to say yes.
--
Rich Smrcina
Phone: 414-491-6001
http://www.linkedin.com/in/richsmrcina
Catch the WAVV! http://www.wavv.org
WAVV 2010 - Apr 9-13, 2010 Covington, KY
More information about the Xymon
mailing list