[hobbit] Could not use regular expressions in client-local.cfg [name] tag
Aiello, Steve (GE, Corporate, consultant)
steve.aiello at ge.com
Mon Jan 22 14:31:43 CET 2007
You can also use the CLASS tag/parameter to define your particular group
of devices. From the bb-hosts man page:
CLASS:Classname
Force the host to belong to a specific class. Class-names are used when
configuring log-file monitoring (they can be used as references in
client-local.cfg
<http://cihcrpswas03.corporate.ge.com/bb/help/manpages/man5/client-local
.cfg.5.html> (5) and hobbit-clients.cfg
<http://cihcrpswas03.corporate.ge.com/bb/help/manpages/man5/hobbit-clien
ts.cfg.5.html> (5) to group logfile checks). Normally, class-names are
controlled on the client by starting the Hobbit client with the
"--class=Classname" option. If you specify it in the bb-hosts file on
the Hobbit server, it overrides any classname that the client reports.
-----Original Message-----
From: RAMA [mailto:grsamy at yahoo.com]
Sent: Monday, January 22, 2007 2:23 AM
To: hobbit at hswn.dk
Subject: Re: [hobbit] Could not use regular expressions in
client-local.cfg [name] tag
not possible as other boxes also share the same os version. Solved this
issue for now, by writing a simple shell script which creates the
create-local.cfg file
Thanks
Ram
Jerry Yu <jjj863 at gmail.com> wrote:
do they share something common, like OS version? You can group them
under OS...
On 1/19/07, RAMA <grsamy at yahoo.com <mailto:grsamy at yahoo.com> > wrote:
Looks like the answer is 'not possible' . Looked at the mail archives
and found
-----
Date: Fri, 12 May 2006 11:58:44 +0000
Subject: Re: [hobbit] client-local.cfg? feature request?
Reference : 20060512060555.GA29769 @ hswn. dk
It is not clear what support there is for regular expressions, perhaps
it is already there for ignore, and trigger, but not log, file or the
hostname?
Exactly
----
RAMA <grsamy at yahoo.com> wrote:
Is it possible to use regular expression in client-local.cfg to specify
hostname(s), as I could do so in hobbit-clients.cfg?
I tried the same regular expression as in hobbit-client.cfg and it
doesn't work.
Tried on few servers without regular expression on hostnames and it
worked.
Please help as I have to configure clientt-local.cfg for hundreds of
servers :(
Thanks
Ram
_____
Don't be flakey. Get Yahoo! Mail for Mobile
<http://us.rd.yahoo.com/evt=43909/*http://mobile.yahoo.com/mail> and
always stay connected
<http://us.rd.yahoo.com/evt=43909/*http://mobile.yahoo.com/mail> to
friends.
_____
The fish are biting.
Get more visitors
<http://us.rd.yahoo.com/evt=49679/*http://searchmarketing.yahoo.com/arp/
sponsoredsearch_v2.php?o=US2140&cmp=Yahoo&ctv=Q107Tagline&s=Y&s2=EM&b=50
> on your site using Yahoo! Search Marketing.
_____
Access over 1 million songs - Yahoo!
<http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=36035/*http://music.yah
oo.com/unlimited/> Music Unlimited.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20070122/f557c6f0/attachment.html>
More information about the Xymon
mailing list