关于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 |