<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; } @font-face { font-family: 'Cambria Math'; } @font-face { font-family: Calibri; } p.MsoNormal, li.MsoNormal, div.MsoNormal { margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; } a:link, span.MsoHyperlink { color: rgb(5, 99, 193); text-decoration: underline; } a:visited, span.MsoHyperlinkFollowed { color: rgb(149, 79, 114); text-decoration: underline; } span.EmailStyle17 { font-family: Calibri, sans-serif; color: windowtext; } .MsoChpDefault { font-family: Calibri, sans-serif; } @page WordSection1 { margin: 1in; } div.WordSection1 { }--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Reading the script, the list of Ghosts are generated by the command:<br>
</p>
<p><br>
</p>
<p><PATHTOXYMON>/server/bin/xymon localhost ghostlist<br>
</p>
<p><br>
</p>
<p>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.<br>
</p>
<p><br>
</p>
<p>=G=<br>
</p>
<p><br>
</p>
<div style="color: rgb(33, 33, 33);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Xymon <xymon-bounces@xymon.com> on behalf of Blumenthal, Russell <Russell.Blumenthal@stonybrookmedicine.edu><br>
<b>Sent:</b> Wednesday, September 2, 2015 9:12 AM<br>
<b>To:</b> xymon@xymon.com<br>
<b>Subject:</b> [Xymon] Clear Ghostlist file?</font>
<div> </div>
</div>
<div>
<div class="WordSection1">
<p class="MsoNormal">Is there a way to clear the ghostlist file and have it regenerated? I took a look at it (~/server/bin/xymon 127.0.0.1 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 (<a href="https://wiki.xymonton.org/doku.php/addons:unconfigured_clients">https://wiki.xymonton.org/doku.php/addons:unconfigured_clients</a>) 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.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Thanks</p>
</div>
<br>
<br>
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. </div>
</div>
</body>
</html>