<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
I'm still getting xymond_history crash notifications exactly every 4
hours. I've looked in /var/log/xymon/ but there's doesn't seem to
be any logs that give a clue as to what's happening.<br>
<br>
Here's the notification I'm getting exactly every 4 hours.<br>
-------------------------------<br>
<b>xymond_history purple [672384]
</b>
<pre><b>red - Program crashed
Fatal signal caught!</b></pre>
-------------------------------<br>
<br>
<pre class="moz-signature" cols="72">Kris Springer
</pre>
<div class="moz-cite-prefix">On 3/23/21 11:41 AM, Kris Springer
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:cbee5963-0584-485e-2eeb-9c4d0db41b7b@innovateteam.com">
Upon further searching of mailing list I came across this. <a
class="moz-txt-link-freetext"
href="https://lists.xymon.com/archive/2019-February/046058.html"
moz-do-not-send="true">https://lists.xymon.com/archive/2019-February/046058.html</a><br>
I re-ran my command with the 'sudo -u xymon' addition and it
seemed to work. <br>
<br>
$ cd /home/xymon/server/bin/<br>
$ sudo -u xymon ./trimhistory --drop --dropsvcs --droplogs
--cutoff=`date +%s --date="1 Jan 2019"` --progress<br>
<br>
<pre class="moz-signature" cols="72">Kris Springer
</pre>
<div class="moz-forward-container"> Per the instructions found at
<a class="moz-txt-link-freetext"
href="https://xymon.sourceforge.io/xymon/help/manpages/man8/trimhistory.8.html"
moz-do-not-send="true">https://xymon.sourceforge.io/xymon/help/manpages/man8/trimhistory.8.html</a>
I ran the following command to trim my very old log history and
ever since then I'm getting the following crash alert. Also
when reviewing history via the webpage I get results but the
time stamps are wonky. I suspect it's because of the program
crashing.<br>
Anyone know how to fix?<br>
<br>
Trimhistory command I used:<br>
$ ./trimhistory --drop --dropsvcs --droplogs --cutoff=`date +%s
--date="1 Jan 2019"` --progress<br>
<br>
Alert I'm receiving:<br>
<blockquote type="cite">
<pre>xymond_history purple [549922]
red - Program crashed
Fatal signal caught!</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Kris Springer
</pre>
</div>
</blockquote>
<br>
</body>
</html>