Xymon Mailing List Archive search

Clear Ghostlist file?

10 messages in this thread

list Russell Blumenthal · Wed, 2 Sep 2015 13:12:51 +0000 ·
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.
list Galen Johnson · Wed, 2 Sep 2015 15:46:08 +0000 ·
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=
quoted from Russell Blumenthal


From: Xymon <xymon-bounces at xymon.com> on behalf of Blumenthal, Russell <user-fa398f404f1f@xymon.invalid>
Sent: Wednesday, September 2, 2015 9:12 AM
To: 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.
list Russell Blumenthal · Thu, 3 Sep 2015 13:06:11 +0000 ·
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
quoted from Galen Johnson

From: Galen Johnson [mailto:user-87f955643e3d@xymon.invalid]
Sent: Wednesday, September 2, 2015 11:46 AM
To: Blumenthal, Russell <user-fa398f404f1f@xymon.invalid>; 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 <user-fa398f404f1f@xymon.invalid<mailto:user-fa398f404f1f@xymon.invalid>>
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.
list Galen Johnson · Fri, 4 Sep 2015 02:08:01 +0000 ·
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.
quoted from Russell Blumenthal


=G=


From: Xymon <xymon-bounces at xymon.com> on behalf of Blumenthal, Russell <user-fa398f404f1f@xymon.invalid>
Sent: Thursday, September 3, 2015 9:06 AM
To: 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:user-87f955643e3d@xymon.invalid]
Sent: Wednesday, September 2, 2015 11:46 AM
To: Blumenthal, Russell <user-fa398f404f1f@xymon.invalid>; 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 <user-fa398f404f1f@xymon.invalid<mailto:user-fa398f404f1f@xymon.invalid>>
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.
list Russell Blumenthal · Fri, 11 Sep 2015 13:50:57 +0000 ·
Perhaps Henrik or JC could provide insight?
quoted from Galen Johnson

From: Galen Johnson [mailto:user-87f955643e3d@xymon.invalid]
Sent: Thursday, September 3, 2015 10:08 PM
To: Blumenthal, Russell <user-fa398f404f1f@xymon.invalid>; 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 <user-fa398f404f1f@xymon.invalid<mailto:user-fa398f404f1f@xymon.invalid>>
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:user-87f955643e3d@xymon.invalid]
Sent: Wednesday, September 2, 2015 11:46 AM
To: Blumenthal, Russell <user-fa398f404f1f@xymon.invalid<mailto:user-fa398f404f1f@xymon.invalid>>; 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 <user-fa398f404f1f@xymon.invalid<mailto:user-fa398f404f1f@xymon.invalid>>
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.
list Russell Blumenthal · Tue, 22 Sep 2015 14:51:13 +0000 ·
Bump?

From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Blumenthal, Russell
Sent: Friday, September 11, 2015 9:51 AM
To: xymon at xymon.com
Subject: Re: [Xymon] Clear Ghostlist file?

Perhaps Henrik or JC could provide insight?

From: Galen Johnson [mailto:user-87f955643e3d@xymon.invalid]
Sent: Thursday, September 3, 2015 10:08 PM
To: Blumenthal, Russell <user-fa398f404f1f@xymon.invalid<mailto:user-fa398f404f1f@xymon.invalid>>; xymon at xymon.com<mailto: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 <user-fa398f404f1f@xymon.invalid<mailto:user-fa398f404f1f@xymon.invalid>>
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:user-87f955643e3d@xymon.invalid]
Sent: Wednesday, September 2, 2015 11:46 AM
To: Blumenthal, Russell <user-fa398f404f1f@xymon.invalid<mailto:user-fa398f404f1f@xymon.invalid>>; 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 <user-fa398f404f1f@xymon.invalid<mailto:user-fa398f404f1f@xymon.invalid>>
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.
list Henrik Størner · Tue, 22 Sep 2015 22:59:55 +0200 ·
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:
quoted from Russell Blumenthal
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:user-87f955643e3d@xymon.invalid]
*Sent:* Wednesday, September 2, 2015 11:46 AM
*To:* Blumenthal, Russell <user-fa398f404f1f@xymon.invalid>; 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 <user-fa398f404f1f@xymon.invalid <mailto:user-fa398f404f1f@xymon.invalid>>
*Sent:* Wednesday, September 2, 2015 9:12 AM
*To:* xymon at xymon.com <mailto:xymon at xymon.com>
quoted from Russell Blumenthal
*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.

list Ryan Novosielski · Tue, 22 Sep 2015 17:14:27 -0400 ·
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 | user-46c89e614701@xymon.invalid<mailto:user-46c89e614701@xymon.invalid>- 973/972.0922 (2x0922)
||  \\  Sciences | OIRT/High Perf & Res Comp - MSB C630, Newark
quoted from Henrik Størner
    `'

On Sep 22, 2015, at 17:00, Henrik Størner <user-ce4a2c883f75@xymon.invalid<mailto:user-ce4a2c883f75@xymon.invalid>> wrote:

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:user-87f955643e3d@xymon.invalid]
Sent: Wednesday, September 2, 2015 11:46 AM
To: Blumenthal, Russell <user-fa398f404f1f@xymon.invalid><mailto:user-fa398f404f1f@xymon.invalid>; 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 <user-fa398f404f1f@xymon.invalid<mailto:user-fa398f404f1f@xymon.invalid>>
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.
list Russell Blumenthal · Wed, 23 Sep 2015 11:59:25 +0000 ·
Thanks Henrik, that is good to know.
quoted from Henrik Størner

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:user-87f955643e3d@xymon.invalid]
Sent: Wednesday, September 2, 2015 11:46 AM
To: Blumenthal, Russell <user-fa398f404f1f@xymon.invalid><mailto:user-fa398f404f1f@xymon.invalid>; 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 <user-fa398f404f1f@xymon.invalid<mailto:user-fa398f404f1f@xymon.invalid>>
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.
list Russell Blumenthal · Wed, 23 Sep 2015 12:00:56 +0000 ·
Thanks, I restarted and it did in fact clear the file. Good to know too. I’ll periodically have my server restart to keep that file clean.

Thanks
quoted from Ryan Novosielski
From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Novosielski, Ryan
Sent: Tuesday, September 22, 2015 5:14 PM
To: Henrik Størner <user-ce4a2c883f75@xymon.invalid>
Cc: xymon at xymon.com
Subject: Re: [Xymon] Clear Ghostlist file?

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<file://UTGERS>      |---------------------*O*---------------------
quoted from Russell Blumenthal
||_// Biomedical | Ryan Novosielski - Senior Technologist
|| \\ and Health | user-46c89e614701@xymon.invalid<mailto:user-46c89e614701@xymon.invalid>- 973/972.0922 (2x0922)
||  \\  Sciences | OIRT/High Perf & Res Comp - MSB C630, Newark
    `'

On Sep 22, 2015, at 17:00, Henrik Størner <user-ce4a2c883f75@xymon.invalid<mailto:user-ce4a2c883f75@xymon.invalid>> wrote:
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:user-87f955643e3d@xymon.invalid]
Sent: Wednesday, September 2, 2015 11:46 AM
To: Blumenthal, Russell <user-fa398f404f1f@xymon.invalid><mailto:user-fa398f404f1f@xymon.invalid>; 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 <user-fa398f404f1f@xymon.invalid<mailto:user-fa398f404f1f@xymon.invalid>>
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.