Xymon Mailing List Archive search

Clients not loading custom client-local.cfg values

list Joshua E. Bradley
Wed, 02 May 2012 17:09:54 -0400
Message-Id: <user-da33744f5112@xymon.invalid>

These are very helpful suggestions to use for troubleshooting. The ³client
data² page was showing something like
    [collector:]
    client server,name,ems,com.linux linux

Which was clearly not respecting the ³--class=suse-srvs² that was being
applied to the startup script.

I¹ve tried starting the client now with:  ³./runclient.sh --os=suse-srvs
start² which does adjust the OS value reported accordingly, but as there
isn¹t a ³xymonclient-suse-srvs.sh² script the msgs just pile up in the
./tmp/ and are never delivered to the server.

Any other thoughts or suggestions are welcomed.

-- 
Thanks,
Josh Bradley


From: Jeremy Laidman <user-71895fb2e44c@xymon.invalid>
Date: Wed, 2 May 2012 12:06:40 +1000
To: Joshua Bradley <user-27278b4bbc23@xymon.invalid>
Cc: <xymon at xymon.com>
Subject: Re: [Xymon] Clients not loading custom client-local.cfg values

What does your "client data" page show as your config class?  It's the last
word of the first line in the [collector:] section.

I note that you show "-class" set to "suse-srv" but your client-local.cfg
entry set to "suse-srvs" instead.  Was that a typo in your email, or in your
configuration?

Also, the "--class" suffix has two dashes, and you listed only one.

Also, after changes to client-local.cfg, you might need to kill the "xymond"
process (it should restart automatically) to have the changes take effect.

It should work for you.  The man page for client-local.cfg states that only
the hostname and OS name are used when matching the relevant section, and
doesn't mention the config class.  Despite this, I see posts indicating that
people are using this.  Indeed Henrik has said that it's actually the class
that's matched, and the class defaults to the OS type.  I think the doco
needs updating in this regard.

On Wed, May 2, 2012 at 3:37 AM, Bradley, Joshua E. <user-27278b4bbc23@xymon.invalid> wrote:
Greetings,

We have a variety of servers in our environment which we¹re looking to monitor
with Xymon. I¹ve recently built a Xymon server 4.3.7 and compiled some clients
on our SUSE 9 machines. When running the clients they only seem to match the
entries in the client-local.cfg file on the server for [linux] and not the
custom entries which I created [suse-srvs]. I¹ve tried launching the client
with with ‹class=suse-srv but to no avail. I feel like I¹m missing something,
can anyone give me some feedback?


-- 
Thanks,
Josh Bradley

This message is a PRIVATE communication. If you are not the intended
recipient, please do not read, copy, use, or disclose to others. If you have
received this message in error, please reply to sender and delete this message
from your system. Thank you.

This message is a PRIVATE communication. If you are not the
intended recipient, please do not read, copy, use, or disclose to
others. If you have received this message in error, please reply to
sender and delete this message from your system. Thank you.