Xymon Mailing List Archive search

Strange behaviour: summary reports purple while test details is OK

list Andrey Chervonets
Mon, 8 Jul 2013 19:32:54 +0300
Message-Id: <user-caa175ea518f@xymon.invalid>

Good day! 
We had renamed 2 hosts today and renamed all (I hope) at host level and in XyMon config and restarted XyMon server and clients too.
Rename in XyMon was done as:
a) changes records in hosts.cfg
b) xymon 127.0.0.1:port  "rename OLD_HOST  NEW_HOST"

Now XyMon Server  (4.3.11) - generates purple for 1st host in non-green and group reports while every test details shows green, yellow, red and so on what is expected.
the same server - generates normal reports for 2nd host renames

We have 2 XyMon server for High Availability and clients send info to both.
The 2nd XyMon Server (4.3.4) - generate normal reports for both renamed hosts.

So, question N 1 is - how to find where is the problem?
This only thing I had found in info report (which with trends are always green by the way) is that different status for the same metric is reported with minimal interval delta (~ 10 min which may be time since hostname change and xymon client restart and when "rename" was called at XyMon server.
For example:
Status summary:

Color   Service         Since                   Duration
------- ------  ---------------------------------------- -------------------------------------------
greed    cpu    Mon Jul 08 14:09:28 2013        0 days, 05 hours, 02 minutes
purple   cpu    Mon Jul 08 13:59:44 2013        0 days, 05 hours, 12 minutes
greed    disk   Mon Jul 08 18:24:07 2013        0 days, 00 hours, 48 minutes
purple   disk   Mon Jul 08 13:59:44 2013        0 days, 05 hours, 12 minutes
yellow   files  Mon Jul 08 14:09:28 2013        0 days, 05 hours, 02 minutes
purple   files  Mon Jul 08 13:59:44 2013        0 days, 05 hours, 12 minutes
greed    memory Mon Jul 08 14:09:28 2013        0 days, 05 hours, 02 minutes
purple   memory Mon Jul 08 13:59:44 2013        0 days, 05 hours, 12 minutes
greed    msgs   Mon Jul 08 14:14:29 2013        0 days, 04 hours, 57 minutes
purple   msgs   Mon Jul 08 13:59:44 2013        0 days, 05 hours, 12 minutes

This mean XyMon counts summary for 2 hostnames - new one (with info received just after hostname rename)  and old one, but renamed to new name.

By the way, I had found on both XyMon servers there are still directories for old nad new hostnames under xymon/data/hostdata/
old host data not updated any more, but new ones only. Question N2: Is it expected or after  xymon "rename ... "  call all should be merged into one directory per host?


Best regards,

Andrey Chervonets
SIA CoMinder
http://www.cominder.eu/