Xymon Mailing List Archive search

trim history

2 messages in this thread

list Russell Blumenthal · Fri, 5 Aug 2016 11:41:12 +0000 ·
I want to use the trimhistory command but not sure exactly how to execute it. Anyone have an example?

Thanks


This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by e-mail and destroy all copies of the original.
list Dirk Kastens · Mon, 8 Aug 2016 08:45:39 +0200 ·
Hi,

Am 05.08.2016 um 13:41 schrieb Blumenthal, Russell:
quoted from Russell Blumenthal
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