[Xymon] Clear Ghostlist file?

Blumenthal, Russell Russell.Blumenthal at stonybrookmedicine.edu
Fri Sep 11 15:50:57 CEST 2015


Perhaps Henrik or JC could provide insight?

From: Galen Johnson [mailto:Galen.Johnson at sas.com]
Sent: Thursday, September 3, 2015 10:08 PM
To: Blumenthal, Russell <Russell.Blumenthal at stonybrookmedicine.edu>; xymon at xymon.com
Subject: Re: Clear Ghostlist file?


Unfortunately, the cgi "script" is actually a compiled binary.  This isn't a linux/unix issue but a code issue.‚Äč  Someone more familiar with the code would need to review the code to see why they are different.



=G=



________________________________
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: Thursday, September 3, 2015 9:06 AM
To: xymon at xymon.com<mailto:xymon at xymon.com>
Subject: Re: [Xymon] Clear Ghostlist file?

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.

Thanks

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.



=G=



________________________________
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 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 (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.

Thanks


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20150911/c217ab71/attachment.html>


More information about the Xymon mailing list