BB Unix Network Monitor - Message

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

Re: {bb} No email notification Solaris 9 and bb1.9f-btf : Still Stumped



I think that you were on the right track with your previous post.
My first couple of ideas were just a couple of things that might
have resulted in "a string too large", the code change was to
try and get more detailed information. If you've made that
change already, could you set DEBUG in bbutil.c; recompile and
run again? That should produce more output like:

  dst: [] from: [  ] to: [ ] dstmaxlen: [0]

but with information about the string replacements that are
being attempted. Hopefully, it should be possible to spot why
the string appears to be too long.

Cheers, Phil.



On Mon, 2005-06-27 at 18:51, Al Rankin wrote:
> 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


-- 
Man is the best computer we can put aboard a spacecraft and the only one
that
can be mass produced with unskilled labor. (Wernher von Braun)

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
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