[Xymon] trim history

Dirk Kastens dirk.kastens at uni-osnabrueck.de
Mon Aug 8 08:45:39 CEST 2016


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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5047 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20160808/83f24dc8/attachment.bin>


More information about the Xymon mailing list