<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
    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">https://lists.xymon.com/archive/2019-February/046058.html</a><br>
    I re-ran my command with the 'sudo -u xymon' addition and it worked
    and xymond_history isn't crashing anymore. <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">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      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>
  </body>
</html>