[Xymon] Clear Ghostlist file?

Blumenthal, Russell Russell.Blumenthal at stonybrookmedicine.edu
Wed Sep 23 13:59:25 CEST 2015


Thanks Henrik, that is good to know.

From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Henrik Størner
Sent: Tuesday, September 22, 2015 5:00 PM
To: xymon at xymon.com
Subject: Re: [Xymon] Clear Ghostlist file?

Hi,

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 127.0.0.1 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.


Regards,
Henrik

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.

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.




_______________________________________________

Xymon mailing list

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

http://lists.xymon.com/mailman/listinfo/xymon

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20150923/d039fa6c/attachment.html>


More information about the Xymon mailing list