<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.apple-tab-span
        {mso-style-name:apple-tab-span;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body bgcolor=white lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='color:#1F497D'>I still monitor the ghost machines.  I’ve just given them different names.  I just checked each host and the name defined in it’s xymon client host file matches the current server host file.  <o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>I seem to have been able to fix the issues.  For each one I just added the CLIENT: option into the server hosts.cfg file.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>CLIENT:Buzzard<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>The xymon server seems to want the real hostname of each machine instead of the name I’m defining in the client config file.  So, I guess a workaround is to use the CLIENT: option.  I’ve had to use that also for some special hosts that I have custom scripts running on.  If I didn’t add the CLIENT: option the data would not post to the server webpage.<o:p></o:p></span></p><div><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;color:#990000'><o:p> </o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;color:#990000'>Thank you.</span><span style='font-size:10.0pt;color:#222222'><o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;color:#990000;background:white'>------------------------------------------------</span><span style='font-size:10.0pt;color:#222222'><o:p></o:p></span></p><p class=MsoNormal style='background:white'><b><span style='font-size:10.0pt;color:#990000;background:white'>Kris Springer</span></b><span style='font-size:10.0pt;color:#222222'><o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;color:#222222'><o:p> </o:p></span></p><p class=MsoNormal style='background:white'><i><span style='font-size:10.0pt;color:#990000;background:white'>=======================</span></i><span style='font-size:10.0pt;color:#222222'><o:p></o:p></span></p></div><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'> Xymon [mailto:xymon-bounces@xymon.com] <b>On Behalf Of </b>Adam Goryachev<br><b>Sent:</b> Tuesday, March 11, 2014 9:57 PM<br><b>To:</b> xymon@xymon.com<br><b>Subject:</b> Re: [Xymon] Can't clear ghost clients<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>On 12/03/14 15:04, Kris Springer wrote:<o:p></o:p></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal>I’ve got 6 ghost clients listed on my server webpage.  I have a clean hosts.cfg file that definitely does not contain any of the names in the ghost list.  The ghost names are from many months ago when I first setup the server.  I’ve since change the names.  I’ve attempted to clear the ghosts using the following commands but it doesn’t clear anything.  Buzzard is one of the hostnames in question.<o:p></o:p></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>#cd /usr/lib/xymon/server/bin</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>#xymon 127.0.0.1 “drop Buzzard”</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'> </span><o:p></o:p></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Anyone have a clue as to how to clear old ghosts and/or where to find the pesky files that are causing it?</span><o:p></o:p></p></blockquote><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><br>ghosts are there *because* you do not have them in your config file. They are "generated" by clients reporting status with that name. You should be able to determine where these reports are coming from based on the names and/or source information on the ghost report. If the client stops reporting, it will be removed from the ghost report after 5 minutes (I assume this is actually the timeout value of the status which is usually 5 minutes).<br><br>Worst case, you can firewall port 1984 to block the incoming status reports, or use tcpdump to determine where they are coming from.<br><br>Hope this is useful/helpful.<br><br>Regards,<br>Adam<o:p></o:p></span></p><div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'>-- <br>Adam Goryachev Website Managers <a href="http://www.websitemanagers.com.au">www.websitemanagers.com.au</a><o:p></o:p></span></p></div></div></body></html>