Xymon Mailing List Archive search

Ghost client problems

list Steven Carr
Thu, 23 Feb 2012 09:02:14 +0000
Message-Id: <CALMep04H8MDq7ZndWyuh+FQN7Y2tY=user-dd22ba3f6beb@xymon.invalid>

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:

sed -i "s/# CLIENTHOSTNAME=\"\"/CLIENTHOSTNAME=\"`hostname -f`\"/g"
/etc/sysconfig/xymon

Steve


On 23 February 2012 08:45, Pavel Traian <user-3b0d733c2299@xymon.invalid> wrote:
Hi,
I have added the short name to hosts.cfg otpproxy1 not
otpproxy1.temenosgroup.com. 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).
But the client seems to send the data report using the FQDN also and the
server sees it like ghost client.
How can i do to prevent it.
Regards,
Traian.


Simple stuff first, do you have the client listed in
~/server/etc/hosts.cfg ?

A little clarification: ghost clients are generally clients that are
sending data to the server, but the server is not configured to display
them.

--- On Wed, 2/22/12, Pavel Traian <user-3b0d733c2299@xymon.invalid> wrote:
From: Pavel Traian <user-3b0d733c2299@xymon.invalid>
Subject: Ghost client problems
To: xymon at xymon.com
Date: Wednesday, February 22, 2012, 1:51 PM
Hi,
I have installed a xymon client on a CentOS 6 x64 server.
Everything looks good except the fact that even the Xymon
server receives data and its' page is OK(the client is there
diplayed with its' short name) i have the same client
displayed in Ghost Clients(this time with its' FQDN).
I have checked on the client and i have too many files in
xymon/client/tmp folder.
It looks something like this:

-rw-rw-r-- 1 xymon xymon    41 Feb 22 13:17
logfetch.otpproxy1.cfg
-rw-rw-r-- 1 xymon xymon    41 Feb 22 13:17
logfetch.otpproxy1.status
-rw-r--r-- 1 root  root  35787 Feb 22 13:17
msg.otpproxy1.temenosgroup.com.txt
-rw-rw-r-- 1 xymon xymon 37183 Feb 22 13:17
msg.otpproxy1.txt
-rw-rw-r-- 1 xymon xymon   246 Feb 22 13:17
xymon_vmstat.otpproxy1.2637
-rw-rw-r-- 1 xymon xymon   246 Feb 22 13:14
xymon_vmstat.otpproxy1.temenosgroup.com.2597
-rw-r--r-- 1 root  root    246 Feb 22 13:17
xymon_vmstat.otpproxy1.temenosgroup.com.2681

It seems like the client is started al least twice....
How can I set it right?
Regards,
Traian.