关于somkeping报警阀值设定的疑问

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
honghe000
帖子: 59
注册时间: 2007-04-28 15:42

关于somkeping报警阀值设定的疑问

#1

帖子 honghe000 » 2008-01-09 9:45

关于smokeping报警阀值的设定没有理解有以下几点
pattern设定a==0%,==0%,==0%,==0%,>0%,>0%,>0% 的含义是什么
==S,==U
pattern = <10,<10,<10,<10,<10,<100,>100,>100,>100
都代表着什么,为什么一个阀值赋了好多值,有啥逻辑关系,那位大虾能给解释一下,非常感谢
+bigloss
type = loss
# in percent
#pattern = ==0%,==0%,==0%,==0%,>20%,>20%,>20%
pattern = ==0%,==0%,==0%,==0%,>0%,>0%,>0%
comment = suddenly there is packet loss

+someloss
type = loss
# in percent
pattern = >0%,*20*,>0%,*20*,>0%,*20*,>0%,*20*,>0%
comment = loss 4 times in a row

+startloss
type = loss
# in percent
pattern = ==S,>0%,>0%,>0%
comment = loss at startup

+rttdetect
type = rtt
# in milli seconds
#pattern = <10,<10,<10,<10,<10,<100,>100,>100,>100
pattern = <0,<0,<0,<0,<0,<10,>10,>10,>10
comment = routing mesed up again ?

*** Alerts ***
to = admin@company.xy,peter@home.xy
from = smokealert@company.xy

+lossdetect
type = loss
# in percent
pattern = ==0%,==0%,==0%,==0%,>20%,>20%,>20%
comment = suddenly there is packet loss

+miniloss
type = loss
# in percent
pattern = >0%,*12*,>0%,*12*,>0%
comment = detected loss 3 times over the last two hours

+rttdetect
type = rtt
# in milliseconds
pattern = <10,<10,<10,<10,<10,<100,>100,>100,>100
comment = routing messed up again ?

+rttbadstart
type = rtt
# in milliseconds
pattern = ==S,==U
comment = offline at startup
回复