BB Unix Network Monitor - Message
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
{bb} problem with notification while using BB 1.9f-bft
Greetings,
I've gone
over the config files a couple of time, even had someone else try and set
it up. Things look OK from that stand point. It looks like
something is changing the reciepent list in the code. I've put
debug in the bbpage.c file. Here is the output from BBOUT, as well
as my bbwarn config files:
BBOUT
big@redwolf:~/bb/% cat -A BBOUT
Fri Jul 15 15:11:27 EDT 2005: Starting Big Brother...$
^IStarting Big Brother Daemon (bbd)...$
^IStarting Network tests (bb-network)...$
^IStarting Display process (bb-display)...$
^IStarting external scripts$
^I^IStarting external script larrd/larrd.pl$
^I^IStarting external script bb-fetch.sh$
Big Brother 1.9f started$
argmsg: notify-admin.pagehelp 9999999999999999999999 User has requested
your help. Call 9999999999999999999999$
msg: 9999999999999999999999 User has requested your help. Call
9999999999999999999999$
hostsvc: notify-admin.pagehelp$
2nd word in message is: <9999999999999999999999>$
We have a "notify-admin" request$
bbwarn: TRUE$
The pagelevels is set to <red purple yellow green>$
pagedelay: 15$
cfgdelim: ;$
svcerrlist: disk:100 cpu:200 procs:300 msgs:400 conn:500 http:600 dns:800
ERR:999$
pagehelpcode: 911$
hostinfo: (hostsvc:notify-admin.pagehelp)
(bbhostsvc:notify-admin.pagehelp) (redhost:notify-admin)
(redsvc:pagehelp)$
ignforall: $
machip: 9999999999999999999999 - svcerr: 911$
rule line: *;;*;;*;*;pel@lightbridge.com$
rule line: *;;*;;*;*;root$
rule line: notify-admin;;pagehelp;;*;*;root$
Column 1: notify-admin$
Column 2: $
Column 3: pagehelp$
Column 4: $
Column 5: *$
Column 6: *$
Column 7: root$
Substituting hg- tags in the rule line$
Original column 1: notify-admin$
Checking host definition: notify-admin$
Included hosts are: <notify-admin>$
Column 1 converted to a regex: <notify-admin>$
Original column 2: $
Excluded hosts are: <>$
Trying to match host <notify-admin> with hosts regex:
notify-admin$
Matching <notify-admin> against <^(notify-admin)$>$
Host <notify-admin> matched this regex: notify-admin$
Trying to match service <pagehelp> with svcs regex: $
Matching <pagehelp> against <^(pagehelp)$>$
Day definition in rule line matched all (*)$
Time definition in rule line matched all (*)$
Recipients column: <root>$
Validate recipient: <root>$
The list of recipients to notify is now: <M-(7M-^G>$
The list of recipients to ignore is now: <>$
The final list of recipients is: <M-(7M-^G>$
rule line: unmatched-*;;*;;*;*;root$
Preliminary recipients list <M-(7M-^G>$
Keep only one recipient definition per recipient$
Our recipients list is <M-(7M-^G >$
Working on recipient <M-(7M-^G>$
getdelay(): PAGE_BASIC:DEFAULT - initdelay = 0, delay = 15$
Adding recipient <M-(7M-^G> to recipient list$
Final recipients list <M-(7M-^G>$
big@redwolf:~/bb/etc/% cat -A bbwarnsetup.cfg | grep -v ^#
$
$
$
$
$
$
$
$
$
$
bbwarn: TRUE$
$
$
$
svcerrlist: disk:100 cpu:200 procs:300 msgs:400 conn:500 http:600 dns:800
ERR:999$
$
$
$
trapcodes: disk:2 cpu:4 procs:6 msgs:8 conn:10 http:12 dns:14 dig:14
ftp:16 smtp:18 fping:20 imap:22 mq:24 mrtg:26 nntp:28 pop3:30 pop-3:30
ssh:32 swap:34 t
elnet:36 ERR:0$
$
$
entoid: .1.3.6.1.4.1.7058$
$
$
$
snmptrap_pgm: /usr/local/bin/snmptrap$
$
$
$
snmptrap_type: UCD$
$
$
$
$
$
$
pagehelpcode: 911$
$
$
$
ttyline: /dev/cuaa0$
$
$
prefix: T9 $
suffix:$
$
$
$
pagedelay: 15$
$
$
$
pagelevels: red purple yellow green$
$
$
$
pagelevelsmail: yellow red purple green$
$
$
$
pagerecovered: FALSE$
$
$
$
pagetype: EVENT$
$
$
$
pagemaster: pel@lightbridge.com$
$
$
$
pageaddhtmlpath: TRUE$
$
$
$
cfgdelim: ;$
$
$
$
briefrcpt: $
$
$
$
$
$
big@redwolf:~/bb/etc/% cat -A bbwarnrules.cfg | grep
-v ^#
$
$
$
$
$
*;;*;;*;*;pel@lightbridge.com$
$
$
$
$
$
$
$
$
$
*;;*;;*;*;root$
$
$
$
notify-admin;;pagehelp;;*;*;root$
$
$
$
unmatched-*;;*;;*;*;root$
Home |
Main Index |
Thread Index