Clean up logs

manoj biswakarma manojbiswakarma at yahoo.com
Tue Nov 14 18:18:18 CET 2017


Hi Xymon Team,
I have xymon running at my work place for quite a long time and was wondering ways I can cleanup the old logs. 
1. Is there some tools or feature in xymon which I can use to remove old logs or do I use command such as find to remove them ? 2. And if suppose I remove the old files from under "histlogs and hostdata" manually using find command, will it impact my xymon afterward ?

The area for cleanup which I am referring to is pasted below:
4.0K    acks
4.0K    data
4.0K    disabled
991M    hist
56 G     histlogs
195 G    hostdata
4.0K    logs
2.0G    rrd

 $ pwd
/home/xymon/data
$ ls -l
drwxr-xr-x.   2 xymon xymon    2 Sep 24  2014 acks
drwxr-xr-x.   2 xymon xymon    2 Sep 24  2014 data
drwxr-xr-x.   2 xymon xymon    2 Sep 24  2014 disabled
drwxr-xr-x.   2 xymon xymon 8954 Oct 11 22:18 hist
drwxr-xr-x. 483 xymon xymon  483 May 31 13:15 histlogs
drwxr-xr-x. 264 xymon xymon  264 Apr 20  2017 hostdata
drwxr-xr-x.   2 xymon xymon    2 Sep 24  2014 logs
drwxr-xr-x. 483 xymon xymon  483 May 31 13:15 rrd



Thank you in advance.
Regards  Manoj Biswakarma (Manoj)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20171114/b74859a8/attachment.html>


More information about the Xymon mailing list