Xymon Mailing List Archive search

trim history

list Dirk Kastens
Mon, 8 Aug 2016 08:45:39 +0200
Message-Id: <user-d2d58a998a03@xymon.invalid>

Hi,

Am 05.08.2016 um 13:41 schrieb Blumenthal, Russell:
I want to use the trimhistory command but not sure exactly how to
execute it. Anyone have an example?
I'm cleaning my history data daily with a cron job. It executes the 
following command to delete all history that is older than one year:

/usr/libexec/xymon/trimhistory --cutoff=`date +%s --date="today -1 
year"` --drop --droplogs --env=/etc/xymon/xymonserver.cfg

Dirk