hi,
I have 4 nudios instances connected to thruk. They all use livestatus (versions 1.2.8p24 and 1.2.6p16). Lmd works on thruk (version 1.9.0 (Build:, go1.13.4)). My problem is deleting some data from the mysql database.
@thruk: ~ # thruk -a logcachestats
Backend Index Size Data Size Items
N1 95.7 MB 366.4 MB 1428739
N2 87.7 MB 332.4 MB 1189208
N3 128.0 KB 224.0 KB 1129
N4 112.0 KB 192.0 KB 1979
You can see which are the probleme.
I just called up logcacheclean
@thruk: ~ # date
Tue Sep 22 13:19:47 CEST 2020
@thruk: ~ # / usr / bin / thruk -a logcacheclean = 730
Do you really want to drop all data older than Tue Sep 22 13:07:00 2020?
Why should cleanup be for data older than TODAY ?!
Because the variable is SECONDS! To clean longer than x days, you have to give it
@thruk: ~ # / usr / bin / thruk -a logcacheclean = 730d
Do you really want to drop all data older than Sun Sep 23 13:21:51 2018?
Continue? [n]: ^ C
However why does he clean only two and not the other two?
Sorry for my English level.