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.
• *Xymon at xymon.com
• ------------------------------
* 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. *