Xymon Mailing List Archive search

File Monitoring

list Steve Holmes
Wed, 11 Jan 2012 09:59:37 -0500
Message-Id: <user-0189b1551cd8@xymon.invalid>

Brilliant! That last paragraph led me to judicious use of PAGE= and a
"CLASS=linux EXPAGE=" line that works for me since all of the debian hosts
are on 3 pages (so far :-). And this way I didn't have to ask the debian
admins to change their Xymon client configuration.

Thanks!
Steve

On Tue, Jan 10, 2012 at 6:07 PM, Jeremy Laidman <user-71895fb2e44c@xymon.invalid>wrote:
On Wed, Jan 11, 2012 at 7:50 AM, Steve Holmes <user-ec1bf77b1b44@xymon.invalid> wrote:
Ok see, this is real similar to the problem I'm having, except I can't
get it to work (Xymon 4.2.3).

My debian hosts are sending the following:

client xxxx.xxxxx.org.linux linux

The bit after the hostname is used to define the OS type.  This is
obtained, at the client, from the lower-cased output of "uname -s", but can
be overridden by defining in xymonclient.cfg by setting SERVEROSTYPE.  See
the man page for xymonclient.cfg for info.  If you add
"SERVEROSTYPE=debian" into xymonclient.cfg (and restart xymon), then you
should get your client data showing this:

client xxxx.xxxxx.org.debian linux

I haven't tried this, but it might do what you want.

Our [debian] servers keep some files in a different location than our
other Linux servers (Redhat) so the Debian servers get "File is missing"
errors and I have to disable the test to prevent the warning from showing
up.

I have a global [linux] section, and per-host definitions where they
deviate.  It's a bit of a hassle replicating the same definitions for a
bunch of identical hosts, but I only have to set it up once per host.

J

-- 
If they give you ruled paper, write the other way. -Juan Ramon Jimenez,
poet, Nobel Prize in literature (1881-1958)

Truth never damages a cause that is just. -Mohandas Karamchand Gandhi
(1869-1948)