Xymon Mailing List Archive search

In the year 2036...

4 messages in this thread

list Ron Cohen · Mon, 26 Sep 2016 10:59:09 +0100 ·
Hi
Someone with uncontrolled fingers changed the date on one of our HPs to
2036. since than, all xymon builtin alerts gone purple  (all new stats are
from the past :(  )
is there a way of removing those 2036 entries without deleting all history?
thanks
_rony
list Japheth Cleaver · Wed, 28 Sep 2016 10:39:42 -0700 ·
quoted from Ron Cohen
On 9/26/2016 2:59 AM, Ron Cohen wrote:
Hi
Someone with uncontrolled fingers changed the date on one of our HPs to 2036. since than, all xymon builtin alerts gone purple (all new stats are from the past :(  )
is there a way of removing those 2036 entries without deleting all history?
thanks
_rony
Hi Ron,

If you're referring to the history files, it's possible but will require some manual effort.

These are actually simple text files in your $XYMONVAR directory and the offending line can be removed with your favorite text editing tool. The only sticking point is that these do not have a final newline at the end, and this is used when backscanning for time calculations as a marker, so it's important to make sure that this format is generated properly. You can do a live reload of the history page (which reads that file in on each CGI hit) to confirm that no syntax errors are present in a modified version. Usually this manifests by garbled date calculations or missing event ranges.

If you're referring to the "current status display" and not a history log, in theory that should get replaced by the next incoming message just fine. xymond doesn't really care about the host's localtime or epochtime; xymond_client only uses it for the "clock skew" RRD.

If there are RRD display issues, that will be quite a bit trickier. IIRC, the process involves exporting data sets and reimporting them using rrdtool similar to when you need to "de-spike" an erroneous data value, but I've never actually done it myself.


HTH,
-jc
list Andrey Chervonets · Thu, 29 Sep 2016 10:44:00 +0300 ·
Yes, there are some hints.

Try to find by post at 10.03.2016  or contact me directly, I will forward.


Best regards,

Andrey Chervonets
SIA CoMinder
http://www.cominder.eu/
mobile: +XXX XXXXXXXX


From:   xymon-request at xymon.com
To:     xymon at xymon.com
Date:   26.09.2016 13:00
Subject:        Xymon Digest, Vol 68, Issue 19
Sent by:        "Xymon" <xymon-bounces at xymon.com>


Send Xymon mailing list submissions to

To subscribe or unsubscribe via the World Wide Web, visit
or, via email, send a message with subject or body 'help' to

You can reach the person managing the list at

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Xymon digest..."


Today's Topics:

   1. In the year 2036... (Ron Cohen)


Message: 1
Date: Mon, 26 Sep 2016 10:59:09 +0100
From: Ron Cohen <user-f26e06d1e992@xymon.invalid>
To: xymon at xymon.com
Subject: [Xymon] In the year 2036...
Message-ID:
 <CAK=Ff3VOy4v9O6FOYoZ9fth1_gVwaSC=user-f006bc17b895@xymon.invalid>
Content-Type: text/plain; charset="utf-8"
quoted from Japheth Cleaver

Hi
Someone with uncontrolled fingers changed the date on one of our HPs to
2036. since than, all xymon builtin alerts gone purple  (all new stats are
from the past :(  )
is there a way of removing those 2036 entries without deleting all 
history?
thanks
_rony
list Andrey Chervonets · Thu, 29 Sep 2016 10:48:26 +0300 ·
Yes, there are some hints.

Try to find by post at 10.03.2016  with subject "Always purple history 
after time shift on server - how to fix" or contact me directly, I will 
quoted from Andrey Chervonets
forward.


Best regards,

Andrey Chervonets
SIA CoMinder
http://www.cominder.eu/
mobile: +XXX XXXXXXXX


From:   xymon-request at xymon.com
To:     xymon at xymon.com
Date:   26.09.2016 13:00
Subject:        Xymon Digest, Vol 68, Issue 19
Sent by:        "Xymon" <xymon-bounces at xymon.com>


Send Xymon mailing list submissions to

To subscribe or unsubscribe via the World Wide Web, visit
or, via email, send a message with subject or body 'help' to

You can reach the person managing the list at

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Xymon digest..."


Today's Topics:

   1. In the year 2036... (Ron Cohen)


Message: 1
Date: Mon, 26 Sep 2016 10:59:09 +0100
From: Ron Cohen <user-f26e06d1e992@xymon.invalid>
To: xymon at xymon.com
Subject: [Xymon] In the year 2036...
Message-ID:
 <CAK=Ff3VOy4v9O6FOYoZ9fth1_gVwaSC=user-f006bc17b895@xymon.invalid>
Content-Type: text/plain; charset="utf-8"

Hi
Someone with uncontrolled fingers changed the date on one of our HPs to
2036. since than, all xymon builtin alerts gone purple  (all new stats are
from the past :(  )
is there a way of removing those 2036 entries without deleting all 
history?
thanks
_rony