[Xymon] Ghost client problems

Steven Carr sjcarr at gmail.com
Thu Feb 23 11:36:53 CET 2012


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 <paveltraian at yahoo.com> 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 <sjcarr at gmail.com>* wrote:
>
>
> From: Steven Carr <sjcarr at gmail.com>
> Subject: Re: [Xymon] Ghost client problems
> To: "Pavel Traian" <paveltraian at yahoo.com>, 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 <paveltraian at yahoo.com<http://mc/compose?to=paveltraian@yahoo.com>
> > 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 <sjcarr at gmail.com<http://mc/compose?to=sjcarr@gmail.com>
> >* wrote:
>
>
> From: Steven Carr <sjcarr at gmail.com<http://mc/compose?to=sjcarr@gmail.com>
> >
> Subject: Re: [Xymon] Ghost client problems
> To: "Pavel Traian" <paveltraian at yahoo.com<http://mc/compose?to=paveltraian@yahoo.com>>,
> xymon at xymon.com <http://mc/compose?to=xymon@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 <paveltraian at yahoo.com<http://mc/compose?to=paveltraian@yahoo.com>
> > 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 <paveltraian at yahoo.com<http://mc/compose?to=paveltraian@yahoo.com>>
> wrote:
>
> > From: Pavel Traian <paveltraian at yahoo.com<http://mc/compose?to=paveltraian@yahoo.com>
> >
> > Subject: Ghost client problems
> > To: xymon at xymon.com <http://mc/compose?to=xymon@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.
> >
> _______________________________________________
> Xymon mailing list
> Xymon at xymon.com <http://mc/compose?to=Xymon@xymon.com>
> http://lists.xymon.com/mailman/listinfo/xymon
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20120223/7e1e6606/attachment.html>


More information about the Xymon mailing list