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



I was beginning to think that I had problems w/ grep or egrep but after surfing through the source code I realize there is a function written to emulate egrep.  I put utils.c in DEBUG, recompiled and ran bb for a bit and got more information about the strings not matching:
?---------------------------------------------
hostsvc: medspeak.msgs
2nd word in message is: <yellow>
color of msg: yellow
bbwarn: TRUE
INTO REPLACESTR
String returned: [yellow red]
The pagelevels is set to <yellow red>
pagedelay: 30
cfgdelim: ;
svcerrlist: conn:100 ftp:101 telnet:102 http:103 smtp:104 disk:200 cpu:201 procs:300 svcs:301 msgs:302 oracle:400 sql-server:401 dblic:402 dbsz:403 impax:500 offline:501 dicom:502 errpt:600 fax:601 jobs:602 prt:603 who:604 ERR:999
pagehelpcode: 911
INTO REPLACESTR
String returned: [medspeak]
hostinfo: (hostsvc:medspeak.msgs) (bbhostsvc:medspeak.msgs) (redhost:medspeak) (redsvc:msgs)
ignforall:
machip: 192168016055 - redsvc: msgs - svcerr: 302
rule line: * ; ; * ; ; * ; 0600-2300 ; pg-nspacs pg-nspacspager
INTO REPLACESTR
dst: [] from: [  ] to: [ ] dstmaxlen: [0]
Column 1: *
INTO REPLACESTR
dst: [] from: [  ] to: [ ] dstmaxlen: [0]
Column 2:
INTO REPLACESTR
dst: [] from: [  ] to: [ ] dstmaxlen: [0]
Column 3: *
INTO REPLACESTR
dst: [] from: [  ] to: [ ] dstmaxlen: [0]
Column 4:
INTO REPLACESTR
dst: [] from: [  ] to: [ ] dstmaxlen: [0]
Column 5: *
INTO REPLACESTR
dst: [] from: [  ] to: [ ] dstmaxlen: [0]
Column 6: 0600-2300
INTO REPLACESTR
dst: [] from: [  ] to: [ ] dstmaxlen: [0]
Column 7: pg-nspacs pg-nspacspager
Substituting hg- tags in the rule line
Original column 1:       *
Checking host definition: *
INTO REPLACESTR
dst: [] from: [  ] to: [ ] dstmaxlen: [0]
Included hosts are: <*>
INTO REPLACESTR
String returned: [*]
Column 1 converted to a regex: <*>
Original column 2:      
INTO REPLACESTR
dst: [] from: [  ] to: [ ] dstmaxlen: [0]
Excluded hosts are: <>
Trying to match host <medspeak> with hosts regex: *
INTO REPLACESTR
String returned: [^(*)$]
INTO REPLACESTR
match on [*]
dsttmp at this point: [^(.*], dst: [)$]
[*] generates a string too large, stopped !   <----- interesting
Matching <medspeak> against <^(.*>
Ignore this rule as host <medspeak> did not match this regex: *
Oh well, no recipients were determined, we're done
?-------------------------------------------------------------------------------------
 
the lines:
Trying to match host <medspeak> with hosts regex: *
INTO REPLACESTR
String returned: [^(*)$]
INTO REPLACESTR
match on [*]
dsttmp at this point: [^(.*], dst: [)$]
[*] generates a string too large, stopped !
are interesting, and maybe there is a memory allocation problem when trying to do the regexp. ???  Anyone got any thoughts ?
 
 
Confidentiality: This email message may contain confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this email. Please notify the sender immediately by email if you have received this email by mistake and delete this email from your system. Email transmissions cannot be guaranteed to be secure or error free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept any liability for errors or omissions in the contents of this message that arise as a result of email transmissions. If verification is required please request a hard copy version.

Home | Main Index | Thread Index