BB Unix Network Monitor - Message
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
{bb} wildcard usage in bbwarnsetup.cfg (resend)
- To: bb@bb4.com
- Subject: {bb} wildcard usage in bbwarnsetup.cfg (resend)
- From: Tom Georgoulias <tgeorgoulias@nandomedia.com>
- Date: Tue, 23 Nov 2004 10:23:52 -0500
- Content-transfer-encoding: 7bit
- Content-type: text/plain; charset=us-ascii; format=flowed
- Reply-to: bb@bb4.com
- Sender: owner-bb@bb4.com
- User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040922
(Resending this because I'm still suffering from this problem. I hope
someone can help.)
I'm trying come up with an easy way to use an regexp to group systems in
my bbwarnsetup.cfg file without having to explicity list each system in
each group. I'm running bb1.9e on Red Hat Enterprise Linux 3.
For example, say I'd like to create two groups:
"hg-devel" with members
host01devel
host02devel
host03devel
"hg-prod" with members
host01prod
host02prod
host03prod
If I try to use a * to wildcard the digits in the host name when assign
systems to the group, it does not work.
(entries in bbwarnsetup.cfg)
hg-devel: host*devel
hg-prod: host*prod
I did some searching of the archives and saw that "*" is expanded to
".*", so that might explain why. I'd like to know how I can make this
work. I tried using "??" and variations of "[0-9]", but nothing worked.
Any ideas?
Tom
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.
Home |
Main Index |
Thread Index