Well...poo! That's unfortunate as we have several dozen of similarly named servers we need to run some specific file checks on and it's going to be a bit annoying to have to add each one individually.
I'm concerned about having to use a command to find certain files..."If you want to check multiple files using a wildcard, you must use a command to generate the filenames. Putting wildcards directly into the file: entry will not work." Which would imply that if I want to check for a files using a wild card, I would need to have a line in client-local.cfg like:
file:ls /path/to/<pattern>
=G=
From: Mike Burger <mburger at bubbanfriends.org> Sent: Monday, January 27, 2014 10:35 AM To: Galen Johnson Cc: xymon at xymon.com Subject: Re: [Xymon] client-local.cfg
Hey,
I have a couple of questions regarding the client-local.cfg file.
can it handle reg-ex for hostnames like other cfg files? For example, [%(myhost1|myhost2).*]
According to the man page for client-local.cfg, "When clients connect to the Xymon server to send in their client data, they will receive part of this file back from the Xymon server." What if you are using xymonfetch? Would I need to create a local client-local.cfg file within the .../xymon/client/etc folder?
Already ran through this (even asked on this list)...no...no regexp for the hosts in client-local.cfg.
Use the client-local.cfg file on the server in $XYMONHOME/etc (or, if you installed via rpm, /etc/xymon. I do have a couple of systems where I'm using xymonfetch, and it's pulling data, including log info and such, without any issues.
-- Mike Burger http://www.bubbanfriends.org
"It's always suicide-mission this, save-the-planet that. No one ever just stops by to say 'hi' anymore." --Colonel Jack O'Neill, SG1