How did you install the client, manual compilation or from one of the RPMs that others have built?<br><br>If you did it manually then in your init script add --hostname=XYZ as a parameter to runclient.sh (this does appear to map to the MACHINEDOTS variable inside runclient.sh).<br>
<br>Steve<br><br><br><div class="gmail_quote">On 23 February 2012 10:29, Pavel Traian <span dir="ltr"><<a href="mailto:paveltraian@yahoo.com">paveltraian@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font:inherit" valign="top">Hi,<br>I don't find any CLIENTNAME variable, but i have MACHINEDOTS variable in the runclient.sh which is said to be "# This systems hostname".<br>
I changed it to use 'hostanme -s' and still the same result as in the first message.<br>I have these files in tmp folder:<div class="im"><br><br>> -rw-rw-r-- 1 xymon xymon    41 Feb 22 13:17<br>
> logfetch.otpproxy1.cfg<br>
> -rw-rw-r-- 1 xymon xymon    41 Feb 22 13:17<br>
> logfetch.otpproxy1.status<br>
> -rw-r--r-- 1 root  root  35787 Feb 22 13:17<br>
> msg.otpproxy1.temenosgroup.com.txt<br>
> -rw-rw-r-- 1 xymon xymon 37183 Feb 22 13:17<br>
> msg.otpproxy1.txt<br>
> -rw-rw-r-- 1 xymon xymon   246 Feb 22 13:17<br>
> xymon_vmstat.otpproxy1.2637<br>
> -rw-rw-r-- 1 xymon xymon   246 Feb 22 13:14<br>
> xymon_vmstat.otpproxy1.temenosgroup.com.2597<br>
> -rw-r--r-- 1 root  root    246 Feb 22 13:17<br>
> xymon_vmstat.otpproxy1.temenosgroup.com.2681<br> 
<br></div>Do you have any explanation why i have all these files? Shouldn't it be only one named msg.otpproxy1.txt and not the second named msg.otpproxy1.temenosgroup.com.txt?<div class="im"><br>Regards,<br>Traian.<br>
<br><br><br>--- On <b>Thu, 2/23/12, Steven Carr <i><<a href="mailto:sjcarr@gmail.com" target="_blank">sjcarr@gmail.com</a>></i></b> wrote:<br></div><blockquote style="border-left:2px solid rgb(16,16,255);margin-left:5px;padding-left:5px">
<div class="im"><br>From: Steven Carr <<a href="mailto:sjcarr@gmail.com" target="_blank">sjcarr@gmail.com</a>><br>Subject: Re: [Xymon] Ghost client problems<br>To: "Pavel Traian" <<a href="mailto:paveltraian@yahoo.com" target="_blank">paveltraian@yahoo.com</a>>, <a href="mailto:xymon@xymon.com" target="_blank">xymon@xymon.com</a><br>
</div>Date: Thursday, February 23, 2012, 12:17 PM<div><div class="h5"><br><br><div>To use the shortname just change the CLIENTHOSTNAME variable to be the shortname, you can use whatever you want aslong as it matches with what you have in the main bb-hosts/hosts.cfg.<br>
<br>Steve<br><br><br><br><div>
On 23 February 2012 09:51, Pavel Traian <span dir="ltr"><<a rel="nofollow" href="http://mc/compose?to=paveltraian@yahoo.com" target="_blank">paveltraian@yahoo.com</a>></span> wrote:<br><blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font:inherit" valign="top">Hi,<br>If i want to use the short name how do i proceed?<br>What config files from the client installation should I modify? <br>

Regards,<br>Traian.<br><br><br>--- On <b>Thu, 2/23/12, Steven Carr <i><<a rel="nofollow" href="http://mc/compose?to=sjcarr@gmail.com" target="_blank">sjcarr@gmail.com</a>></i></b> wrote:<br><blockquote style="border-left:2px solid rgb(16,16,255);margin-left:5px;padding-left:5px">

<br>From: Steven Carr <<a rel="nofollow" href="http://mc/compose?to=sjcarr@gmail.com" target="_blank">sjcarr@gmail.com</a>><br>Subject: Re: [Xymon] Ghost client problems<br>To: "Pavel Traian" <<a rel="nofollow" href="http://mc/compose?to=paveltraian@yahoo.com" target="_blank">paveltraian@yahoo.com</a>>, <a rel="nofollow" href="http://mc/compose?to=xymon@xymon.com" target="_blank">xymon@xymon.com</a><br>

Date: Thursday, February 23, 2012, 11:02 AM<div><div><br><br><div>On all of our systems I force the client to use it's FQDN, in /etc/sysconfig/xymon I configure the CLIENTHOSTNAME variable to be the FQDN e.g. as part of our build script it runs:<br>

<br>sed -i "s/# CLIENTHOSTNAME=\"\"/CLIENTHOSTNAME=\"`hostname -f`\"/g" /etc/sysconfig/xymon<br>
<br>Steve<br><br><br><br><div>On 23 February 2012 08:45, Pavel Traian <span dir="ltr"><<a rel="nofollow" href="http://mc/compose?to=paveltraian@yahoo.com" target="_blank">paveltraian@yahoo.com</a>></span> wrote:<br>

<blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
I have added the short name to hosts.cfg otpproxy1 not <a rel="nofollow" href="http://otpproxy1.temenosgroup.com" target="_blank">otpproxy1.temenosgroup.com</a>. On the Xymon page i have the conn, disk, cpu, procs... all the tests are active there(it means the server receives the client data report).<br>



But the client seems to send the data report using the FQDN also and the server sees it like ghost client.<br>
How can i do to prevent it.<br>
Regards,<br>
Traian.<br>
<div><br>
<br>
<br>
Simple stuff first, do you have the client listed in ~/server/etc/hosts.cfg ?<br>
<br>
A little clarification: ghost clients are generally clients that are sending data to the server, but the server is not configured to display them.<br>
<br>
</div>--- On Wed, 2/22/12, Pavel Traian <<a rel="nofollow" href="http://mc/compose?to=paveltraian@yahoo.com" target="_blank">paveltraian@yahoo.com</a>> wrote:<br>
<br>
> From: Pavel Traian <<a rel="nofollow" href="http://mc/compose?to=paveltraian@yahoo.com" target="_blank">paveltraian@yahoo.com</a>><br>
> Subject: Ghost client problems<br>
> To: <a rel="nofollow" href="http://mc/compose?to=xymon@xymon.com" target="_blank">xymon@xymon.com</a><br>
> Date: Wednesday, February 22, 2012, 1:51 PM<br>
<div><div>> Hi,<br>
> I have installed a xymon client on a CentOS 6 x64 server.<br>
> Everything looks good except the fact that even the Xymon<br>
> server receives data and its' page is OK(the client is there<br>
> diplayed with its' short name) i have the same client<br>
> displayed in Ghost Clients(this time with its' FQDN).<br>
> I have checked on the client and i have too many files in<br>
> xymon/client/tmp folder.<br>
> It looks something like this:<br>
><br>
> -rw-rw-r-- 1 xymon xymon    41 Feb 22 13:17<br>
> logfetch.otpproxy1.cfg<br>
> -rw-rw-r-- 1 xymon xymon    41 Feb 22 13:17<br>
> logfetch.otpproxy1.status<br>
> -rw-r--r-- 1 root  root  35787 Feb 22 13:17<br>
> msg.otpproxy1.temenosgroup.com.txt<br>
> -rw-rw-r-- 1 xymon xymon 37183 Feb 22 13:17<br>
> msg.otpproxy1.txt<br>
> -rw-rw-r-- 1 xymon xymon   246 Feb 22 13:17<br>
> xymon_vmstat.otpproxy1.2637<br>
> -rw-rw-r-- 1 xymon xymon   246 Feb 22 13:14<br>
> xymon_vmstat.otpproxy1.temenosgroup.com.2597<br>
> -rw-r--r-- 1 root  root    246 Feb 22 13:17<br>
> xymon_vmstat.otpproxy1.temenosgroup.com.2681<br>
><br>
> It seems like the client is started al least twice....<br>
> How can I set it right?<br>
> Regards,<br>
> Traian.<br>
><br>
_______________________________________________<br>
Xymon mailing list<br>
<a rel="nofollow" href="http://mc/compose?to=Xymon@xymon.com" target="_blank">Xymon@xymon.com</a><br>
<a rel="nofollow" href="http://lists.xymon.com/mailman/listinfo/xymon" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
</div></div></blockquote></div><br>
</div></div></div></blockquote></td></tr></tbody></table></blockquote></div><br>
</div></div></div></blockquote></td></tr></tbody></table></blockquote></div><br>