<div dir="ltr">I've had that too.  For me, it came down to running trimhistory as root rather than as the xymon user.  <div><br></div><div>Trimhistory creates a new file, reads through the old file and copies the records you want to keep, then throws away the old file.  The new file is owned by the user running the command, in my case, root.</div><div><br></div><div>Ralph Mitchell</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Feb 5, 2019 at 6:15 PM Galen Johnson <<a href="mailto:solitaryr@gmail.com">solitaryr@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>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.</div><div><br></div><div>=G=<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Feb 5, 2019 at 5:05 PM Alessandro Tinivelli <<a href="mailto:Alessandro.Tinivelli@faacgroup.com" target="_blank">Alessandro.Tinivelli@faacgroup.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">good day all,<br>
<br>
my xymon 4.3.28-1.el7.terabithia running on Centos7 has encountered a problem since i made a cleanup using trimhistory command.<br>
<br>
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.<br>
<br>
The bars show red lines for previous failures only until the time i used the trimhistory.<br>
What is the possible cause and solution?<br>
<br>
I issued this command:<br>
<br>
/usr/libexec/xymon/trimhistory --drop --droplogs --dropsvcs --cutoff=`date +%s --date="1 Oct 2018"` --env=/etc/xymon/xymonserver.cfg<br>
<br>
Thanks in advance!<br>
_______________________________________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com" target="_blank">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" rel="noreferrer" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
</blockquote></div>
_______________________________________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com" target="_blank">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" rel="noreferrer" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
</blockquote></div>