Xymon Mailing List Archive search

Dead clients reappear in ghost client list

3 messages in this thread

list Enaze Uddin · Fri, 21 Feb 2020 19:40:24 +0000 ·
I am having an issue where after removing a dead client from Xymon (deleting from host.cfg and issuing './xymon/server/etc/bin/xymon 127.0.0.1 "drop [HOSTNAME]"' it shows up again in the ghostlist. I have a script to read the ghostlist to add any clients that deploy on the network and delete them if a status color for a test matches criteria I specify. Essentially, my script adds clients it sees in the ghostlist and deletes them if they are terminated.

After termination, the host is still listed under the ghost list and my script adds a dead/terminated host to Xymon, where no reports are made because the client does not exist. Am I doing something wrong like not clearing temp/var files? I have tried clearing files under /hist /histlogs /hostdata and /rrd yet that does not solve it.

Thanks
list Mike Burger · Fri, 21 Feb 2020 20:48:58 +0000 ·
On 2020-02-21 14:40, Uddin, Enaze via Xymon wrote:

Have you turned down the client in question...or, at the very least, the 
Xymon client software on the client in question?
-- 
Mike Burger
http://www.bubbanfriends.org

"It's always suicide-mission this, save-the-planet that. No one ever 
just stops by to say 'hi' anymore." --Colonel Jack O'Neill, SG1
list Paul Root · Fri, 21 Feb 2020 21:00:37 +0000 ·
If it reappears, it is because there is something still providing data about that ghost.

Possible reasons:

  *   The machine in question is still up and running (and running Xymon-client).
  *   You have some script  (defined in tasks.cfg or local-client.cfg or external) running that is testing something related to the host

Adding the host back into hosts.cfg somewhere, would help diagnose this. Then you would get what test(s) is/are being updated.
quoted from Enaze Uddin


From: Uddin, Enaze <user-49e8fb0c13e1@xymon.invalid>
Sent: Friday, February 21, 2020 1:40 PM
To: xymon at xymon.com
Subject: Dead clients reappear in ghost client list

I am having an issue where after removing a dead client from Xymon (deleting from host.cfg and issuing './xymon/server/etc/bin/xymon 127.0.0.1 "drop [HOSTNAME]"' it shows up again in the ghostlist. I have a script to read the ghostlist to add any clients that deploy on the network and delete them if a status color for a test matches criteria I specify. Essentially, my script adds clients it sees in the ghostlist and deletes them if they are terminated.

After termination, the host is still listed under the ghost list and my script adds a dead/terminated host to Xymon, where no reports are made because the client does not exist. Am I doing something wrong like not clearing temp/var files? I have tried clearing files under /hist /histlogs /hostdata and /rrd yet that does not solve it.

Thanks

This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.