BB Unix Network Monitor - Message
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
{bb} wildcard usage in bbwarnsetup.cfg
- To: bb@bb4.com
- Subject: {bb} wildcard usage in bbwarnsetup.cfg
- From: Tom Georgoulias <tgeorgoulias@nandomedia.com>
- Date: Thu, 04 Nov 2004 10:38:14 -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
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 Linux.
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 explains why what I was trying doesn't work.
So I'd like to know what options I have for this. 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