<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi,<br>That one i have solved it, but....<br>Now i have reinstallled the client and i started it using ./runclient.sh --hostname=host start command from xymon user.<br>On the xymon server web page all the tests(disk,cpu etc) appear in violet colour and i see there the last report i had from when it functioned ok.<br>On the client i have issued some commands and you have the output here:<br><br>[root@otpproxy1 tmp]# ps -ef | grep xymon<br>xymon 3785 1 0 09:44 ? 00:00:00 ./bin/xymonlaunch --config=./etc/clientlaunch.cfg --log=./logs/clientlaunch.log --pidfile=./logs/clientlaunch.otpproxy1.pid<br>xymon 5892 1 0 13:54 ? 00:00:00 sh -c vmstat 300 2
1>./tmp/xymon_vmstat.otpproxy1.5867 2>&1; mv ./tmp/xymon_vmstat.otpproxy1.5867 ./tmp/xymon_vmstat.otpproxy1<br>xymon 5894 5892 0 13:54 ? 00:00:00 vmstat 300 2<br>root 5902 5686 0 13:57 pts/0 00:00:00 grep xymon<br>[root@otpproxy1 tmp]# ps -e | grep xymon<br> 3785 ? 00:00:00 xymonlaunch<br>[root@otpproxy1 tmp]# ls -l<br>total 36<br>-rw-rw-r-- 1 xymon xymon 32690 Feb 27 13:54 msg.otpproxy1.txt<br>-rw-rw-r-- 1 xymon xymon 246 Feb 27 13:54 xymon_vmstat.otpproxy1.5867<br>[root@otpproxy1 tmp]#<br><br>As i see there are some files missing from tmp directory. I don't understand why.<br>Can you please give me a hint?<br>Regards,<br>Traian.<br><br><br><br>--- On <b>Thu, 2/23/12, Chris.Morris@rwe.com <i><Chris.Morris@rwe.com></i></b> wrote:<br><blockquote
style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Chris.Morris@rwe.com <Chris.Morris@rwe.com><br>Subject: RE: [Xymon] Ghost client problems<br>To: xymon@xymon.com<br>Cc: paveltraian@yahoo.com<br>Date: Thursday, February 23, 2012, 2:17 PM<br><br><div id="yiv1178515213">
<div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"><span class="yiv1178515213444441312-23022012">A simple ps -ef | grep xymon will show what xymon
processes are running and which user is running them.</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"><span class="yiv1178515213444441312-23022012"></span></font> </div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"><span class="yiv1178515213444441312-23022012">Look for 2 instances of
xymonlaunch.</span></font></div><br>
<blockquote style="MARGIN-RIGHT:0px;">
<div class="yiv1178515213OutlookMessageHeader" dir="ltr" lang="en-us" align="left">
<hr tabindex="-1">
<font face="Tahoma" size="2"><b>From:</b> xymon-bounces@xymon.com
[mailto:xymon-bounces@xymon.com] <b>On Behalf Of </b>Pavel
Traian<br><b>Sent:</b> 23 February 2012 12:03<br><b>To:</b> xymon@xymon.com;
Steven Carr<br><b>Subject:</b> Re: [Xymon] Ghost client
problems<br></font><br></div>
<div></div>
<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td valign="top"><br>Hi,<br>This is my original question.<br>If i knew the
answer i shouldn't ask for help.<br>I don't know where to check and what
to check.<br>Regards,<br>Traian.<br><br><br>--- On <b>Thu, 2/23/12,
Steven Carr <i><sjcarr@gmail.com></i></b> wrote:<br>
<blockquote style="PADDING-LEFT:5px;MARGIN-LEFT:5px;BORDER-LEFT:rgb(16,16,255) 2px solid;"><br>From:
Steven Carr <sjcarr@gmail.com><br>Subject: Re: [Xymon] Ghost
client problems<br>To: "Pavel Traian" <paveltraian@yahoo.com>,
xymon@xymon.com<br>Date: Thursday, February 23, 2012, 1:43 PM<br><br>
<div id="yiv1178515213">Why are the FQDN named files owned by root? this
would seem to indicate that root is running commands to output those
files? xymon client should be running as the xymon user only. Is
something else on your system starting up a second instance of the
client?<br><br>Steve<br><br><br><br><br>
<div class="yiv1178515213gmail_quote">On 23 February 2012 11:30, Pavel
Traian <span dir="ltr"><<a rel="nofollow">paveltraian@yahoo.com</a>></span>
wrote:<br>
<blockquote class="yiv1178515213gmail_quote" style="PADDING-LEFT:1ex;MARGIN:0px 0px 0px 0.8ex;BORDER-LEFT:#ccc 1px solid;">
<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td valign="top">Hi,<br>I have manually compiled it.<br>I start
it using ./runclient.sh --hostname=otpproxy1 start
command.(otpproxy1 is the client name in hosts.cfg)<br>Here
you have the commands i gave:<br><br>[xymon@otpproxy1 tmp]$ rm
-f *<br>[xymon@otpproxy1 tmp]$ ls -l<br>total
0<br>[xymon@otpproxy1 tmp]$<br>[xymon@otpproxy1
tmp]$<br>[xymon@otpproxy1 tmp]$<br>[xymon@otpproxy1 tmp]$ cd
..<br>[xymon@otpproxy1 client]$ ./runclient.sh
--hostname=otpproxy1 start<br>Xymon client for linux started
on otpproxy1<br>[xymon@otpproxy1 client]$ cd
tmp<br>[xymon@otpproxy1 tmp]$ ls -l<br>total 44<br>-rw-rw-r--
1 xymon xymon 41 Feb 23 13:13
logfetch.otpproxy1.cfg<br>-rw-rw-r-- 1 xymon xymon 33175 Feb
23 13:13 msg.otpproxy1.txt<br>-rw-rw-r-- 1 xymon
xymon 246 Feb 23 13:12
xymon_vmstat.otpproxy1.7180<br>[xymon@otpproxy1 tmp]$ ls
-l<br>total 84<br>-rw-rw-r-- 1 xymon xymon
41 Feb 23 13:18 logfetch.otpproxy1.cfg<br>-rw-rw-r-- 1 xymon
xymon 35 Feb 23 13:18
logfetch.otpproxy1.status<br>-rw-r--r-- 1 root
root 32347 Feb 23 13:17
msg.otpproxy1.temenosgroup.com.txt<br>-rw-rw-r-- 1 xymon xymon
35555 Feb 23 13:18 msg.otpproxy1.txt<br>-rw-rw-r-- 1 xymon
xymon 246 Feb 23 13:17
xymon_vmstat.otpproxy1.7262<br>-rw-r--r-- 1 root
root 246 Feb 23 13:16
xymon_vmstat.otpproxy1.temenosgroup.com.7223<br>[xymon@otpproxy1
tmp]$<br><br>After i start it i have only msg.otpproxy1.txt
file in tmp folder but after a while i have also
msg.otpproxy1.temenosgroup.com.txt file.<br>Why does it
happen? What do i do wrong?
<div class="yiv1178515213im"><br>Regards,<br>Traian.<br><br><br><br>---
On <b>Thu, 2/23/12, Steven Carr <i><<a rel="nofollow">sjcarr@gmail.com</a>></i></b>
wrote:<br></div>
<blockquote style="PADDING-LEFT:5px;MARGIN-LEFT:5px;BORDER-LEFT:rgb(16,16,255) 2px solid;">
<div class="yiv1178515213im"><br>From: Steven Carr <<a rel="nofollow">sjcarr@gmail.com</a>><br>Subject:
Re: [Xymon] Ghost client problems<br>To: "Pavel Traian"
<<a rel="nofollow">paveltraian@yahoo.com</a>><br></div>Cc:
<a rel="nofollow">xymon@xymon.com</a><br>Date:
Thursday, February 23, 2012, 12:36 PM
<div>
<div class="yiv1178515213h5"><br><br>
<div>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>On 23 February 2012 10:29, Pavel Traian <span dir="ltr"><<a rel="nofollow" target="_blank" href="http://mc/compose?to=paveltraian@yahoo.com">paveltraian@yahoo.com</a>></span> wrote:<br>
<blockquote style="PADDING-LEFT:1ex;MARGIN:0px 0px 0px 0.8ex;BORDER-LEFT:#ccc 1px solid;">
<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td 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><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><br>Regards,<br>Traian.<br><br><br><br>--- On
<b>Thu, 2/23/12, Steven Carr <i><<a rel="nofollow" target="_blank" href="http://mc/compose?to=sjcarr@gmail.com">sjcarr@gmail.com</a>></i></b>
wrote:<br></div>
<blockquote style="PADDING-LEFT:5px;MARGIN-LEFT:5px;BORDER-LEFT:rgb(16,16,255) 2px solid;">
<div><br>From: Steven Carr <<a rel="nofollow" target="_blank" href="http://mc/compose?to=sjcarr@gmail.com">sjcarr@gmail.com</a>><br>Subject:
Re: [Xymon] Ghost client problems<br>To: "Pavel
Traian" <<a rel="nofollow" target="_blank" href="http://mc/compose?to=paveltraian@yahoo.com">paveltraian@yahoo.com</a>>, <a rel="nofollow" target="_blank" href="http://mc/compose?to=xymon@xymon.com">xymon@xymon.com</a><br></div>Date:
Thursday, February 23, 2012, 12:17 PM
<div>
<div><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" target="_blank" href="http://mc/compose?to=paveltraian@yahoo.com">paveltraian@yahoo.com</a>></span>
wrote:<br>
<blockquote style="PADDING-LEFT:1ex;MARGIN:0px 0px 0px 0.8ex;BORDER-LEFT:#ccc 1px solid;">
<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td 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" target="_blank" href="http://mc/compose?to=sjcarr@gmail.com">sjcarr@gmail.com</a>></i></b>
wrote:<br>
<blockquote style="PADDING-LEFT:5px;MARGIN-LEFT:5px;BORDER-LEFT:rgb(16,16,255) 2px solid;"><br>From:
Steven Carr <<a rel="nofollow" target="_blank" href="http://mc/compose?to=sjcarr@gmail.com">sjcarr@gmail.com</a>><br>Subject:
Re: [Xymon] Ghost client problems<br>To: "Pavel
Traian" <<a rel="nofollow" target="_blank" href="http://mc/compose?to=paveltraian@yahoo.com">paveltraian@yahoo.com</a>>, <a rel="nofollow" target="_blank" href="http://mc/compose?to=xymon@xymon.com">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" target="_blank" href="http://mc/compose?to=paveltraian@yahoo.com">paveltraian@yahoo.com</a>></span>
wrote:<br>
<blockquote style="PADDING-LEFT:1ex;MARGIN:0px 0px 0px 0.8ex;BORDER-LEFT:#ccc 1px solid;">Hi,<br>I
have added the short name to hosts.cfg otpproxy1
not <a rel="nofollow" target="_blank" href="http://otpproxy1.temenosgroup.com">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" target="_blank" href="http://mc/compose?to=paveltraian@yahoo.com">paveltraian@yahoo.com</a>>
wrote:<br><br>> From: Pavel Traian <<a rel="nofollow" target="_blank" href="http://mc/compose?to=paveltraian@yahoo.com">paveltraian@yahoo.com</a>><br>>
Subject: Ghost client problems<br>> To: <a rel="nofollow" target="_blank" href="http://mc/compose?to=xymon@xymon.com">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" target="_blank" href="http://mc/compose?to=Xymon@xymon.com">Xymon@xymon.com</a><br><a rel="nofollow" target="_blank" href="http://lists.xymon.com/mailman/listinfo/xymon">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></div></div></div></blockquote></td></tr></tbody></table></blockquote></div><br></div></blockquote></td></tr></tbody></table></blockquote>
<p><span style="font-family:'MS Sans Serif';font-size:8.2pt;">**************************************************************************** </span></p>
<p><span style="font-family:'MS Sans Serif';font-size:8.2pt;">The information contained in this email is intended only for the use of the intended recipient at the email address to which it has been addressed. If the reader of this message is not an intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination or copying of the message or associated attachments is strictly prohibited. If you have received this email in error, please contact the sender by return email or call 01793 877777 and ask for the sender and then delete it immediately from your system.Please note that neither the RWE Group of Companies nor the sender accepts any responsibility for viruses and it is your responsibility to scan attachments (if any). </span></p>
<p><span style="font-family:'MS Sans Serif';font-size:8.2pt;"> </span></p>
<p><span style="font-family:'MS Sans Serif';font-size:8.2pt;">***************************************************************************** </span></p>
<p><span style="font-family:'MS Sans Serif';font-size:8.2pt;"> </span></p></div>
</div></blockquote></td></tr></table>