[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] bb-hosts class override
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] bb-hosts class override
- From: Thomas Eckert <tom (at) IT-Eckert.de>
- Date: Fri, 20 Nov 2009 16:47:35 +0100
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1258732158; l=1578; s=domk; d=it-eckert.de; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:References: Subject:To:MIME-Version:From:Date:X-RZG-CLASS-ID:X-RZG-AUTH; bh=tGNi1p/dbNutfwWgVmNdGl0K2JE=; b=R3jnErGHhgcfnaqR99qZN2/oddyZrwlfj+t5AUeixJtY/ZuTMY93EM7E70TuDG9V1rF V6m+gJ6n64HMMJ+cBoOFKW9s05n2AablgwecB8PbYGtEUJmulwz3p8E8P0kSO4EJIBYvO oMAUL+VbovSzrNBObRr/zS23PXDZDTYSG0Y=
- Organization: IT-Beratung Eckert - http://www.it-eckert.de/
- References: <81231A7FFA6BB44EB59E49796DDA477D0135984E (at) TLRBEANTMBX05.ERF.THOMSON.COM>
- User-agent: Thunderbird 2.0.0.23 (X11/20091023)
have you tried to use
CLASS:sles11
?
nick.nauwelaerts (at) thomsonreuters.com wrote:
> hello,
> i can't seem to find a way to get the class override in bb-hosts to
> work. we have a bunch of servers running several linux versions. them
> being linux the report their status like this by default (gathered from
> clientdata):
> client vl143,eu,compumark,com.linux linux
>
> this will make them fall into the CLASS=linux in hobbit-clients.cfg. i
> would however like them to be recognized under a different class, being
> sles11. this can be done by changing the CONFIGCLASS on the client in
> hobbitclient.cfg, but i'd prefer not to do such configuration on each
> client, limiting my configuration to the server. as such, i've added the
> following to my bb-hosts:
> 10.223.136.143 vl143.eu.compumark.com # ssh CLASS=sles11
>
> however, this does not seem to force the client under the sles11 class.
>
> if i change the CONFIGCLASS on the local client, it does work, verifying
> that my class configuration in hobbit-clients.cfg on the server is
> correct. in this case the client would report it's class as such:
> client vl143,eu,compumark,com.linux sles11
>
> how does one use the CLASS directive in bb-hosts? i've seen this in the
> mailinglist archives but alas, without a solution.
>
> our server is running xymon 4.2.2 on sles10 sp2 amd64, our clients are a
> mix of sles9, sles10 & sles11 all xymon 4.2.2, all amd64.
>
> thx
>
>
> // nick
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe (at) hswn.dk
>
>