Xymon Mailing List Archive search

Ghost client problems

26 messages in this thread

list Pavel Traian · Wed, 22 Feb 2012 03:51:38 -0800 (PST) ·
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.
list Jamison Maxwell · Wed, 22 Feb 2012 14:21:22 +0000 ·
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.
quoted from Pavel Traian

-----Original Message-----
From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of Pavel Traian
Sent: Wednesday, February 22, 2012 6:52 AM
To: xymon at xymon.com
Subject: [Xymon] Ghost client problems

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.
list Pavel Traian · Thu, 23 Feb 2012 00:45:20 -0800 (PST) ·
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.
quoted from Jamison Maxwell


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.
list Steven Carr · Thu, 23 Feb 2012 09:02:14 +0000 ·
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
quoted from Pavel Traian


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.
list Pavel Traian · Thu, 23 Feb 2012 01:51:02 -0800 (PST) ·
Hi,
If i want to use the short name how do i proceed?
What config files from the client installation should I modify? 
Regards,
Traian.
quoted from Steven Carr


--- On Thu, 2/23/12, Steven Carr <user-923b20c0d620@xymon.invalid> wrote:

From: Steven Carr <user-923b20c0d620@xymon.invalid>
Subject: Re: [Xymon] Ghost client problems
To: "Pavel Traian" <user-3b0d733c2299@xymon.invalid>, xymon at xymon.com
Date: Thursday, February 23, 2012, 11:02 AM

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.
list Steven Carr · Thu, 23 Feb 2012 10:17:58 +0000 ·
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.

Steve
quoted from Pavel Traian


On 23 February 2012 09:51, Pavel Traian <user-3b0d733c2299@xymon.invalid> wrote:
Hi,
If i want to use the short name how do i proceed?
What config files from the client installation should I modify?
Regards,
Traian.


--- On *Thu, 2/23/12, Steven Carr <user-923b20c0d620@xymon.invalid>* wrote:


From: Steven Carr <user-923b20c0d620@xymon.invalid>
Subject: Re: [Xymon] Ghost client problems
To: "Pavel Traian" <user-3b0d733c2299@xymon.invalid>, xymon at xymon.com
Date: Thursday, February 23, 2012, 11:02 AM


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<http://mc/compose?to=user-3b0d733c2299@xymon.invalid>;
quoted from Pavel Traian
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<http://mc/compose?to=user-3b0d733c2299@xymon.invalid>>;
quoted from Pavel Traian
wrote:
From: Pavel Traian <user-3b0d733c2299@xymon.invalid<http://mc/compose?to=user-3b0d733c2299@xymon.invalid>;

Subject: Ghost client problems
To: xymon at xymon.com <http://mc/compose?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.
list Pavel Traian · Thu, 23 Feb 2012 02:29:29 -0800 (PST) ·
Hi,
I don't find any CLIENTNAME variable, but i have MACHINEDOTS variable in the runclient.sh which is said to be "# This systems hostname".
I changed it to use 'hostanme -s' and still the same result as in the first message.
I have these files in tmp folder:
quoted from Steven Carr
-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
 

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?
quoted from Steven Carr
Regards,
Traian.


--- On Thu, 2/23/12, Steven Carr <user-923b20c0d620@xymon.invalid> wrote:

From: Steven Carr <user-923b20c0d620@xymon.invalid>
Subject: Re: [Xymon] Ghost client problems
To: "Pavel Traian" <user-3b0d733c2299@xymon.invalid>, xymon at xymon.com
Date: Thursday, February 23, 2012, 12:17 PM

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.

Steve


On 23 February 2012 09:51, Pavel Traian <user-3b0d733c2299@xymon.invalid> wrote:

Hi,
If i want to use the short name how do i proceed?
What config files from the client installation should I modify? 

Regards,
Traian.


--- On Thu, 2/23/12, Steven Carr <user-923b20c0d620@xymon.invalid> wrote:


From: Steven Carr <user-923b20c0d620@xymon.invalid>
Subject: Re: [Xymon] Ghost client problems
To: "Pavel Traian" <user-3b0d733c2299@xymon.invalid>, xymon at xymon.com

Date: Thursday, February 23, 2012, 11:02 AM

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.
list Steven Carr · Thu, 23 Feb 2012 10:36:53 +0000 ·
How did you install the client, manual compilation or from one of the RPMs
that others have built?

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

Steve
quoted from Pavel Traian


On 23 February 2012 10:29, Pavel Traian <user-3b0d733c2299@xymon.invalid> wrote:
Hi,
I don't find any CLIENTNAME variable, but i have MACHINEDOTS variable in
the runclient.sh which is said to be "# This systems hostname".
I changed it to use 'hostanme -s' and still the same result as in the
first message.
I have these files in tmp folder:

-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
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?

Regards,
Traian.


--- On *Thu, 2/23/12, Steven Carr <user-923b20c0d620@xymon.invalid>* wrote:


From: Steven Carr <user-923b20c0d620@xymon.invalid>
Subject: Re: [Xymon] Ghost client problems
To: "Pavel Traian" <user-3b0d733c2299@xymon.invalid>, xymon at xymon.com
Date: Thursday, February 23, 2012, 12:17 PM


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.

Steve


On 23 February 2012 09:51, Pavel Traian <user-3b0d733c2299@xymon.invalid<http://mc/compose?to=user-3b0d733c2299@xymon.invalid>;
quoted from Pavel Traian
wrote:
Hi,
If i want to use the short name how do i proceed?
What config files from the client installation should I modify?
Regards,
Traian.


--- On *Thu, 2/23/12, Steven Carr <user-923b20c0d620@xymon.invalid<http://mc/compose?to=user-923b20c0d620@xymon.invalid>;
quoted from Pavel Traian
* wrote:

From: Steven Carr <user-923b20c0d620@xymon.invalid<http://mc/compose?to=user-923b20c0d620@xymon.invalid>;
Subject: Re: [Xymon] Ghost client problems
To: "Pavel Traian" <user-3b0d733c2299@xymon.invalid<http://mc/compose?to=user-3b0d733c2299@xymon.invalid>>;,
xymon at xymon.com <http://mc/compose?to=xymon at xymon.com>
Date: Thursday, February 23, 2012, 11:02 AM


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<http://mc/compose?to=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<http://mc/compose?to=user-3b0d733c2299@xymon.invalid>>;
wrote:
From: Pavel Traian <user-3b0d733c2299@xymon.invalid<http://mc/compose?to=user-3b0d733c2299@xymon.invalid>;

Subject: Ghost client problems
To: xymon at xymon.com <http://mc/compose?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.
list Pavel Traian · Thu, 23 Feb 2012 03:30:55 -0800 (PST) ·
Hi,
I have manually compiled it.
I start it using ./runclient.sh --hostname=otpproxy1 start command.(otpproxy1 is the client name in hosts.cfg)
Here you have the commands i gave:

[xymon at otpproxy1 tmp]$ rm -f *
[xymon at otpproxy1 tmp]$ ls -l
total 0
[xymon at otpproxy1 tmp]$
[xymon at otpproxy1 tmp]$
[xymon at otpproxy1 tmp]$
[xymon at otpproxy1 tmp]$ cd ..
[xymon at otpproxy1 client]$ ./runclient.sh --hostname=otpproxy1 start
Xymon client for linux started on otpproxy1
[xymon at otpproxy1 client]$ cd tmp
[xymon at otpproxy1 tmp]$ ls -l
total 44
-rw-rw-r-- 1 xymon xymon    41 Feb 23 13:13 logfetch.otpproxy1.cfg
-rw-rw-r-- 1 xymon xymon 33175 Feb 23 13:13 msg.otpproxy1.txt
-rw-rw-r-- 1 xymon xymon   246 Feb 23 13:12 xymon_vmstat.otpproxy1.7180
[xymon at otpproxy1 tmp]$ ls -l
total 84
-rw-rw-r-- 1 xymon xymon    41 Feb 23 13:18 logfetch.otpproxy1.cfg
-rw-rw-r-- 1 xymon xymon    35 Feb 23 13:18 logfetch.otpproxy1.status
-rw-r--r-- 1 root  root  32347 Feb 23 13:17 msg.otpproxy1.temenosgroup.com.txt
-rw-rw-r-- 1 xymon xymon 35555 Feb 23 13:18 msg.otpproxy1.txt
-rw-rw-r-- 1 xymon xymon   246 Feb 23 13:17 xymon_vmstat.otpproxy1.7262
-rw-r--r-- 1 root  root    246 Feb 23 13:16 xymon_vmstat.otpproxy1.temenosgroup.com.7223
[xymon at otpproxy1 tmp]$

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.
Why does it happen? What do i do wrong?
quoted from Steven Carr
Regards,
Traian.


--- On Thu, 2/23/12, Steven Carr <user-923b20c0d620@xymon.invalid> wrote:

From: Steven Carr <user-923b20c0d620@xymon.invalid>
Subject: Re: [Xymon] Ghost client problems
To: "Pavel Traian" <user-3b0d733c2299@xymon.invalid>
Cc: xymon at xymon.com
Date: Thursday, February 23, 2012, 12:36 PM

How did you install the client, manual compilation or from one of the RPMs that others have built?

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


Steve


On 23 February 2012 10:29, Pavel Traian <user-3b0d733c2299@xymon.invalid> wrote:

Hi,
I don't find any CLIENTNAME variable, but i have MACHINEDOTS variable in the runclient.sh which is said to be "# This systems hostname".

I changed it to use 'hostanme -s' and still the same result as in the first message.
I have these files in tmp folder:
-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
 

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?
Regards,
Traian.


--- On Thu, 2/23/12, Steven Carr <user-923b20c0d620@xymon.invalid> wrote:


From: Steven Carr <user-923b20c0d620@xymon.invalid>
Subject: Re: [Xymon] Ghost client problems
To: "Pavel Traian" <user-3b0d733c2299@xymon.invalid>, xymon at xymon.com

Date: Thursday, February 23, 2012, 12:17 PM

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.


Steve


On 23 February 2012 09:51, Pavel Traian <user-3b0d733c2299@xymon.invalid> wrote:


Hi,
If i want to use the short name how do i proceed?
What config files from the client installation should I modify? 


Regards,
Traian.


--- On Thu, 2/23/12, Steven Carr <user-923b20c0d620@xymon.invalid> wrote:


From: Steven Carr <user-923b20c0d620@xymon.invalid>
Subject: Re: [Xymon] Ghost client problems
To: "Pavel Traian" <user-3b0d733c2299@xymon.invalid>, xymon at xymon.com


Date: Thursday, February 23, 2012, 11:02 AM

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.
list Steven Carr · Thu, 23 Feb 2012 11:43:36 +0000 ·
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?

Steve
quoted from Pavel Traian


On 23 February 2012 11:30, Pavel Traian <user-3b0d733c2299@xymon.invalid> wrote:
Hi,
I have manually compiled it.
I start it using ./runclient.sh --hostname=otpproxy1 start
command.(otpproxy1 is the client name in hosts.cfg)
Here you have the commands i gave:

[xymon at otpproxy1 tmp]$ rm -f *
[xymon at otpproxy1 tmp]$ ls -l
total 0
[xymon at otpproxy1 tmp]$
[xymon at otpproxy1 tmp]$
[xymon at otpproxy1 tmp]$
[xymon at otpproxy1 tmp]$ cd ..
[xymon at otpproxy1 client]$ ./runclient.sh --hostname=otpproxy1 start
Xymon client for linux started on otpproxy1
[xymon at otpproxy1 client]$ cd tmp
[xymon at otpproxy1 tmp]$ ls -l
total 44
-rw-rw-r-- 1 xymon xymon    41 Feb 23 13:13 logfetch.otpproxy1.cfg
-rw-rw-r-- 1 xymon xymon 33175 Feb 23 13:13 msg.otpproxy1.txt
-rw-rw-r-- 1 xymon xymon   246 Feb 23 13:12 xymon_vmstat.otpproxy1.7180
[xymon at otpproxy1 tmp]$ ls -l
total 84
-rw-rw-r-- 1 xymon xymon    41 Feb 23 13:18 logfetch.otpproxy1.cfg
-rw-rw-r-- 1 xymon xymon    35 Feb 23 13:18 logfetch.otpproxy1.status
-rw-r--r-- 1 root  root  32347 Feb 23 13:17
msg.otpproxy1.temenosgroup.com.txt
-rw-rw-r-- 1 xymon xymon 35555 Feb 23 13:18 msg.otpproxy1.txt
-rw-rw-r-- 1 xymon xymon   246 Feb 23 13:17 xymon_vmstat.otpproxy1.7262
-rw-r--r-- 1 root  root    246 Feb 23 13:16
xymon_vmstat.otpproxy1.temenosgroup.com.7223
[xymon at otpproxy1 tmp]$

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.
Why does it happen? What do i do wrong?

Regards,
Traian.


--- On *Thu, 2/23/12, Steven Carr <user-923b20c0d620@xymon.invalid>* wrote:


From: Steven Carr <user-923b20c0d620@xymon.invalid>
Subject: Re: [Xymon] Ghost client problems
To: "Pavel Traian" <user-3b0d733c2299@xymon.invalid>
Cc: xymon at xymon.com
Date: Thursday, February 23, 2012, 12:36 PM


How did you install the client, manual compilation or from one of the RPMs
that others have built?

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

Steve


On 23 February 2012 10:29, Pavel Traian <user-3b0d733c2299@xymon.invalid<http://mc/compose?to=user-3b0d733c2299@xymon.invalid>;
wrote:
Hi,
I don't find any CLIENTNAME variable, but i have MACHINEDOTS variable in
the runclient.sh which is said to be "# This systems hostname".
I changed it to use 'hostanme -s' and still the same result as in the
first message.
I have these files in tmp folder:

-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
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?

Regards,
Traian.


--- On *Thu, 2/23/12, Steven Carr <user-923b20c0d620@xymon.invalid<http://mc/compose?to=user-923b20c0d620@xymon.invalid>;
* wrote:

From: Steven Carr <user-923b20c0d620@xymon.invalid<http://mc/compose?to=user-923b20c0d620@xymon.invalid>;
Subject: Re: [Xymon] Ghost client problems
To: "Pavel Traian" <user-3b0d733c2299@xymon.invalid<http://mc/compose?to=user-3b0d733c2299@xymon.invalid>>;,
xymon at xymon.com <http://mc/compose?to=xymon at xymon.com>
Date: Thursday, February 23, 2012, 12:17 PM


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.

Steve


On 23 February 2012 09:51, Pavel Traian <user-3b0d733c2299@xymon.invalid<http://mc/compose?to=user-3b0d733c2299@xymon.invalid>;
wrote:
Hi,
If i want to use the short name how do i proceed?
What config files from the client installation should I modify?
Regards,
Traian.


--- On *Thu, 2/23/12, Steven Carr <user-923b20c0d620@xymon.invalid<http://mc/compose?to=user-923b20c0d620@xymon.invalid>;
* wrote:

From: Steven Carr <user-923b20c0d620@xymon.invalid<http://mc/compose?to=user-923b20c0d620@xymon.invalid>;
Subject: Re: [Xymon] Ghost client problems
To: "Pavel Traian" <user-3b0d733c2299@xymon.invalid<http://mc/compose?to=user-3b0d733c2299@xymon.invalid>>;,
xymon at xymon.com <http://mc/compose?to=xymon at xymon.com>
Date: Thursday, February 23, 2012, 11:02 AM


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<http://mc/compose?to=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<http://mc/compose?to=user-3b0d733c2299@xymon.invalid>>;
wrote:
From: Pavel Traian <user-3b0d733c2299@xymon.invalid<http://mc/compose?to=user-3b0d733c2299@xymon.invalid>;

Subject: Ghost client problems
To: xymon at xymon.com <http://mc/compose?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.
list Pavel Traian · Thu, 23 Feb 2012 04:03:14 -0800 (PST) ·
Hi,
This is my original question.
If i knew the answer i shouldn't ask for help.
I don't know where to check and what to check.
quoted from Steven Carr
Regards,
Traian.


--- On Thu, 2/23/12, Steven Carr <user-923b20c0d620@xymon.invalid> wrote:

From: Steven Carr <user-923b20c0d620@xymon.invalid>
Subject: Re: [Xymon] Ghost client problems
To: "Pavel Traian" <user-3b0d733c2299@xymon.invalid>, xymon at xymon.com
Date: Thursday, February 23, 2012, 1:43 PM

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?


Steve


On 23 February 2012 11:30, Pavel Traian <user-3b0d733c2299@xymon.invalid> wrote:

Hi,
I have manually compiled it.
I start it using ./runclient.sh --hostname=otpproxy1 start command.(otpproxy1 is the client name in hosts.cfg)

Here you have the commands i gave:

[xymon at otpproxy1 tmp]$ rm -f *
[xymon at otpproxy1 tmp]$ ls -l
total 0
[xymon at otpproxy1 tmp]$
[xymon at otpproxy1 tmp]$
[xymon at otpproxy1 tmp]$
[xymon at otpproxy1 tmp]$ cd ..

[xymon at otpproxy1 client]$ ./runclient.sh --hostname=otpproxy1 start
Xymon client for linux started on otpproxy1
[xymon at otpproxy1 client]$ cd tmp
[xymon at otpproxy1 tmp]$ ls -l
total 44
-rw-rw-r-- 1 xymon xymon    41 Feb 23 13:13 logfetch.otpproxy1.cfg

-rw-rw-r-- 1 xymon xymon 33175 Feb 23 13:13 msg.otpproxy1.txt
-rw-rw-r-- 1 xymon xymon   246 Feb 23 13:12 xymon_vmstat.otpproxy1.7180
[xymon at otpproxy1 tmp]$ ls -l
total 84
-rw-rw-r-- 1
 xymon xymon    41 Feb 23 13:18 logfetch.otpproxy1.cfg
-rw-rw-r-- 1 xymon xymon    35 Feb 23 13:18 logfetch.otpproxy1.status
-rw-r--r-- 1 root  root  32347 Feb 23 13:17 msg.otpproxy1.temenosgroup.com.txt
-rw-rw-r-- 1 xymon xymon 35555 Feb 23 13:18 msg.otpproxy1.txt

-rw-rw-r-- 1 xymon xymon   246 Feb 23 13:17 xymon_vmstat.otpproxy1.7262
-rw-r--r-- 1 root  root    246 Feb 23 13:16 xymon_vmstat.otpproxy1.temenosgroup.com.7223
[xymon at otpproxy1 tmp]$

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.

Why does it happen? What do i do wrong?
Regards,
Traian.


--- On Thu, 2/23/12, Steven Carr <user-923b20c0d620@xymon.invalid> wrote:


From: Steven Carr
 <user-923b20c0d620@xymon.invalid>
Subject: Re: [Xymon] Ghost client problems
To: "Pavel Traian" <user-3b0d733c2299@xymon.invalid>

Cc: xymon at xymon.com
Date: Thursday, February 23, 2012, 12:36 PM

How did you install the client, manual compilation or from one of the RPMs that others have built?


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


Steve


On 23 February 2012 10:29, Pavel Traian <user-3b0d733c2299@xymon.invalid> wrote:


Hi,
I don't find any CLIENTNAME variable, but i have MACHINEDOTS variable in the runclient.sh which is said to be "# This systems hostname".


I changed it to use 'hostanme -s' and still the same result as in the first message.
I have these files in tmp folder:
-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
 

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?
Regards,
Traian.


--- On Thu, 2/23/12, Steven Carr <user-923b20c0d620@xymon.invalid> wrote:


From: Steven Carr <user-923b20c0d620@xymon.invalid>
Subject: Re: [Xymon] Ghost client problems
To: "Pavel Traian" <user-3b0d733c2299@xymon.invalid>, xymon at xymon.com


Date: Thursday, February 23, 2012, 12:17 PM

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.


Steve


On 23 February 2012 09:51, Pavel Traian <user-3b0d733c2299@xymon.invalid> wrote:


Hi,
If i want to use the short name how do i proceed?
What config files from the client installation should I modify? 


Regards,
Traian.


--- On Thu, 2/23/12, Steven Carr <user-923b20c0d620@xymon.invalid> wrote:


From: Steven Carr <user-923b20c0d620@xymon.invalid>
Subject: Re: [Xymon] Ghost client problems
To: "Pavel Traian" <user-3b0d733c2299@xymon.invalid>, xymon at xymon.com


Date: Thursday, February 23, 2012, 11:02 AM

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.
list Steven Carr · Thu, 23 Feb 2012 12:15:41 +0000 ·
What processes are running or have open files containing xymon...

ps -ef | grep xymon
lsof | grep xymon

If any of those processes are not the ones you have started (or are running
as root) then that is your culprit.

Steve
quoted from Pavel Traian


On 23 February 2012 12:03, Pavel Traian <user-3b0d733c2299@xymon.invalid> wrote:
Hi,
This is my original question.
If i knew the answer i shouldn't ask for help.
I don't know where to check and what to check.

Regards,
Traian.


--- On *Thu, 2/23/12, Steven Carr <user-923b20c0d620@xymon.invalid>* wrote:


From: Steven Carr <user-923b20c0d620@xymon.invalid>
Subject: Re: [Xymon] Ghost client problems
To: "Pavel Traian" <user-3b0d733c2299@xymon.invalid>, xymon at xymon.com
Date: Thursday, February 23, 2012, 1:43 PM


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?

Steve


On 23 February 2012 11:30, Pavel Traian <user-3b0d733c2299@xymon.invalid<http://mc/compose?to=user-3b0d733c2299@xymon.invalid>;
wrote:
Hi,
I have manually compiled it.
I start it using ./runclient.sh --hostname=otpproxy1 start
command.(otpproxy1 is the client name in hosts.cfg)
Here you have the commands i gave:

[xymon at otpproxy1 tmp]$ rm -f *
[xymon at otpproxy1 tmp]$ ls -l
total 0
[xymon at otpproxy1 tmp]$
[xymon at otpproxy1 tmp]$
[xymon at otpproxy1 tmp]$
[xymon at otpproxy1 tmp]$ cd ..
[xymon at otpproxy1 client]$ ./runclient.sh --hostname=otpproxy1 start
Xymon client for linux started on otpproxy1
[xymon at otpproxy1 client]$ cd tmp
[xymon at otpproxy1 tmp]$ ls -l
total 44
-rw-rw-r-- 1 xymon xymon    41 Feb 23 13:13 logfetch.otpproxy1.cfg
-rw-rw-r-- 1 xymon xymon 33175 Feb 23 13:13 msg.otpproxy1.txt
-rw-rw-r-- 1 xymon xymon   246 Feb 23 13:12 xymon_vmstat.otpproxy1.7180
[xymon at otpproxy1 tmp]$ ls -l
total 84
-rw-rw-r-- 1 xymon xymon    41 Feb 23 13:18 logfetch.otpproxy1.cfg
-rw-rw-r-- 1 xymon xymon    35 Feb 23 13:18 logfetch.otpproxy1.status
-rw-r--r-- 1 root  root  32347 Feb 23 13:17
msg.otpproxy1.temenosgroup.com.txt
-rw-rw-r-- 1 xymon xymon 35555 Feb 23 13:18 msg.otpproxy1.txt
-rw-rw-r-- 1 xymon xymon   246 Feb 23 13:17 xymon_vmstat.otpproxy1.7262
-rw-r--r-- 1 root  root    246 Feb 23 13:16
xymon_vmstat.otpproxy1.temenosgroup.com.7223
[xymon at otpproxy1 tmp]$

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.
Why does it happen? What do i do wrong?

Regards,
Traian.


--- On *Thu, 2/23/12, Steven Carr <user-923b20c0d620@xymon.invalid<http://mc/compose?to=user-923b20c0d620@xymon.invalid>;
* wrote:

From: Steven Carr <user-923b20c0d620@xymon.invalid<http://mc/compose?to=user-923b20c0d620@xymon.invalid>;
Subject: Re: [Xymon] Ghost client problems
To: "Pavel Traian" <user-3b0d733c2299@xymon.invalid<http://mc/compose?to=user-3b0d733c2299@xymon.invalid>;
Cc: xymon at xymon.com <http://mc/compose?to=xymon at xymon.com>
Date: Thursday, February 23, 2012, 12:36 PM


How did you install the client, manual compilation or from one of the RPMs
that others have built?

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

Steve


On 23 February 2012 10:29, Pavel Traian <user-3b0d733c2299@xymon.invalid<http://mc/compose?to=user-3b0d733c2299@xymon.invalid>;
wrote:
Hi,
I don't find any CLIENTNAME variable, but i have MACHINEDOTS variable in
the runclient.sh which is said to be "# This systems hostname".
I changed it to use 'hostanme -s' and still the same result as in the
first message.
I have these files in tmp folder:

-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
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?

Regards,
Traian.


--- On *Thu, 2/23/12, Steven Carr <user-923b20c0d620@xymon.invalid<http://mc/compose?to=user-923b20c0d620@xymon.invalid>;
* wrote:

From: Steven Carr <user-923b20c0d620@xymon.invalid<http://mc/compose?to=user-923b20c0d620@xymon.invalid>;
Subject: Re: [Xymon] Ghost client problems
To: "Pavel Traian" <user-3b0d733c2299@xymon.invalid<http://mc/compose?to=user-3b0d733c2299@xymon.invalid>>;,
xymon at xymon.com <http://mc/compose?to=xymon at xymon.com>
Date: Thursday, February 23, 2012, 12:17 PM


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.

Steve


On 23 February 2012 09:51, Pavel Traian <user-3b0d733c2299@xymon.invalid<http://mc/compose?to=user-3b0d733c2299@xymon.invalid>;
wrote:
Hi,
If i want to use the short name how do i proceed?
What config files from the client installation should I modify?
Regards,
Traian.


--- On *Thu, 2/23/12, Steven Carr <user-923b20c0d620@xymon.invalid<http://mc/compose?to=user-923b20c0d620@xymon.invalid>;
* wrote:

From: Steven Carr <user-923b20c0d620@xymon.invalid<http://mc/compose?to=user-923b20c0d620@xymon.invalid>;
Subject: Re: [Xymon] Ghost client problems
To: "Pavel Traian" <user-3b0d733c2299@xymon.invalid<http://mc/compose?to=user-3b0d733c2299@xymon.invalid>>;,
xymon at xymon.com <http://mc/compose?to=xymon at xymon.com>
Date: Thursday, February 23, 2012, 11:02 AM


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<http://mc/compose?to=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<http://mc/compose?to=user-3b0d733c2299@xymon.invalid>>;
wrote:
From: Pavel Traian <user-3b0d733c2299@xymon.invalid<http://mc/compose?to=user-3b0d733c2299@xymon.invalid>;

Subject: Ghost client problems
To: xymon at xymon.com <http://mc/compose?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.
list Chris Morris · Thu, 23 Feb 2012 12:17:17 -0000 ·
A simple ps -ef | grep xymon will show what xymon processes are running
and which user is running them.
 
Look for 2 instances of xymonlaunch.
quoted from Jamison Maxwell


	From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com]
On Behalf Of Pavel Traian

	Sent: 23 February 2012 12:03
	To: xymon at xymon.com; Steven Carr
quoted from Steven Carr
	Subject: Re: [Xymon] Ghost client problems
	
	
Hi,
This is my original question.
If i knew the answer i shouldn't ask for help.
I don't know where to check and what to check.
Regards,
Traian.


--- On Thu, 2/23/12, Steven Carr <user-923b20c0d620@xymon.invalid> wrote:


	From: Steven Carr <user-923b20c0d620@xymon.invalid>
	Subject: Re: [Xymon] Ghost client problems
	To: "Pavel Traian" <user-3b0d733c2299@xymon.invalid>, xymon at xymon.com
	Date: Thursday, February 23, 2012, 1:43 PM
	
	
	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?
	
	Steve
	
	
	On 23 February 2012 11:30, Pavel Traian <user-3b0d733c2299@xymon.invalid>
wrote:
	

Hi,
I have manually compiled it.
I start it using ./runclient.sh --hostname=otpproxy1 start
command.(otpproxy1 is the client name in hosts.cfg)
Here you have the commands i gave:

[xymon at otpproxy1 tmp]$ rm -f *
[xymon at otpproxy1 tmp]$ ls -l
total 0
[xymon at otpproxy1 tmp]$
[xymon at otpproxy1 tmp]$
[xymon at otpproxy1 tmp]$
[xymon at otpproxy1 tmp]$ cd ..
[xymon at otpproxy1 client]$ ./runclient.sh --hostname=otpproxy1 start
Xymon client for linux started on otpproxy1
[xymon at otpproxy1 client]$ cd tmp
[xymon at otpproxy1 tmp]$ ls -l
total 44
-rw-rw-r-- 1 xymon xymon    41 Feb 23 13:13 logfetch.otpproxy1.cfg
-rw-rw-r-- 1 xymon xymon 33175 Feb 23 13:13 msg.otpproxy1.txt
-rw-rw-r-- 1 xymon xymon   246 Feb 23 13:12 xymon_vmstat.otpproxy1.7180
[xymon at otpproxy1 tmp]$ ls -l
total 84
-rw-rw-r-- 1 xymon xymon    41 Feb 23 13:18 logfetch.otpproxy1.cfg
-rw-rw-r-- 1 xymon xymon    35 Feb 23 13:18 logfetch.otpproxy1.status
-rw-r--r-- 1 root  root  32347 Feb 23 13:17
msg.otpproxy1.temenosgroup.com.txt
-rw-rw-r-- 1 xymon xymon 35555 Feb 23 13:18 msg.otpproxy1.txt
-rw-rw-r-- 1 xymon xymon   246 Feb 23 13:17 xymon_vmstat.otpproxy1.7262
-rw-r--r-- 1 root  root    246 Feb 23 13:16
xymon_vmstat.otpproxy1.temenosgroup.com.7223
[xymon at otpproxy1 tmp]$

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.
Why does it happen? What do i do wrong? 

Regards,
Traian.


--- On Thu, 2/23/12, Steven Carr <user-923b20c0d620@xymon.invalid> wrote:


	From: Steven Carr <user-923b20c0d620@xymon.invalid>
	Subject: Re: [Xymon] Ghost client problems
	To: "Pavel Traian" <user-3b0d733c2299@xymon.invalid>
	
	Cc: xymon at xymon.com
	Date: Thursday, February 23, 2012, 12:36 PM 


	How did you install the client, manual compilation or from one
of the RPMs that others have built?
	
	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).
	
	Steve
	
	
	On 23 February 2012 10:29, Pavel Traian <user-3b0d733c2299@xymon.invalid
<http://mc/compose?to=user-3b0d733c2299@xymon.invalid>; > wrote:
	

Hi,
I don't find any CLIENTNAME variable, but i have MACHINEDOTS variable in
the runclient.sh which is said to be "# This systems hostname".
I changed it to use 'hostanme -s' and still the same result as in the
first message.
I have these files in tmp folder: 

-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
  

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? 

Regards,
Traian.


--- On Thu, 2/23/12, Steven Carr <user-923b20c0d620@xymon.invalid
<http://mc/compose?to=user-923b20c0d620@xymon.invalid>; > wrote:


	From: Steven Carr <user-923b20c0d620@xymon.invalid
<http://mc/compose?to=user-923b20c0d620@xymon.invalid>; >
	Subject: Re: [Xymon] Ghost client problems
	To: "Pavel Traian" <user-3b0d733c2299@xymon.invalid
<http://mc/compose?to=user-3b0d733c2299@xymon.invalid>; >, xymon at xymon.com
quoted from Steven Carr
<http://mc/compose?to=xymon at xymon.com> 
	
	Date: Thursday, February 23, 2012, 12:17 PM 


	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.
	
	Steve
	
	
	On 23 February 2012 09:51, Pavel Traian <user-3b0d733c2299@xymon.invalid
<http://mc/compose?to=user-3b0d733c2299@xymon.invalid>; > wrote:
	

Hi,
If i want to use the short name how do i proceed?
What config files from the client installation should I modify? 
Regards,
Traian.


--- On Thu, 2/23/12, Steven Carr <user-923b20c0d620@xymon.invalid
<http://mc/compose?to=user-923b20c0d620@xymon.invalid>; > wrote:


	From: Steven Carr <user-923b20c0d620@xymon.invalid
<http://mc/compose?to=user-923b20c0d620@xymon.invalid>; >
	Subject: Re: [Xymon] Ghost client problems
	To: "Pavel Traian" <user-3b0d733c2299@xymon.invalid
<http://mc/compose?to=user-3b0d733c2299@xymon.invalid>; >, xymon at xymon.com
quoted from Steven Carr
<http://mc/compose?to=xymon at xymon.com> 
	Date: Thursday, February 23, 2012, 11:02 AM 


	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
<http://mc/compose?to=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
<http://mc/compose?to=user-3b0d733c2299@xymon.invalid>; > wrote:
		
From: Pavel Traian <user-3b0d733c2299@xymon.invalid
<http://mc/compose?to=user-3b0d733c2299@xymon.invalid>; >
quoted from Steven Carr
Subject: Ghost client problems
To: xymon at xymon.com
<http://mc/compose?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.
		
**************************************************************************** 

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

*****************************************************************************
list Pavel Traian · Thu, 23 Feb 2012 05:51:08 -0800 (PST) ·
Hi,
I have removed the second instance and it works ok now.
Thanks for your time.
quoted from Chris Morris
Regards,
Traian.

--- On Thu, 2/23/12, Steven Carr <user-923b20c0d620@xymon.invalid> wrote:

From: Steven Carr <user-923b20c0d620@xymon.invalid>
Subject: Re: [Xymon] Ghost client problems
To: "Pavel Traian" <user-3b0d733c2299@xymon.invalid>
Cc: xymon at xymon.com
Date: Thursday, February 23, 2012, 2:15 PM

What processes are running or have open files containing xymon...

ps -ef | grep xymon
lsof | grep xymon

If any of those processes are not the ones you have started (or are running as root) then that is your culprit.


Steve


On 23 February 2012 12:03, Pavel Traian <user-3b0d733c2299@xymon.invalid> wrote:


Hi,
This is my original question.
If i knew the answer i shouldn't ask for help.
I don't know where to check and what to check.

Regards,
Traian.


--- On Thu, 2/23/12, Steven Carr <user-923b20c0d620@xymon.invalid> wrote:


From: Steven Carr <user-923b20c0d620@xymon.invalid>
Subject: Re: [Xymon] Ghost client problems
To: "Pavel Traian" <user-3b0d733c2299@xymon.invalid>, xymon at xymon.com

Date: Thursday, February 23, 2012, 1:43 PM

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?


Steve


On 23 February 2012 11:30, Pavel Traian <user-3b0d733c2299@xymon.invalid> wrote:


Hi,
I have manually compiled it.
I start it using ./runclient.sh --hostname=otpproxy1 start command.(otpproxy1 is the client name in hosts.cfg)


Here you have the commands i gave:

[xymon at otpproxy1 tmp]$ rm -f *
[xymon at otpproxy1 tmp]$ ls -l
total 0
[xymon at otpproxy1 tmp]$
[xymon at otpproxy1 tmp]$
[xymon at otpproxy1 tmp]$
[xymon at otpproxy1 tmp]$ cd ..


[xymon at otpproxy1 client]$ ./runclient.sh --hostname=otpproxy1 start
Xymon client for linux started on otpproxy1
[xymon at otpproxy1 client]$ cd tmp
[xymon at otpproxy1 tmp]$ ls -l
total 44
-rw-rw-r-- 1 xymon xymon    41 Feb 23 13:13 logfetch.otpproxy1.cfg


-rw-rw-r-- 1 xymon xymon 33175 Feb 23 13:13 msg.otpproxy1.txt
-rw-rw-r-- 1 xymon xymon   246 Feb 23 13:12 xymon_vmstat.otpproxy1.7180
[xymon at otpproxy1 tmp]$ ls -l
total 84
-rw-rw-r-- 1
 xymon xymon    41 Feb 23 13:18 logfetch.otpproxy1.cfg
-rw-rw-r-- 1 xymon xymon    35 Feb 23 13:18 logfetch.otpproxy1.status
-rw-r--r-- 1 root  root  32347 Feb 23 13:17 msg.otpproxy1.temenosgroup.com.txt
-rw-rw-r-- 1 xymon xymon 35555 Feb 23 13:18 msg.otpproxy1.txt


-rw-rw-r-- 1 xymon xymon   246 Feb 23 13:17 xymon_vmstat.otpproxy1.7262
-rw-r--r-- 1 root  root    246 Feb 23 13:16 xymon_vmstat.otpproxy1.temenosgroup.com.7223
[xymon at otpproxy1 tmp]$

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.


Why does it happen? What do i do wrong?
Regards,
Traian.


--- On Thu, 2/23/12, Steven Carr <user-923b20c0d620@xymon.invalid> wrote:


From: Steven Carr
 <user-923b20c0d620@xymon.invalid>
Subject: Re: [Xymon] Ghost client problems
To: "Pavel Traian" <user-3b0d733c2299@xymon.invalid>


Cc: xymon at xymon.com
Date: Thursday, February 23, 2012, 12:36 PM

How did you install the client, manual compilation or from one of the RPMs that others have built?


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


Steve


On 23 February 2012 10:29, Pavel Traian <user-3b0d733c2299@xymon.invalid> wrote:


Hi,
I don't find any CLIENTNAME variable, but i have MACHINEDOTS variable in the runclient.sh which is said to be "# This systems hostname".


I changed it to use 'hostanme -s' and still the same result as in the first message.
I have these files in tmp folder:
-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
 

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?
Regards,
Traian.


--- On Thu, 2/23/12, Steven Carr <user-923b20c0d620@xymon.invalid> wrote:


From: Steven Carr <user-923b20c0d620@xymon.invalid>
Subject: Re: [Xymon] Ghost client problems
To: "Pavel Traian" <user-3b0d733c2299@xymon.invalid>, xymon at xymon.com


Date: Thursday, February 23, 2012, 12:17 PM

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.


Steve


On 23 February 2012 09:51, Pavel Traian <user-3b0d733c2299@xymon.invalid> wrote:


Hi,
If i want to use the short name how do i proceed?
What config files from the client installation should I modify? 


Regards,
Traian.


--- On Thu, 2/23/12, Steven Carr <user-923b20c0d620@xymon.invalid> wrote:


From: Steven Carr <user-923b20c0d620@xymon.invalid>
Subject: Re: [Xymon] Ghost client problems
To: "Pavel Traian" <user-3b0d733c2299@xymon.invalid>, xymon at xymon.com


Date: Thursday, February 23, 2012, 11:02 AM

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.
list Jamison Maxwell · Thu, 23 Feb 2012 14:39:02 +0000 ·
To be honest, I just use the FQDN in hosts.cfg, but when the FQDN is long enough that it doesn't look very pretty in the display, I correct it with the #CLIENT tag in hosts.cfg...


Jamison Maxwell
user-87d336c3dce6@xymon.invalid
quoted from Pavel Traian


Pavel Traian <user-3b0d733c2299@xymon.invalid> wrote:


Hi,
I have removed the second instance and it works ok now.
Thanks for your time.
Regards,
Traian.

--- On Thu, 2/23/12, Steven Carr <user-923b20c0d620@xymon.invalid> wrote:

From: Steven Carr <user-923b20c0d620@xymon.invalid>
Subject: Re: [Xymon] Ghost client problems
To: "Pavel Traian" <user-3b0d733c2299@xymon.invalid>
Cc: xymon at xymon.com
Date: Thursday, February 23, 2012, 2:15 PM

What processes are running or have open files containing xymon...

ps -ef | grep xymon
lsof | grep xymon

If any of those processes are not the ones you have started (or are running as root) then that is your culprit.

Steve


On 23 February 2012 12:03, Pavel Traian <user-3b0d733c2299@xymon.invalid</mc/compose?to=user-3b0d733c2299@xymon.invalid>> wrote:

Hi,
This is my original question.
If i knew the answer i shouldn't ask for help.
I don't know where to check and what to check.

Regards,
Traian.


--- On Thu, 2/23/12, Steven Carr <user-923b20c0d620@xymon.invalid</mc/compose?to=user-923b20c0d620@xymon.invalid>> wrote:

From: Steven Carr <user-923b20c0d620@xymon.invalid</mc/compose?to=user-923b20c0d620@xymon.invalid>>
Subject: Re: [Xymon] Ghost client problems
To: "Pavel Traian" <user-3b0d733c2299@xymon.invalid</mc/compose?to=user-3b0d733c2299@xymon.invalid>>, xymon at xymon.com</mc/compose?to=xymon at xymon.com>
Date: Thursday, February 23, 2012, 1:43 PM


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?

Steve


On 23 February 2012 11:30, Pavel Traian <user-3b0d733c2299@xymon.invalid<http://mc/compose?to=user-3b0d733c2299@xymon.invalid>>; wrote:
Hi,
I have manually compiled it.
I start it using ./runclient.sh --hostname=otpproxy1 start command.(otpproxy1 is the client name in hosts.cfg)
Here you have the commands i gave:

[xymon at otpproxy1 tmp]$ rm -f *
[xymon at otpproxy1 tmp]$ ls -l
total 0
[xymon at otpproxy1 tmp]$
[xymon at otpproxy1 tmp]$
[xymon at otpproxy1 tmp]$
[xymon at otpproxy1 tmp]$ cd ..
[xymon at otpproxy1 client]$ ./runclient.sh --hostname=otpproxy1 start
Xymon client for linux started on otpproxy1
[xymon at otpproxy1 client]$ cd tmp
[xymon at otpproxy1 tmp]$ ls -l
total 44
-rw-rw-r-- 1 xymon xymon    41 Feb 23 13:13 logfetch.otpproxy1.cfg
-rw-rw-r-- 1 xymon xymon 33175 Feb 23 13:13 msg.otpproxy1.txt
-rw-rw-r-- 1 xymon xymon   246 Feb 23 13:12 xymon_vmstat.otpproxy1.7180
[xymon at otpproxy1 tmp]$ ls -l
total 84
-rw-rw-r-- 1 xymon xymon    41 Feb 23 13:18 logfetch.otpproxy1.cfg
-rw-rw-r-- 1 xymon xymon    35 Feb 23 13:18 logfetch.otpproxy1.status
-rw-r--r-- 1 root  root  32347 Feb 23 13:17 msg.otpproxy1.temenosgroup.com.txt
-rw-rw-r-- 1 xymon xymon 35555 Feb 23 13:18 msg.otpproxy1.txt
-rw-rw-r-- 1 xymon xymon   246 Feb 23 13:17 xymon_vmstat.otpproxy1.7262
-rw-r--r-- 1 root  root    246 Feb 23 13:16 xymon_vmstat.otpproxy1.temenosgroup.com.7223
[xymon at otpproxy1 tmp]$

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.
Why does it happen? What do i do wrong?

Regards,
Traian.


--- On Thu, 2/23/12, Steven Carr <user-923b20c0d620@xymon.invalid<http://mc/compose?to=user-923b20c0d620@xymon.invalid>>; wrote:

From: Steven Carr <user-923b20c0d620@xymon.invalid<http://mc/compose?to=user-923b20c0d620@xymon.invalid>>;
Subject: Re: [Xymon] Ghost client problems
To: "Pavel Traian" <user-3b0d733c2299@xymon.invalid<http://mc/compose?to=user-3b0d733c2299@xymon.invalid>>;
Cc: xymon at xymon.com<http://mc/compose?to=xymon at xymon.com>
Date: Thursday, February 23, 2012, 12:36 PM


How did you install the client, manual compilation or from one of the RPMs that others have built?

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

Steve


On 23 February 2012 10:29, Pavel Traian <user-3b0d733c2299@xymon.invalid<http://mc/compose?to=user-3b0d733c2299@xymon.invalid>>; wrote:
Hi,
I don't find any CLIENTNAME variable, but i have MACHINEDOTS variable in the runclient.sh which is said to be "# This systems hostname".
I changed it to use 'hostanme -s' and still the same result as in the first message.
I have these files in tmp folder:

-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
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?

Regards,
Traian.


--- On Thu, 2/23/12, Steven Carr <user-923b20c0d620@xymon.invalid<http://mc/compose?to=user-923b20c0d620@xymon.invalid>>; wrote:

From: Steven Carr <user-923b20c0d620@xymon.invalid<http://mc/compose?to=user-923b20c0d620@xymon.invalid>>;
Subject: Re: [Xymon] Ghost client problems
To: "Pavel Traian" <user-3b0d733c2299@xymon.invalid<http://mc/compose?to=user-3b0d733c2299@xymon.invalid>>;, xymon at xymon.com<http://mc/compose?to=xymon at xymon.com>
Date: Thursday, February 23, 2012, 12:17 PM


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.

Steve


On 23 February 2012 09:51, Pavel Traian <user-3b0d733c2299@xymon.invalid<http://mc/compose?to=user-3b0d733c2299@xymon.invalid>>; wrote:
Hi,
If i want to use the short name how do i proceed?
What config files from the client installation should I modify?
Regards,
Traian.


--- On Thu, 2/23/12, Steven Carr <user-923b20c0d620@xymon.invalid<http://mc/compose?to=user-923b20c0d620@xymon.invalid>>; wrote:

From: Steven Carr <user-923b20c0d620@xymon.invalid<http://mc/compose?to=user-923b20c0d620@xymon.invalid>>;
Subject: Re: [Xymon] Ghost client problems
To: "Pavel Traian" <user-3b0d733c2299@xymon.invalid<http://mc/compose?to=user-3b0d733c2299@xymon.invalid>>;, xymon at xymon.com<http://mc/compose?to=xymon at xymon.com>
Date: Thursday, February 23, 2012, 11:02 AM


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<http://mc/compose?to=user-3b0d733c2299@xymon.invalid>>; wrote:
Hi,

I have added the short name to hosts.cfg otpproxy1 not otpproxy1.temenosgroup.com<http://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).
quoted from Pavel Traian
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<http://mc/compose?to=user-3b0d733c2299@xymon.invalid>>; wrote:
From: Pavel Traian <user-3b0d733c2299@xymon.invalid<http://mc/compose?to=user-3b0d733c2299@xymon.invalid>>;
Subject: Ghost client problems
To: xymon at xymon.com<http://mc/compose?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.
list Pavel Traian · Mon, 27 Feb 2012 04:04:57 -0800 (PST) ·
Hi,
That one i have solved it, but....
Now i have reinstallled the client and i started it using ./runclient.sh --hostname=host start command from xymon user.
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.
On the client i have issued some commands and you have the output here:

[root at otpproxy1 tmp]# ps -ef | grep xymon
xymon     3785     1  0 09:44 ?        00:00:00 ./bin/xymonlaunch --config=./etc/clientlaunch.cfg --log=./logs/clientlaunch.log --pidfile=./logs/clientlaunch.otpproxy1.pid
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
xymon     5894  5892  0 13:54 ?        00:00:00 vmstat 300 2
root      5902  5686  0 13:57 pts/0    00:00:00 grep xymon
[root at otpproxy1 tmp]# ps -e | grep xymon
 3785 ?        00:00:00 xymonlaunch
[root at otpproxy1 tmp]# ls -l
total 36
-rw-rw-r-- 1 xymon xymon 32690 Feb 27 13:54 msg.otpproxy1.txt
-rw-rw-r-- 1 xymon xymon   246 Feb 27 13:54 xymon_vmstat.otpproxy1.5867
[root at otpproxy1 tmp]#

As i see there are some files missing from tmp directory. I don't understand why.
Can you please give me a hint?
Regards,
Traian.
quoted from Jamison Maxwell


--- On Thu, 2/23/12, user-e510f6c03e57@xymon.invalid <user-e510f6c03e57@xymon.invalid> wrote:

From: user-e510f6c03e57@xymon.invalid <user-e510f6c03e57@xymon.invalid>
Subject: RE: [Xymon] Ghost client problems
To: xymon at xymon.com
Cc: user-3b0d733c2299@xymon.invalid
Date: Thursday, February 23, 2012, 2:17 PM


A simple ps -ef | grep xymon will show what xymon processes are running and which user is running them.
 
Look for 2 instances of xymonlaunch.


      From: xymon-bounces at xymon.com   [mailto:xymon-bounces at xymon.com] On Behalf Of Pavel   Traian
Sent: 23 February 2012 12:03
To: xymon at xymon.com;   Steven Carr
Subject: Re: [Xymon] Ghost client   problems


                  Hi,
This is my original question.
If i knew the         answer i shouldn't ask for help.
I don't know where to check and what         to check.
Regards,
Traian.


--- On Thu, 2/23/12,         Steven Carr <user-923b20c0d620@xymon.invalid> wrote:

        From:           Steven Carr <user-923b20c0d620@xymon.invalid>
Subject: Re: [Xymon] Ghost           client problems
To: "Pavel Traian" <user-3b0d733c2299@xymon.invalid>,           xymon at xymon.com
Date: Thursday, February 23, 2012, 1:43 PM


          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?

Steve


          On 23 February 2012 11:30, Pavel           Traian <user-3b0d733c2299@xymon.invalid>           wrote:

                                                                  Hi,
I have manually compiled it.
I start                   it using ./runclient.sh --hostname=otpproxy1 start                   command.(otpproxy1 is the client name in hosts.cfg)
Here                   you have the commands i gave:

[xymon at otpproxy1 tmp]$ rm                   -f *
[xymon at otpproxy1 tmp]$ ls -l
total                   0
[xymon at otpproxy1 tmp]$
[xymon at otpproxy1                   tmp]$
[xymon at otpproxy1 tmp]$
[xymon at otpproxy1 tmp]$ cd                   ..
[xymon at otpproxy1 client]$ ./runclient.sh                   --hostname=otpproxy1 start
Xymon client for linux started                   on otpproxy1
[xymon at otpproxy1 client]$ cd                   tmp
[xymon at otpproxy1 tmp]$ ls -l
total 44
-rw-rw-r--                   1 xymon xymon    41 Feb 23 13:13                   logfetch.otpproxy1.cfg
-rw-rw-r-- 1 xymon xymon 33175 Feb                   23 13:13 msg.otpproxy1.txt
-rw-rw-r-- 1 xymon                   xymon   246 Feb 23 13:12                   xymon_vmstat.otpproxy1.7180
[xymon at otpproxy1 tmp]$ ls                   -l
total 84
-rw-rw-r-- 1 xymon xymon                      41 Feb 23 13:18 logfetch.otpproxy1.cfg
-rw-rw-r-- 1 xymon                   xymon    35 Feb 23 13:18                   logfetch.otpproxy1.status
-rw-r--r-- 1 root                    root  32347 Feb 23 13:17                   msg.otpproxy1.temenosgroup.com.txt
-rw-rw-r-- 1 xymon xymon                   35555 Feb 23 13:18 msg.otpproxy1.txt
-rw-rw-r-- 1 xymon                   xymon   246 Feb 23 13:17                   xymon_vmstat.otpproxy1.7262
-rw-r--r-- 1 root                    root    246 Feb 23 13:16                   xymon_vmstat.otpproxy1.temenosgroup.com.7223
[xymon at otpproxy1                   tmp]$

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.
Why does it                   happen? What do i do wrong?
                  Regards,
Traian.


---                   On Thu, 2/23/12, Steven Carr <user-923b20c0d620@xymon.invalid>                   wrote:

                                      From: Steven Carr <user-923b20c0d620@xymon.invalid>
Subject:                     Re: [Xymon] Ghost client problems
To: "Pavel Traian"                     <user-3b0d733c2299@xymon.invalid>
Cc:                     xymon at xymon.com
Date:                     Thursday, February 23, 2012, 12:36 PM
                                        

                    How did you install the client, manual compilation or                     from one of the RPMs that others have built?

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

Steve


                    On 23 February 2012 10:29, Pavel Traian <user-3b0d733c2299@xymon.invalid> wrote:

                                                                                                                    Hi,
I don't find any CLIENTNAME                             variable, but i have MACHINEDOTS variable in the                             runclient.sh which is said to be "# This systems                             hostname".
I changed it to use 'hostanme -s' and                             still the same result as in the first message.
I                             have these files in tmp folder:
                            
-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
                              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?
                            Regards,
Traian.


--- On                             Thu, 2/23/12, Steven Carr <user-923b20c0d620@xymon.invalid>                             wrote:

                                                          From: Steven Carr <user-923b20c0d620@xymon.invalid>
Subject:                               Re: [Xymon] Ghost client problems
To: "Pavel                               Traian" <user-3b0d733c2299@xymon.invalid>, xymon at xymon.com
Date:                               Thursday, February 23, 2012, 12:17 PM
                                                            

                              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.

Steve


                              On 23 February 2012 09:51, Pavel Traian <user-3b0d733c2299@xymon.invalid>                               wrote:

                                                                                                                                                              Hi,
If i want to use the short                                 name how do i proceed?
What config files from                                 the client installation should I modify?                                 Regards,
Traian.


--- On                                 Thu, 2/23/12, Steven Carr <user-923b20c0d620@xymon.invalid>                                 wrote:

                                From:                                 Steven Carr <user-923b20c0d620@xymon.invalid>
Subject:                                 Re: [Xymon] Ghost client problems
To: "Pavel                                 Traian" <user-3b0d733c2299@xymon.invalid>, xymon at xymon.com
Date:                                 Thursday, February 23, 2012, 11:02 AM
                                                                

                                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.
**************************************************************************** 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).  
*****************************************************************************
list Pavel Traian · Mon, 27 Feb 2012 04:11:14 -0800 (PST) ·
Hi,
I keep receiving email alerts from Xymon for a conn failure happened during the week-end.
I don't know how to stop it(The conn is green for a while now but i keep receive this messages).
Regards,
Traian.
list Chris Morris · Mon, 27 Feb 2012 12:49:37 -0000 ·
Do you have anything under Ghost reports on the xymon server?
 
Are the client and server on the same or different hosts?
 
Is the client pointing at the correct address and port for the xymon
server
 
How do you know files are missing from ~/client/tmp directory .. what
are you expecting to see there? 
 
Have you checked the clientlaunch.log and xymonclient.log files for
errors in  ~/client/logs?
quoted from Pavel Traian


	From: Pavel Traian [mailto:user-3b0d733c2299@xymon.invalid] 
	Sent: 27 February 2012 12:05
	To: xymon at xymon.com; Morris, Chris (SS-IS)
	Subject: RE: [Xymon] Ghost client problems
	
	
Hi,
That one i have solved it, but....
Now i have reinstallled the client and i started it using ./runclient.sh
--hostname=host start command from xymon user.
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.
On the client i have issued some commands and you have the output here:

[root at otpproxy1 tmp]# ps -ef | grep xymon
xymon     3785     1  0 09:44 ?        00:00:00 ./bin/xymonlaunch
--config=./etc/clientlaunch.cfg --log=./logs/clientlaunch.log
--pidfile=./logs/clientlaunch.otpproxy1.pid
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
xymon     5894  5892  0 13:54 ?        00:00:00 vmstat 300 2
root      5902  5686  0 13:57 pts/0    00:00:00 grep xymon
[root at otpproxy1 tmp]# ps -e | grep xymon
 3785 ?        00:00:00 xymonlaunch
[root at otpproxy1 tmp]# ls -l
total 36
-rw-rw-r-- 1 xymon xymon 32690 Feb 27 13:54 msg.otpproxy1.txt
-rw-rw-r-- 1 xymon xymon   246 Feb 27 13:54 xymon_vmstat.otpproxy1.5867
[root at otpproxy1 tmp]#

As i see there are some files missing from tmp directory. I don't
understand why.
Can you please give me a hint?
Regards,
Traian.


--- On Thu, 2/23/12, user-e510f6c03e57@xymon.invalid <user-e510f6c03e57@xymon.invalid> wrote:


	From: user-e510f6c03e57@xymon.invalid <user-e510f6c03e57@xymon.invalid>
	Subject: RE: [Xymon] Ghost client problems
	To: xymon at xymon.com
	Cc: user-3b0d733c2299@xymon.invalid
	Date: Thursday, February 23, 2012, 2:17 PM
	
	
	A simple ps -ef | grep xymon will show what xymon processes are
running and which user is running them.
	 
	Look for 2 instances of xymonlaunch.


		From: xymon-bounces at xymon.com
[mailto:xymon-bounces at xymon.com] On Behalf Of Pavel Traian
		Sent: 23 February 2012 12:03
		To: xymon at xymon.com; Steven Carr
		Subject: Re: [Xymon] Ghost client problems
		
		
Hi,
This is my original question.
If i knew the answer i shouldn't ask for help.
I don't know where to check and what to check.
Regards,
Traian.


--- On Thu, 2/23/12, Steven Carr <user-923b20c0d620@xymon.invalid> wrote:


	From: Steven Carr <user-923b20c0d620@xymon.invalid>
	Subject: Re: [Xymon] Ghost client problems
	To: "Pavel Traian" <user-3b0d733c2299@xymon.invalid>, xymon at xymon.com
	Date: Thursday, February 23, 2012, 1:43 PM
	
	
	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?
	
	Steve
	
	
	On 23 February 2012 11:30, Pavel Traian <user-3b0d733c2299@xymon.invalid>
wrote:
	

Hi,
I have manually compiled it.
I start it using ./runclient.sh --hostname=otpproxy1 start
command.(otpproxy1 is the client name in hosts.cfg)
Here you have the commands i gave:

[xymon at otpproxy1 tmp]$ rm -f *
[xymon at otpproxy1 tmp]$ ls -l
total 0
[xymon at otpproxy1 tmp]$
[xymon at otpproxy1 tmp]$
[xymon at otpproxy1 tmp]$
[xymon at otpproxy1 tmp]$ cd ..
[xymon at otpproxy1 client]$ ./runclient.sh --hostname=otpproxy1 start
Xymon client for linux started on otpproxy1
[xymon at otpproxy1 client]$ cd tmp
[xymon at otpproxy1 tmp]$ ls -l
total 44
-rw-rw-r-- 1 xymon xymon    41 Feb 23 13:13 logfetch.otpproxy1.cfg
-rw-rw-r-- 1 xymon xymon 33175 Feb 23 13:13 msg.otpproxy1.txt
-rw-rw-r-- 1 xymon xymon   246 Feb 23 13:12 xymon_vmstat.otpproxy1.7180
[xymon at otpproxy1 tmp]$ ls -l
total 84
-rw-rw-r-- 1 xymon xymon    41 Feb 23 13:18 logfetch.otpproxy1.cfg
-rw-rw-r-- 1 xymon xymon    35 Feb 23 13:18 logfetch.otpproxy1.status
-rw-r--r-- 1 root  root  32347 Feb 23 13:17
msg.otpproxy1.temenosgroup.com.txt
-rw-rw-r-- 1 xymon xymon 35555 Feb 23 13:18 msg.otpproxy1.txt
-rw-rw-r-- 1 xymon xymon   246 Feb 23 13:17 xymon_vmstat.otpproxy1.7262
-rw-r--r-- 1 root  root    246 Feb 23 13:16
xymon_vmstat.otpproxy1.temenosgroup.com.7223
[xymon at otpproxy1 tmp]$

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.
Why does it happen? What do i do wrong? 

Regards,
Traian.


--- On Thu, 2/23/12, Steven Carr <user-923b20c0d620@xymon.invalid> wrote:


	From: Steven Carr <user-923b20c0d620@xymon.invalid>
	Subject: Re: [Xymon] Ghost client problems
	To: "Pavel Traian" <user-3b0d733c2299@xymon.invalid>
	
	Cc: xymon at xymon.com
	Date: Thursday, February 23, 2012, 12:36 PM 


	How did you install the client, manual compilation or from one
of the RPMs that others have built?
	
	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).
	
	Steve
	
	
	On 23 February 2012 10:29, Pavel Traian <user-3b0d733c2299@xymon.invalid
<http://mc/compose?to=user-3b0d733c2299@xymon.invalid>; > wrote:
	

Hi,
I don't find any CLIENTNAME variable, but i have MACHINEDOTS variable in
the runclient.sh which is said to be "# This systems hostname".
I changed it to use 'hostanme -s' and still the same result as in the
first message.
I have these files in tmp folder: 

-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
  

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? 

Regards,
Traian.


--- On Thu, 2/23/12, Steven Carr <user-923b20c0d620@xymon.invalid
<http://mc/compose?to=user-923b20c0d620@xymon.invalid>; > wrote:


	From: Steven Carr <user-923b20c0d620@xymon.invalid
<http://mc/compose?to=user-923b20c0d620@xymon.invalid>; >
	Subject: Re: [Xymon] Ghost client problems
	To: "Pavel Traian" <user-3b0d733c2299@xymon.invalid
<http://mc/compose?to=user-3b0d733c2299@xymon.invalid>; >, xymon at xymon.com
<http://mc/compose?to=xymon at xymon.com> 
	
	Date: Thursday, February 23, 2012, 12:17 PM 


	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.
	
	Steve
	
	
	On 23 February 2012 09:51, Pavel Traian <user-3b0d733c2299@xymon.invalid
<http://mc/compose?to=user-3b0d733c2299@xymon.invalid>; > wrote:
	

Hi,
If i want to use the short name how do i proceed?
What config files from the client installation should I modify? 
Regards,
Traian.


--- On Thu, 2/23/12, Steven Carr <user-923b20c0d620@xymon.invalid
<http://mc/compose?to=user-923b20c0d620@xymon.invalid>; > wrote:


	From: Steven Carr <user-923b20c0d620@xymon.invalid
<http://mc/compose?to=user-923b20c0d620@xymon.invalid>; >
	Subject: Re: [Xymon] Ghost client problems
	To: "Pavel Traian" <user-3b0d733c2299@xymon.invalid
<http://mc/compose?to=user-3b0d733c2299@xymon.invalid>; >, xymon at xymon.com
<http://mc/compose?to=xymon at xymon.com> 
	Date: Thursday, February 23, 2012, 11:02 AM 


	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
<http://mc/compose?to=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
<http://mc/compose?to=user-3b0d733c2299@xymon.invalid>; > wrote:
		
From: Pavel Traian <user-3b0d733c2299@xymon.invalid
<http://mc/compose?to=user-3b0d733c2299@xymon.invalid>; >
Subject: Ghost client problems
To: xymon at xymon.com
<http://mc/compose?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.
		
************************************************************************
**** 

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

	 
************************************************************************
***** 

	 
**************************************************************************** 
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). 

*****************************************************************************
list Pavel Traian · Mon, 27 Feb 2012 05:23:34 -0800 (PST) ·
Hi,

Do you have anything under Ghost reports on the xymon server?
I don't have anything under ghost report.

Are the client and server on the same or different hosts?
They are running on different hosts. 
Is the client pointing at the correct address and port for the xymon server
Yes it is pointing the correct address and port.

How do you know files are missing from ~/client/tmp directory .. what are you expecting to see there? When the client functioned(the test were green in xymon server) correctly i saw two more files there logfetch.clientname.cfg and logfetch.clientname.status.

Have you checked the clientlaunch.log and xymonclient.log files for errors in  ~/client/logs?
I see no errors.

Regards,
Traian.
quoted from Chris Morris


--- On Mon, 2/27/12, user-e510f6c03e57@xymon.invalid <user-e510f6c03e57@xymon.invalid> wrote:

From: user-e510f6c03e57@xymon.invalid <user-e510f6c03e57@xymon.invalid>
Subject: RE: [Xymon] Ghost client problems
To: user-3b0d733c2299@xymon.invalid
Cc: xymon at xymon.com
Date: Monday, February 27, 2012, 2:49 PM


Do you have anything under Ghost reports on the xymon server?
 
Are the client and server on the same or different hosts?
 
Is the client pointing at the correct address and port for the xymon server
 
How do you know files are missing from ~/client/tmp directory .. what are you expecting to see there? 
 
Have you checked the clientlaunch.log and xymonclient.log files for errors in  ~/client/logs?

      From: Pavel Traian   [mailto:user-3b0d733c2299@xymon.invalid] Sent: 27 February 2012   12:05
To: xymon at xymon.com; Morris, Chris (SS-IS)
Subject:   RE: [Xymon] Ghost client problems


                  Hi,
That one i have solved it, but....
Now i have         reinstallled the client and i started it using ./runclient.sh         --hostname=host start command from xymon user.
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.
On the client         i have issued some commands and you have the output         here:

[root at otpproxy1 tmp]# ps -ef | grep         xymon
xymon     3785             1  0 09:44 ?        00:00:00         ./bin/xymonlaunch --config=./etc/clientlaunch.cfg         --log=./logs/clientlaunch.log         --pidfile=./logs/clientlaunch.otpproxy1.pid
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
xymon     5894          5892  0 13:54 ?        00:00:00         vmstat 300 2
root      5902  5686          0 13:57 pts/0    00:00:00 grep xymon
[root at otpproxy1         tmp]# ps -e | grep xymon
 3785         ?        00:00:00         xymonlaunch
[root at otpproxy1 tmp]# ls -l
total 36
-rw-rw-r-- 1         xymon xymon 32690 Feb 27 13:54 msg.otpproxy1.txt
-rw-rw-r-- 1 xymon         xymon   246 Feb 27 13:54         xymon_vmstat.otpproxy1.5867
[root at otpproxy1 tmp]#

As i see         there are some files missing from tmp directory. I don't understand         why.
Can you please give me a         hint?
Regards,
Traian.


--- On Thu, 2/23/12,         user-e510f6c03e57@xymon.invalid <user-e510f6c03e57@xymon.invalid> wrote:

        From:           user-e510f6c03e57@xymon.invalid <user-e510f6c03e57@xymon.invalid>
Subject: RE:           [Xymon] Ghost client problems
To: xymon at xymon.com
Cc:           user-3b0d733c2299@xymon.invalid
Date: Thursday, February 23, 2012, 2:17           PM


                              A simple ps -ef | grep xymon           will show what xymon processes are running and which user is running           them.
           
          Look for 2 instances of           xymonlaunch.

                                              From: xymon-bounces at xymon.com             [mailto:xymon-bounces at xymon.com] On Behalf Of Pavel             Traian
Sent: 23 February 2012 12:03
To:             xymon at xymon.com; Steven Carr
Subject: Re: [Xymon] Ghost             client problems


                                                                    Hi,
This is my original question.
If                   i knew the answer i shouldn't ask for help.
I don't know                   where to check and what to                   check.
Regards,
Traian.


--- On Thu,                   2/23/12, Steven Carr <user-923b20c0d620@xymon.invalid>                   wrote:

                  From:                     Steven Carr <user-923b20c0d620@xymon.invalid>
Subject: Re: [Xymon]                     Ghost client problems
To: "Pavel Traian"                     <user-3b0d733c2299@xymon.invalid>, xymon at xymon.com
Date:                     Thursday, February 23, 2012, 1:43 PM


                    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?

Steve


                    On 23 February 2012                     11:30, Pavel Traian <user-3b0d733c2299@xymon.invalid> wrote:

                                                                                                                    Hi,
I have manually compiled                             it.
I start it using ./runclient.sh                             --hostname=otpproxy1 start command.(otpproxy1 is the                             client name in hosts.cfg)
Here you have the                             commands i gave:

[xymon at otpproxy1 tmp]$ rm -f                             *
[xymon at otpproxy1 tmp]$ ls -l
total                             0
[xymon at otpproxy1 tmp]$
[xymon at otpproxy1                             tmp]$
[xymon at otpproxy1 tmp]$
[xymon at otpproxy1                             tmp]$ cd ..
[xymon at otpproxy1 client]$                             ./runclient.sh --hostname=otpproxy1 start
Xymon                             client for linux started on                             otpproxy1
[xymon at otpproxy1 client]$ cd                             tmp
[xymon at otpproxy1 tmp]$ ls -l
total                             44
-rw-rw-r-- 1 xymon xymon    41                             Feb 23 13:13 logfetch.otpproxy1.cfg
-rw-rw-r-- 1                             xymon xymon 33175 Feb 23 13:13                             msg.otpproxy1.txt
-rw-rw-r-- 1 xymon                             xymon   246 Feb 23 13:12                             xymon_vmstat.otpproxy1.7180
[xymon at otpproxy1                             tmp]$ ls -l
total 84
-rw-rw-r-- 1 xymon                             xymon    41 Feb 23 13:18                             logfetch.otpproxy1.cfg
-rw-rw-r-- 1 xymon                             xymon    35 Feb 23 13:18                             logfetch.otpproxy1.status
-rw-r--r-- 1 root                              root  32347 Feb 23 13:17                             msg.otpproxy1.temenosgroup.com.txt
-rw-rw-r-- 1                             xymon xymon 35555 Feb 23 13:18                             msg.otpproxy1.txt
-rw-rw-r-- 1 xymon                             xymon   246 Feb 23 13:17                             xymon_vmstat.otpproxy1.7262
-rw-r--r-- 1                             root  root    246 Feb 23 13:16                             xymon_vmstat.otpproxy1.temenosgroup.com.7223
[xymon at otpproxy1                             tmp]$

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.
Why does it happen? What do i do wrong?                             Regards,
Traian.


---                             On Thu, 2/23/12, Steven Carr <user-923b20c0d620@xymon.invalid>                             wrote:

                                                          From: Steven Carr                               <user-923b20c0d620@xymon.invalid>
Subject:                               Re: [Xymon] Ghost client problems
To: "Pavel                               Traian" <user-3b0d733c2299@xymon.invalid>
Cc:                               xymon at xymon.com
Date:                               Thursday, February 23, 2012, 12:36 PM                                                             

                              How did you install the client, manual                               compilation or from one of the RPMs that others                               have built?

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

Steve


                              On 23 February 2012 10:29, Pavel Traian <user-3b0d733c2299@xymon.invalid>                               wrote:

                                                                                                                                                              Hi,
I don't find any                                 CLIENTNAME variable, but i have MACHINEDOTS                                 variable in the runclient.sh which is said to be                                 "# This systems hostname".
I changed it to                                 use 'hostanme -s' and still the same result as                                 in the first message.
I have these files in                                 tmp folder:                                 
-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
                                  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?                                 Regards,
Traian.


---                                 On Thu, 2/23/12, Steven Carr <user-923b20c0d620@xymon.invalid>                                 wrote:

                                                                From: Steven Carr <user-923b20c0d620@xymon.invalid>
Subject:                                 Re: [Xymon] Ghost client problems
To: "Pavel                                 Traian" <user-3b0d733c2299@xymon.invalid>, xymon at xymon.com
Date:                                 Thursday, February 23, 2012, 12:17 PM                                                                 

                                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.

Steve


                                On 23 February 2012 09:51, Pavel Traian                                 <user-3b0d733c2299@xymon.invalid>                                 wrote:

                                                                                                                                                                Hi,
If i want to use the short                                 name how do i proceed?
What config files from                                 the client installation should I modify?                                 Regards,
Traian.


--- On                                 Thu, 2/23/12, Steven Carr <user-923b20c0d620@xymon.invalid>                                 wrote:

                                From:                                 Steven Carr <user-923b20c0d620@xymon.invalid>
Subject:                                 Re: [Xymon] Ghost client problems
To: "Pavel                                 Traian" <user-3b0d733c2299@xymon.invalid>, xymon at xymon.com
Date:                                 Thursday, February 23, 2012, 11:02 AM                                                                 

                                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.
          ****************************************************************************                     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).            
          *****************************************************************************
list Pavel Traian · Mon, 27 Feb 2012 05:56:22 -0800 (PST) ·
Hi,
Conn, info and trends are green as always.
cpu, disk, memory, msgs, ports and procs are purple.
quoted from Pavel Traian
Regards,
Traian.


--- On Mon, 2/27/12, user-e510f6c03e57@xymon.invalid <user-e510f6c03e57@xymon.invalid> wrote:

From: user-e510f6c03e57@xymon.invalid <user-e510f6c03e57@xymon.invalid>
Subject: RE: [Xymon] Ghost client problems
To: user-3b0d733c2299@xymon.invalid
Date: Monday, February 27, 2012, 3:49 PM


So - your network tests ( server to client ) are green and current?  Server to client comms OK.
 
Your client tests are purple, no ghosts, no logfetch.* files?  Client to server comms NOTOK.
quoted from Pavel Traian


      From: Pavel Traian   [mailto:user-3b0d733c2299@xymon.invalid] Sent: 27 February 2012   13:24
To: xymon at xymon.com; Morris, Chris (SS-IS)
Subject:   RE: [Xymon] Ghost client problems


                  Hi,

Do you have anything         under Ghost reports on the xymon server?
I don't have anything under ghost         report.

Are the client         and server on the same or different hosts?
They are running on different hosts.         
Is the         client pointing at the correct address and port for the xymon         server
Yes it is pointing the correct         address and port.

How do you know files are         missing from ~/client/tmp directory .. what are you expecting to see         there? When         the client functioned(the test were green in xymon server) correctly i         saw two more files there logfetch.clientname.cfg and         logfetch.clientname.status.

Have         you checked the clientlaunch.log and xymonclient.log files for errors         in  ~/client/logs?
I see no         errors.

Regards,
Traian.


--- On         Mon, 2/27/12, user-e510f6c03e57@xymon.invalid         <user-e510f6c03e57@xymon.invalid> wrote:

        From: user-e510f6c03e57@xymon.invalid           <user-e510f6c03e57@xymon.invalid>
Subject: RE: [Xymon] Ghost client           problems
To: user-3b0d733c2299@xymon.invalid
Cc: xymon at xymon.com
Date:           Monday, February 27, 2012, 2:49 PM


                              Do you have anything           under Ghost reports on the xymon server?
           
          Are the client and server           on the same or different hosts?
           
          Is the client pointing at the           correct address and port for the xymon server
           
          How do you know files are           missing from ~/client/tmp directory .. what are you expecting to see           there? 
           
          Have you checked the           clientlaunch.log and xymonclient.log files for errors in            ~/client/logs?
                                              From: Pavel Traian             [mailto:user-3b0d733c2299@xymon.invalid] Sent: 27 February 2012             12:05
To: xymon at xymon.com; Morris, Chris             (SS-IS)
Subject: RE: [Xymon] Ghost client             problems


                                                                    Hi,
That one i have solved it,                   but....
Now i have reinstallled the client and i started it                   using ./runclient.sh --hostname=host start command from xymon                   user.
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.
On the client i have issued                   some commands and you have the output                   here:

[root at otpproxy1 tmp]# ps -ef | grep                   xymon
xymon                       3785     1  0 09:44                   ?        00:00:00                   ./bin/xymonlaunch --config=./etc/clientlaunch.cfg                   --log=./logs/clientlaunch.log                   --pidfile=./logs/clientlaunch.otpproxy1.pid
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
xymon                       5894  5892  0 13:54                   ?        00:00:00 vmstat                   300 2
root      5902                    5686  0 13:57 pts/0    00:00:00 grep                   xymon
[root at otpproxy1 tmp]# ps -e | grep                   xymon
 3785                   ?        00:00:00                   xymonlaunch
[root at otpproxy1 tmp]# ls -l
total                   36
-rw-rw-r-- 1 xymon xymon 32690 Feb 27 13:54                   msg.otpproxy1.txt
-rw-rw-r-- 1 xymon xymon   246                   Feb 27 13:54 xymon_vmstat.otpproxy1.5867
[root at otpproxy1                   tmp]#

As i see there are some files missing from tmp                   directory. I don't understand why.
Can you please give me a                   hint?
Regards,
Traian.
**************************************************************************** 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).  
*****************************************************************************
list Steven Carr · Mon, 27 Feb 2012 14:39:43 +0000 ·
Conn is checked from the server side, not the client side. It sounds like
you haven't told the client where to connect to. Where did you configure
the xymon server IP address?

I'd seriously suggest using a prebuilt RPM (search the archives for
this/last month, there are a few posts), it puts various config files in
/etc that are easier to diagnose configuration issues with than hand
compiled installs.

Steve
quoted from Pavel Traian


On 27 February 2012 13:56, Pavel Traian <user-3b0d733c2299@xymon.invalid> wrote:
Hi,
Conn, info and trends are green as always.
cpu, disk, memory, msgs, ports and procs are purple.
Regards,
Traian.


--- On *Mon, 2/27/12, user-e510f6c03e57@xymon.invalid <user-e510f6c03e57@xymon.invalid>* wrote:


From: user-e510f6c03e57@xymon.invalid <user-e510f6c03e57@xymon.invalid>
Subject: RE: [Xymon] Ghost client problems
To: user-3b0d733c2299@xymon.invalid
Date: Monday, February 27, 2012, 3:49 PM

 So - your network tests ( server to client ) are green and current?
Server to client comms OK.

Your client tests are purple, no ghosts, no logfetch.* files?  Client to
server comms NOTOK.

*From:* Pavel Traian [mailto:user-3b0d733c2299@xymon.invalid]
*Sent:* 27 February 2012 13:24

*To:* xymon at xymon.com; Morris, Chris (SS-IS)
*Subject:* RE: [Xymon] Ghost client problems

  Hi,

Do you have anything under Ghost reports on the xymon server?
I don't have anything under ghost report.

Are the client and server on the same or different hosts?
They are running on different hosts.

Is the client pointing at the correct address and port for the xymon server
Yes it is pointing the correct address and port.

How do you know files are missing from ~/client/tmp directory .. what are
you expecting to see there?
When the client functioned(the test were green in xymon server) correctly

i saw two more files there logfetch.clientname.cfg and logfetch.
clientname.status.
quoted from Pavel Traian

Have you checked the clientlaunch.log and xymonclient.log files for errors
in  ~/client/logs?
I see no errors.

Regards,
Traian.


--- On *Mon, 2/27/12, user-e510f6c03e57@xymon.invalid <user-e510f6c03e57@xymon.invalid>* wrote:


From: user-e510f6c03e57@xymon.invalid <user-e510f6c03e57@xymon.invalid>
Subject: RE: [Xymon] Ghost client problems
To: user-3b0d733c2299@xymon.invalid
Cc: xymon at xymon.com
Date: Monday, February 27, 2012, 2:49 PM


 Do you have anything under Ghost reports on the xymon server?

Are the client and server on the same or different hosts?

Is the client pointing at the correct address and port for the xymon server

How do you know files are missing from ~/client/tmp directory .. what are
you expecting to see there?

Have you checked the clientlaunch.log and xymonclient.log files for errors
in  ~/client/logs?

*From:* Pavel Traian [mailto:user-3b0d733c2299@xymon.invalid]
*Sent:* 27 February 2012 12:05
*To:* xymon at xymon.com; Morris, Chris (SS-IS)
*Subject:* RE: [Xymon] Ghost client problems

  Hi,
That one i have solved it, but....
Now i have reinstallled the client and i started it using ./runclient.sh
--hostname=host start command from xymon user.
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.
On the client i have issued some commands and you have the output here:

[root at otpproxy1 tmp]# ps -ef | grep xymon
xymon     3785     1  0 09:44 ?        00:00:00 ./bin/xymonlaunch
--config=./etc/clientlaunch.cfg --log=./logs/clientlaunch.log
--pidfile=./logs/clientlaunch.otpproxy1.pid
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
xymon     5894  5892  0 13:54 ?        00:00:00 vmstat 300 2
root      5902  5686  0 13:57 pts/0    00:00:00 grep xymon
[root at otpproxy1 tmp]# ps -e | grep xymon
 3785 ?        00:00:00 xymonlaunch
[root at otpproxy1 tmp]# ls -l
total 36
-rw-rw-r-- 1 xymon xymon 32690 Feb 27 13:54 msg.otpproxy1.txt
-rw-rw-r-- 1 xymon xymon   246 Feb 27 13:54 xymon_vmstat.otpproxy1.5867
[root at otpproxy1 tmp]#

As i see there are some files missing from tmp directory. I don't
understand why.
Can you please give me a hint?
Regards,
Traian.

****************************************************************************


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


*****************************************************************************

list Jeremy Laidman · Tue, 28 Feb 2012 11:34:26 +1100 ·
On Mon, Feb 27, 2012 at 11:11 PM, Pavel Traian <user-3b0d733c2299@xymon.invalid>
quoted from Pavel Traian
 wrote:
I keep receiving email alerts from Xymon for a conn failure happened
during the week-end.
Possibly just queued-up mail.  Run "mailq" on the Xymon server.  If there's
a big backlog of such emails, you can clear the messages but the method
depends on the MTA you run.  For postfix, you use the "postsuper" command
to delete (or hold) messages with given queue IDs.  The postsuper man page
has an example of how to select messages to delete.  Or do "postsuper -d
ALL" to delete all of them.

J
list Pavel Traian · Mon, 27 Feb 2012 23:51:50 -0800 (PST) ·
Hi,
Thanks it worked using mailq.
Regards,
Traian.
quoted from Jeremy Laidman

--- On Tue, 2/28/12, Jeremy Laidman <user-71895fb2e44c@xymon.invalid> wrote:

From: Jeremy Laidman <user-71895fb2e44c@xymon.invalid>
Subject: Re: [Xymon] keep receiving emails from xymon
To: "Pavel Traian" <user-3b0d733c2299@xymon.invalid>
Cc: xymon at xymon.com
Date: Tuesday, February 28, 2012, 2:34 AM

On Mon, Feb 27, 2012 at 11:11 PM, Pavel Traian <user-3b0d733c2299@xymon.invalid> wrote:


I keep receiving email alerts from Xymon for a conn failure happened during the week-end.


Possibly just queued-up mail.  Run "mailq" on the Xymon server.  If there's a big backlog of such emails, you can clear the messages but the method depends on the MTA you run.  For postfix, you use the "postsuper" command to delete (or hold) messages with given queue IDs.  The postsuper man page has an example of how to select messages to delete.  Or do "postsuper -d ALL" to delete all of them.


J
list Jamison Maxwell · Wed, 29 Feb 2012 00:39:30 +0000 ·
I'd seriously suggest using a prebuilt RPM (search the archives for this/last month, there are a few posts), it puts various config files in /etc that are easier to diagnose configuration issues with than hand compiled installs.
I’d suggest the opposite.  When you compile the client it specifically asks you where the Xymon server is running.  All of the configuration files are placed in /home/xymon/client, all right there easy to configure, thus I don’t see why using pre-built RPMs is easier because the ones that I have tried have a tendency to scatter them, IMO.  Either way you go, find one way to do it in you environment and stick to it.

If the server is not displaying, or has purple ‘alerts’ in place of disk, memory, etc., then the server is not receiving the data from your client.  The only three possible reasons that I can see is that the a. the client cannot reach the server for either DNS (if hostname was used) or network related problems, b. the client is pointed at the wrong server or no server, c. there is a firewall on the server that is not allowing the connection attempt.

I would suggest disabling iptables to troubleshoot and ensure that the latter is not the issue, to make sure you instantaneously know whether or not you are receiving data, do a packet capture with ‘tcpdump dst port 1984’.  If you get packets from the client, then the firewall is the problem, if you don’t you have to keep going.  Ensure that the correct system is specified in the first line of /home/Xymon/client/etc/xymonclient.cfg.  It should read “XYMSRV="YOUR SERVER’S IP OR HOSTNAME"          # IP address of the Xymon server”.  If you specified the hostname, add it to /etc/hosts and see if that remediates.

Seriously though, these are all basic troubleshooting steps and anything that is above that is found in the man pages on the Xymon server.  Please, do this list a favor and read them, alternatively, you can contact me directly and I’ll set it up for you provided you pay my consulting fee. ; )

--Jamison Maxwell
quoted from Steven Carr

From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of Steven Carr
Sent: Monday, February 27, 2012 9:40 AM
To: Pavel Traian; xymon at xymon.com
Subject: Re: [Xymon] Ghost client problems

Conn is checked from the server side, not the client side. It sounds like you haven't told the client where to connect to. Where did you configure the xymon server IP address?

I'd seriously suggest using a prebuilt RPM (search the archives for this/last month, there are a few posts), it puts various config files in /etc that are easier to diagnose configuration issues with than hand compiled installs.

Steve


On 27 February 2012 13:56, Pavel Traian <user-3b0d733c2299@xymon.invalid<mailto:user-3b0d733c2299@xymon.invalid>> wrote:
Hi,
Conn, info and trends are green as always.
cpu, disk, memory, msgs, ports and procs are purple.
Regards,
Traian.


--- On Mon, 2/27/12, user-e510f6c03e57@xymon.invalid<mailto:user-e510f6c03e57@xymon.invalid> <user-e510f6c03e57@xymon.invalid<mailto:user-e510f6c03e57@xymon.invalid>> wrote:

From: user-e510f6c03e57@xymon.invalid<mailto:user-e510f6c03e57@xymon.invalid> <user-e510f6c03e57@xymon.invalid<mailto:user-e510f6c03e57@xymon.invalid>>
Subject: RE: [Xymon] Ghost client problems
To: user-3b0d733c2299@xymon.invalid<mailto:user-3b0d733c2299@xymon.invalid>
Date: Monday, February 27, 2012, 3:49 PM
So - your network tests ( server to client ) are green and current?  Server to client comms OK.

Your client tests are purple, no ghosts, no logfetch.* files?  Client to server comms NOTOK.

From: Pavel Traian [mailto:user-3b0d733c2299@xymon.invalid<mailto:user-3b0d733c2299@xymon.invalid>]
Sent: 27 February 2012 13:24

To: xymon at xymon.com<mailto:xymon at xymon.com>; Morris, Chris (SS-IS)
Subject: RE: [Xymon] Ghost client problems

Hi,
Do you have anything under Ghost reports on the xymon server?
I don't have anything under ghost report.
Are the client and server on the same or different hosts?
They are running on different hosts.
Is the client pointing at the correct address and port for the xymon server
Yes it is pointing the correct address and port.
How do you know files are missing from ~/client/tmp directory .. what are you expecting to see there?
When the client functioned(the test were green in xymon server) correctly i saw two more files there logfetch.clientname.cfg and logfetch.clientname.status.
Have you checked the clientlaunch.log and xymonclient.log files for errors in  ~/client/logs?
I see no errors.

Regards,
Traian.


--- On Mon, 2/27/12, user-e510f6c03e57@xymon.invalid<mailto:user-e510f6c03e57@xymon.invalid> <user-e510f6c03e57@xymon.invalid<mailto:user-e510f6c03e57@xymon.invalid>> wrote:

From: user-e510f6c03e57@xymon.invalid<mailto:user-e510f6c03e57@xymon.invalid> <user-e510f6c03e57@xymon.invalid<mailto:user-e510f6c03e57@xymon.invalid>>
Subject: RE: [Xymon] Ghost client problems
To: user-3b0d733c2299@xymon.invalid<mailto:user-3b0d733c2299@xymon.invalid>
Cc: xymon at xymon.com<mailto:xymon at xymon.com>
Date: Monday, February 27, 2012, 2:49 PM

Do you have anything under Ghost reports on the xymon server?

Are the client and server on the same or different hosts?

Is the client pointing at the correct address and port for the xymon server

How do you know files are missing from ~/client/tmp directory .. what are you expecting to see there?

Have you checked the clientlaunch.log and xymonclient.log files for errors in  ~/client/logs?
From: Pavel Traian [mailto:user-3b0d733c2299@xymon.invalid<mailto:user-3b0d733c2299@xymon.invalid>]
Sent: 27 February 2012 12:05
To: xymon at xymon.com<mailto:xymon at xymon.com>; Morris, Chris (SS-IS)
Subject: RE: [Xymon] Ghost client problems
Hi,
That one i have solved it, but....
Now i have reinstallled the client and i started it using ./runclient.sh --hostname=host start command from xymon user.
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.
On the client i have issued some commands and you have the output here:

[root at otpproxy1 tmp]# ps -ef | grep xymon
xymon     3785     1  0 09:44 ?        00:00:00 ./bin/xymonlaunch --config=./etc/clientlaunch.cfg --log=./logs/clientlaunch.log --pidfile=./logs/clientlaunch.otpproxy1.pid
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
xymon     5894  5892  0 13:54 ?        00:00:00 vmstat 300 2
root      5902  5686  0 13:57 pts/0    00:00:00 grep xymon
[root at otpproxy1 tmp]# ps -e | grep xymon
 3785 ?        00:00:00 xymonlaunch
[root at otpproxy1 tmp]# ls -l
total 36
-rw-rw-r-- 1 xymon xymon 32690 Feb 27 13:54 msg.otpproxy1.txt
-rw-rw-r-- 1 xymon xymon   246 Feb 27 13:54 xymon_vmstat.otpproxy1.5867
[root at otpproxy1 tmp]#

As i see there are some files missing from tmp directory. I don't understand why.
Can you please give me a hint?
Regards,
Traian.


****************************************************************************

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


*****************************************************************************
list Jamison Maxwell · Wed, 29 Feb 2012 05:51:25 +0000 ·
One thing I forgot:
d. the client is not running….  ps –A | grep  xymon
quoted from Jamison Maxwell

From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of Jamison Maxwell
Sent: Tuesday, February 28, 2012 7:40 PM
To: xymon at xymon.com
Subject: Re: [Xymon] Ghost client problems
I'd seriously suggest using a prebuilt RPM (search the archives for this/last month, there are a few posts), it puts various config files in /etc that are easier to diagnose configuration issues with than hand compiled installs.
I’d suggest the opposite.  When you compile the client it specifically asks you where the Xymon server is running.  All of the configuration files are placed in /home/xymon/client, all right there easy to configure, thus I don’t see why using pre-built RPMs is easier because the ones that I have tried have a tendency to scatter them, IMO.  Either way you go, find one way to do it in you environment and stick to it.

If the server is not displaying, or has purple ‘alerts’ in place of disk, memory, etc., then the server is not receiving the data from your client.  The only three possible reasons that I can see is that the a. the client cannot reach the server for either DNS (if hostname was used) or network related problems, b. the client is pointed at the wrong server or no server, c. there is a firewall on the server that is not allowing the connection attempt.

I would suggest disabling iptables to troubleshoot and ensure that the latter is not the issue, to make sure you instantaneously know whether or not you are receiving data, do a packet capture with ‘tcpdump dst port 1984’.  If you get packets from the client, then the firewall is the problem, if you don’t you have to keep going.  Ensure that the correct system is specified in the first line of /home/Xymon/client/etc/xymonclient.cfg.  It should read “XYMSRV="YOUR SERVER’S IP OR HOSTNAME"          # IP address of the Xymon server”.  If you specified the hostname, add it to /etc/hosts and see if that remediates.

Seriously though, these are all basic troubleshooting steps and anything that is above that is found in the man pages on the Xymon server.  Please, do this list a favor and read them, alternatively, you can contact me directly and I’ll set it up for you provided you pay my consulting fee. ; )

--Jamison Maxwell

From: xymon-bounces at xymon.com<mailto:xymon-bounces at xymon.com> [mailto:xymon-bounces at xymon.com]<mailto:[mailto:xymon-bounces at xymon.com]> On Behalf Of Steven Carr
Sent: Monday, February 27, 2012 9:40 AM
To: Pavel Traian; xymon at xymon.com<mailto:xymon at xymon.com>
Subject: Re: [Xymon] Ghost client problems

Conn is checked from the server side, not the client side. It sounds like you haven't told the client where to connect to. Where did you configure the xymon server IP address?

I'd seriously suggest using a prebuilt RPM (search the archives for this/last month, there are a few posts), it puts various config files in /etc that are easier to diagnose configuration issues with than hand compiled installs.

Steve

On 27 February 2012 13:56, Pavel Traian <user-3b0d733c2299@xymon.invalid<mailto:user-3b0d733c2299@xymon.invalid>> wrote:
Hi,
Conn, info and trends are green as always.
cpu, disk, memory, msgs, ports and procs are purple.
Regards,
Traian.


--- On Mon, 2/27/12, user-e510f6c03e57@xymon.invalid<mailto:user-e510f6c03e57@xymon.invalid> <user-e510f6c03e57@xymon.invalid<mailto:user-e510f6c03e57@xymon.invalid>> wrote:

From: user-e510f6c03e57@xymon.invalid<mailto:user-e510f6c03e57@xymon.invalid> <user-e510f6c03e57@xymon.invalid<mailto:user-e510f6c03e57@xymon.invalid>>
Subject: RE: [Xymon] Ghost client problems
To: user-3b0d733c2299@xymon.invalid<mailto:user-3b0d733c2299@xymon.invalid>
Date: Monday, February 27, 2012, 3:49 PM
So - your network tests ( server to client ) are green and current?  Server to client comms OK.

Your client tests are purple, no ghosts, no logfetch.* files?  Client to server comms NOTOK.

From: Pavel Traian [mailto:user-3b0d733c2299@xymon.invalid<mailto:user-3b0d733c2299@xymon.invalid>]
Sent: 27 February 2012 13:24

To: xymon at xymon.com<mailto:xymon at xymon.com>; Morris, Chris (SS-IS)
Subject: RE: [Xymon] Ghost client problems

Hi,
Do you have anything under Ghost reports on the xymon server?
I don't have anything under ghost report.
Are the client and server on the same or different hosts?
They are running on different hosts.
Is the client pointing at the correct address and port for the xymon server
Yes it is pointing the correct address and port.
How do you know files are missing from ~/client/tmp directory .. what are you expecting to see there?
When the client functioned(the test were green in xymon server) correctly i saw two more files there logfetch.clientname.cfg and logfetch.clientname.status.
Have you checked the clientlaunch.log and xymonclient.log files for errors in  ~/client/logs?
I see no errors.

Regards,
Traian.


--- On Mon, 2/27/12, user-e510f6c03e57@xymon.invalid<mailto:user-e510f6c03e57@xymon.invalid> <user-e510f6c03e57@xymon.invalid<mailto:user-e510f6c03e57@xymon.invalid>> wrote:

From: user-e510f6c03e57@xymon.invalid<mailto:user-e510f6c03e57@xymon.invalid> <user-e510f6c03e57@xymon.invalid<mailto:user-e510f6c03e57@xymon.invalid>>
Subject: RE: [Xymon] Ghost client problems
To: user-3b0d733c2299@xymon.invalid<mailto:user-3b0d733c2299@xymon.invalid>
Cc: xymon at xymon.com<mailto:xymon at xymon.com>
Date: Monday, February 27, 2012, 2:49 PM

Do you have anything under Ghost reports on the xymon server?

Are the client and server on the same or different hosts?

Is the client pointing at the correct address and port for the xymon server

How do you know files are missing from ~/client/tmp directory .. what are you expecting to see there?

Have you checked the clientlaunch.log and xymonclient.log files for errors in  ~/client/logs?
From: Pavel Traian [mailto:user-3b0d733c2299@xymon.invalid<mailto:user-3b0d733c2299@xymon.invalid>]
Sent: 27 February 2012 12:05
To: xymon at xymon.com<mailto:xymon at xymon.com>; Morris, Chris (SS-IS)
Subject: RE: [Xymon] Ghost client problems
Hi,
That one i have solved it, but....
Now i have reinstallled the client and i started it using ./runclient.sh --hostname=host start command from xymon user.
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.
On the client i have issued some commands and you have the output here:

[root at otpproxy1 tmp]# ps -ef | grep xymon
xymon     3785     1  0 09:44 ?        00:00:00 ./bin/xymonlaunch --config=./etc/clientlaunch.cfg --log=./logs/clientlaunch.log --pidfile=./logs/clientlaunch.otpproxy1.pid
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
xymon     5894  5892  0 13:54 ?        00:00:00 vmstat 300 2
root      5902  5686  0 13:57 pts/0    00:00:00 grep xymon
[root at otpproxy1 tmp]# ps -e | grep xymon
 3785 ?        00:00:00 xymonlaunch
[root at otpproxy1 tmp]# ls -l
total 36
-rw-rw-r-- 1 xymon xymon 32690 Feb 27 13:54 msg.otpproxy1.txt
-rw-rw-r-- 1 xymon xymon   246 Feb 27 13:54 xymon_vmstat.otpproxy1.5867
[root at otpproxy1 tmp]#

As i see there are some files missing from tmp directory. I don't understand why.
Can you please give me a hint?
Regards,
Traian.


****************************************************************************

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


*****************************************************************************
list Don Kuhlman · Wed, 29 Feb 2012 14:40:58 +0000 ·
One other thing I learned the hard way is that as well as making sure that the "XYMSRV="XYMON SERVER NAME OR IP" is set correctly in the xymonclient.cfg file, I had to go in to the clientlaunch.cfg file in the same directory as xymonclient.cfg and remove the —local value from the file.

Remove the words "--local" from the line that looks like this (for Unix clients)
        CMD $XYMONCLIENTHOME/bin/xymonclient.sh —local

For Windows clients make sure it says "central" for the "value =" in the line below in the bbwin.cfg file:
<!-- bbwin mode local or central -->
<setting name="mode" value="central" />
<setting name="configclass" value="win32" />
I didn't build the agent installs and when our Unix admin compiled them, they defaulted to —local. As soon as I changed both the Unix and Windows agent settings in this manner, (making sure the xymon server value is right), they started sending their cpu, disk, etc. values right over.

Next thing for us is to either customize the files or redo the install so it has these values set from the beginning.

Hope that helps.

Don K
quoted from Jamison Maxwell

From: Jamison Maxwell <user-87d336c3dce6@xymon.invalid<mailto:user-87d336c3dce6@xymon.invalid>>
Date: Wed, 29 Feb 2012 05:51:25 +0000
To: "xymon at xymon.com<mailto:xymon at xymon.com>" <xymon at xymon.com<mailto:xymon at xymon.com>>
Subject: Re: [Xymon] Ghost client problems

One thing I forgot:
d. the client is not running….  ps –A | grep  xymon

From: xymon-bounces at xymon.com<mailto:xymon-bounces at xymon.com> [mailto:xymon-bounces at xymon.com] On Behalf Of Jamison Maxwell
Sent: Tuesday, February 28, 2012 7:40 PM
To: xymon at xymon.com<mailto:xymon at xymon.com>
Subject: Re: [Xymon] Ghost client problems
I'd seriously suggest using a prebuilt RPM (search the archives for this/last month, there are a few posts), it puts various config files in /etc that are easier to diagnose configuration issues with than hand compiled installs.
I’d suggest the opposite.  When you compile the client it specifically asks you where the Xymon server is running.  All of the configuration files are placed in /home/xymon/client, all right there easy to configure, thus I don’t see why using pre-built RPMs is easier because the ones that I have tried have a tendency to scatter them, IMO.  Either way you go, find one way to do it in you environment and stick to it.

If the server is not displaying, or has purple ‘alerts’ in place of disk, memory, etc., then the server is not receiving the data from your client.  The only three possible reasons that I can see is that the a. the client cannot reach the server for either DNS (if hostname was used) or network related problems, b. the client is pointed at the wrong server or no server, c. there is a firewall on the server that is not allowing the connection attempt.

I would suggest disabling iptables to troubleshoot and ensure that the latter is not the issue, to make sure you instantaneously know whether or not you are receiving data, do a packet capture with ‘tcpdump dst port 1984’.  If you get packets from the client, then the firewall is the problem, if you don’t you have to keep going.  Ensure that the correct system is specified in the first line of /home/Xymon/client/etc/xymonclient.cfg.  It should read “XYMSRV="YOUR SERVER’S IP OR HOSTNAME"          # IP address of the Xymon server”.  If you specified the hostname, add it to /etc/hosts and see if that remediates.

Seriously though, these are all basic troubleshooting steps and anything that is above that is found in the man pages on the Xymon server.  Please, do this list a favor and read them, alternatively, you can contact me directly and I’ll set it up for you provided you pay my consulting fee. ; )

--Jamison Maxwell

From:xymon-bounces at xymon.com<mailto:xymon-bounces at xymon.com> [mailto:xymon-bounces at xymon.com]<mailto:[mailto:xymon-bounces at xymon.com]> On Behalf Of Steven Carr
quoted from Jamison Maxwell
Sent: Monday, February 27, 2012 9:40 AM
To: Pavel Traian; xymon at xymon.com<mailto:xymon at xymon.com>
Subject: Re: [Xymon] Ghost client problems

Conn is checked from the server side, not the client side. It sounds like you haven't told the client where to connect to. Where did you configure the xymon server IP address?

I'd seriously suggest using a prebuilt RPM (search the archives for this/last month, there are a few posts), it puts various config files in /etc that are easier to diagnose configuration issues with than hand compiled installs.

Steve

On 27 February 2012 13:56, Pavel Traian <user-3b0d733c2299@xymon.invalid<mailto:user-3b0d733c2299@xymon.invalid>> wrote:
Hi,
Conn, info and trends are green as always.
cpu, disk, memory, msgs, ports and procs are purple.
Regards,
Traian.


--- On Mon, 2/27/12, user-e510f6c03e57@xymon.invalid<mailto:user-e510f6c03e57@xymon.invalid><user-e510f6c03e57@xymon.invalid<mailto:user-e510f6c03e57@xymon.invalid>> wrote:

From: user-e510f6c03e57@xymon.invalid<mailto:user-e510f6c03e57@xymon.invalid> <user-e510f6c03e57@xymon.invalid<mailto:user-e510f6c03e57@xymon.invalid>>
Subject: RE: [Xymon] Ghost client problems
To: user-3b0d733c2299@xymon.invalid<mailto:user-3b0d733c2299@xymon.invalid>
Date: Monday, February 27, 2012, 3:49 PM
So - your network tests ( server to client ) are green and current?  Server to client comms OK.

Your client tests are purple, no ghosts, no logfetch.* files?  Client to server comms NOTOK.

From: Pavel Traian [mailto:user-3b0d733c2299@xymon.invalid<mailto:user-3b0d733c2299@xymon.invalid>]
Sent: 27 February 2012 13:24

To: xymon at xymon.com<mailto:xymon at xymon.com>; Morris, Chris (SS-IS)
Subject: RE: [Xymon] Ghost client problems

Hi,
Do you have anything under Ghost reports on the xymon server?
I don't have anything under ghost report.
Are the client and server on the same or different hosts?
They are running on different hosts.
Is the client pointing at the correct address and port for the xymon server
Yes it is pointing the correct address and port.
How do you know files are missing from ~/client/tmp directory .. what are you expecting to see there?
When the client functioned(the test were green in xymon server) correctly i saw two more files there logfetch.clientname.cfg and logfetch.clientname.status.
Have you checked the clientlaunch.log and xymonclient.log files for errors in  ~/client/logs?
I see no errors.

Regards,
Traian.


--- On Mon, 2/27/12, user-e510f6c03e57@xymon.invalid<mailto:user-e510f6c03e57@xymon.invalid> <user-e510f6c03e57@xymon.invalid<mailto:user-e510f6c03e57@xymon.invalid>> wrote:

From: user-e510f6c03e57@xymon.invalid<mailto:user-e510f6c03e57@xymon.invalid> <user-e510f6c03e57@xymon.invalid<mailto:user-e510f6c03e57@xymon.invalid>>
Subject: RE: [Xymon] Ghost client problems
To: user-3b0d733c2299@xymon.invalid<mailto:user-3b0d733c2299@xymon.invalid>
Cc: xymon at xymon.com<mailto:xymon at xymon.com>
Date: Monday, February 27, 2012, 2:49 PM

Do you have anything under Ghost reports on the xymon server?

Are the client and server on the same or different hosts?

Is the client pointing at the correct address and port for the xymon server

How do you know files are missing from ~/client/tmp directory .. what are you expecting to see there?

Have you checked the clientlaunch.log and xymonclient.log files for errors in  ~/client/logs?
From: Pavel Traian [mailto:user-3b0d733c2299@xymon.invalid<mailto:user-3b0d733c2299@xymon.invalid>]
Sent: 27 February 2012 12:05
To: xymon at xymon.com<mailto:xymon at xymon.com>; Morris, Chris (SS-IS)
Subject: RE: [Xymon] Ghost client problems
Hi,
That one i have solved it, but....
Now i have reinstallled the client and i started it using ./runclient.sh --hostname=host start command from xymon user.
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.
On the client i have issued some commands and you have the output here:

[root at otpproxy1 tmp]# ps -ef | grep xymon
xymon     3785     1  0 09:44 ?        00:00:00 ./bin/xymonlaunch --config=./etc/clientlaunch.cfg --log=./logs/clientlaunch.log --pidfile=./logs/clientlaunch.otpproxy1.pid
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
xymon     5894  5892  0 13:54 ?        00:00:00 vmstat 300 2
root      5902  5686  0 13:57 pts/0    00:00:00 grep xymon
[root at otpproxy1 tmp]# ps -e | grep xymon
 3785 ?        00:00:00 xymonlaunch
[root at otpproxy1 tmp]# ls -l
total 36
-rw-rw-r-- 1 xymon xymon 32690 Feb 27 13:54 msg.otpproxy1.txt
-rw-rw-r-- 1 xymon xymon   246 Feb 27 13:54 xymon_vmstat.otpproxy1.5867
[root at otpproxy1 tmp]#

As i see there are some files missing from tmp directory. I don't understand why.
Can you please give me a hint?
Regards,
Traian.


****************************************************************************

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


*****************************************************************************