[Xymon] Clear Ghostlist file?

Novosielski, Ryan novosirj at ca.rutgers.edu
Tue Sep 22 23:14:27 CEST 2015

IIRC, the answer to the initial question is "restart the Xymon server" to clear the ghost list.

____ *Note: UMDNJ is now Rutgers-Biomedical and Health Sciences*
|| \\UTGERS      |---------------------*O*---------------------
||_// Biomedical | Ryan Novosielski - Senior Technologist
|| \\ and Health | novosirj at rutgers.edu<mailto:novosirj at rutgers.edu>- 973/972.0922 (2x0922)
||  \\  Sciences | OIRT/High Perf & Res Comp - MSB C630, Newark

On Sep 22, 2015, at 17:00, Henrik Størner <henrik at hswn.dk<mailto:henrik at hswn.dk>> wrote:


the webpages ignore ghosts if they haven't been heard from for more than 10 minutes, which includes those servers that have been added to hosts.cfg.

The "xymon ghostlist command returns all of the servers that have - at some time - been recorded as ghosts. The last field of the output is the timestamp that they were last seen as ghosts, so if the difference from that timestamp until current time is greater than 600 seconds, they will not show up on the webpage.


Den 03-09-2015 kl. 15:06 skrev Blumenthal, Russell:
At least I am not the only one who sees that discrepancy.

How does the script determine or figure out what is considered a ghost client?

Unfortunately when it comes to digging deeper in these linux/unix environments and scripts my usefulness dwindles.


From: Galen Johnson [mailto:Galen.Johnson at sas.com]
Sent: Wednesday, September 2, 2015 11:46 AM
To: Blumenthal, Russell <Russell.Blumenthal at stonybrookmedicine.edu><mailto:Russell.Blumenthal at stonybrookmedicine.edu>; xymon at xymon.com<mailto:xymon at xymon.com>
Subject: Re: Clear Ghostlist file?

Reading the script, the list of Ghosts are generated by the command:

<PATHTOXYMON>/server/bin/xymon localhost ghostlist

I think the better question might be, why is that command returning the wrong info?  I see the same discrepancy when I run the command by hand and compare to the Ghost Clients page.


From: Xymon <xymon-bounces at xymon.com<mailto:xymon-bounces at xymon.com>> on behalf of Blumenthal, Russell <Russell.Blumenthal at stonybrookmedicine.edu<mailto:Russell.Blumenthal at stonybrookmedicine.edu>>
Sent: Wednesday, September 2, 2015 9:12 AM
To: xymon at xymon.com<mailto:xymon at xymon.com>
Subject: [Xymon] Clear Ghostlist file?

Is there a way to clear the ghostlist file and have it regenerated? I took a look at it (~/server/bin/xymon ghostlist) and I see hosts and IPs (total of 40) that are in my hosts.cfg file. The ghost clients page in Xymon only shows 6 hosts, which is the correct number. I am trying to implement the unconfigured clients script (https://wiki.xymonton.org/doku.php/addons:unconfigured_clients) and it works well however since the ghostlist file has hosts that should not be there, it makes the display not 100% correct by putting hosts in 2 pages.


This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by e-mail and destroy all copies of the original.

Xymon mailing list
Xymon at xymon.com<mailto:Xymon at xymon.com>

Xymon mailing list
Xymon at xymon.com<mailto:Xymon at xymon.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20150922/55311594/attachment.html>

More information about the Xymon mailing list