[Xymon] Clean up logs

Dirk Kastens dirk.kastens at uni-osnabrueck.de
Wed Nov 15 08:10:49 CET 2017


Hi,

I'm running a script from cron.daily that cleans up my data:

/bin/su - xymon -c '/usr/libexec/xymon/trimhistory --cutoff=`date +%s 
--date="today -1 year"` --drop --droplogs --env=/etc/xymon/xymonserver.cfg'
/bin/find /var/lib/xymon/hostdata -type f -mtime +7 -delete

Regards,
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/20171115/1b4319fe/attachment.bin>


More information about the Xymon mailing list