|
Here is BBOUT after the changes you suggested. Basically there is no change. I changed my bbwarnsetup.cfg line to look like this:
hg-nspacs1: diis2|nsos1|nsas1|nshsm1|nsas2
as the substitution of pipes from spaces was not happening in the replacestr function. ( Any clues why ? )
BBOUT >>
2nd word in message is: <red>
color of msg: red bbwarn: TRUE The pagelevels is set to <yellow red> pagedelay: 30 cfgdelim: ; svcerrlist: conn:100 ftp:101 telnet:102 http:103 ssh:104 smtp:105 disk:200 cpu:201 procs:202 svcs:301 msgs:302 oracle:400 sql-server:401 dblic:402 dbsz:403 impax:500 offline:501 errpt:600 fax:601 jobs:602 prt:603 who:604 ERR:999 pagehelpcode: 911 hostinfo: (hostsvc:nsas2.impax) (bbhostsvc:nsas2.impax) (redhost:nsas2) (redsvc:impax) ignforall: machip: 192168017190 - redsvc: impax - svcerr: 500 rule line: hg-nspacs1;;.*;;0-6;0600-2300;pg-nspacs1 pg-nspacs1-pager Column 1: hg-nspacs1 Column 2: Column 3: .* Column 4: Column 5: 0-6 Column 6: 0600-2300 Column 7: pg-nspacs1 pg-nspacs1-pager Substituting hg- tags in the rule line Original column 1: hg-nspacs1 Checking host definition: hg-nspacs1 Included hosts are: <diis2|nsos1|nsas1|nshsm1|nsas2> Column 1 converted to a regex: <diis2|nsos1|nsas1|nshsm1|nsas2> Original column 2: Excluded hosts are: <> Trying to match host <nsas2> with hosts regex: diis2|nsos1|nsas1|nshsm1|nsas2 Host <nsas2> matched this regex: diis2|nsos1|nsas1|nshsm1|nsas2 Trying to match service <impax> with svcs regex: We have a day range: 0-6 Start day range: 0 End day range: 6 Current day <1> is within Start/End day range: <0-6> We have a time range: 0600-2300 Start time range: 0600 End time range: 2300 Current time <1437> is within Start/End time range: <0600-2300> Recipients column: <pg-nspacs1 pg-nspacs1-pager> Validate recipient: <pg-nspacs1> This recipient <pg-nspacs1> is a page group The page group <pg-nspacs1> is defined by <> The list of recipients to notify is now: < > The list of recipients to ignore is now: <> Validate recipient: <pg-nspacs1-pager> This recipient <pg-nspacs1-pager> is a page group The page group <pg-nspacs1-pager> is defined by <> The list of recipients to notify is now: < > The list of recipients to ignore is now: <> The final list of recipients is: <> END
|