Xymon Mailing List Archive search

cleanup hostdata and histlogs

list Kumaresh P N
Fri, 18 Jun 2010 10:24:31 -0400
Message-Id: <user-46207eed6791@xymon.invalid>

Hi Thorsten,

I am in the same situation, did u delete hostdata and does it create any
other issues ?

************************************
Best Regards
Kumaresh


On Mon, Feb 1, 2010 at 10:49 AM, <user-9219fb9415b1@xymon.invalid> wrote:
On 02/01/2010 07:40 AM, user-9219fb9415b1@xymon.invalid 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.