BB Unix Network Monitor - Message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

{bb} wildcard usage in bbwarnsetup.cfg (resend)



(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