Xymon Mailing List Archive search

History broken after cleaning up old data with trimhistory

list Galen Johnson
Tue, 5 Feb 2019 18:14:54 -0500
Message-Id: <CAJpizT3twF_gYCp=v5Kw0jg5X-MbvvAkx_nJza_G9+44c03=user-441bcadf7dd5@xymon.invalid>

Check your permissions/ownership on the files/folders...I seem to recall
something similar happening to me and (for some reason) the ownerships of
the files had changed and they could not be updated any longer.

=G=

On Tue, Feb 5, 2019 at 5:05 PM Alessandro Tinivelli <
user-fdda70e8b835@xymon.invalid> wrote:
good day all,

my xymon 4.3.28-1.el7.terabithia running on Centos7 has encountered a
problem since i made a cleanup using trimhistory command.

If a test (i.e. conn or anyelse) has been failing for a few hours,
clicking the History Button shows all green bars, no red bars for the KO
period.

The bars show red lines for previous failures only until the time i used
the trimhistory.
What is the possible cause and solution?

I issued this command:

/usr/libexec/xymon/trimhistory --drop --droplogs --dropsvcs --cutoff=`date
+%s --date="1 Oct 2018"` --env=/etc/xymon/xymonserver.cfg

Thanks in advance!