Xymon Mailing List Archive search

hostname retrieval is broken after adding a host

list John Thurston
Mon, 01 Feb 2016 10:10:58 -0900
Message-Id: <user-e04dea14dad7@xymon.invalid>

This defect is getting to be a serious problem in my production Xymon.

For specifics, see my notes of 20151201 and 20151214 :
http://lists.xymon.com/pipermail/xymon/2015-December/042712.html
http://lists.xymon.com/pipermail/xymon/2015-December/042787.html

In general, adding a host to hosts.cfg corrupts the in-memory list of valid hosts. This causes other worker processes (specifically "alert") to fail. It doesn't fail _completely_. Some alerts continue to be sent, but there are footprints in the logs. I have a script watching for these footprints. When seen, I kill the "xymond_channel --channel=page" process, a new one is started, and business continues.

I need to squash this bug.

Is there a way to interactively run a worker process and have it hit the in-memory table of hostnames?

If not, is there a way to spill the in-memory table of hostnames without using a debugger?

Can anyone tell me which worker processes us the in-memory host list?
-- 
    Do things because you should, not just because you can.

John Thurston    XXX-XXX-XXXX
user-ce4d79d99bab@xymon.invalid
Enterprise Technology Services
Department of Administration
State of Alaska