2
中的电子邮件通知,我将超时设置为5分钟,即5分钟。 我收到5分钟或10分钟的电子邮件。 我无法调试,为什么会发生这种情况。 请帮忙。在Bosun配置通知中重复Bosun
notification default {
email [email protected]
print = true
next = default
timeout = 5m
}
template tags {
subject =`Testing Emails Sample`
body = `<p><strong>Tags</strong>
<table>
{{range $k, $v := .Group}}
{{if eq $k "api"}}
<tr><td>{{$k}} : {{$v}}</td></tr>
{{end}}
{{end}}
</table>`
}
alert testSampleAlert5 {
template = tags
$notes = This alert monitors the percentage of 5XX on arm APIs
crit = 1
warn = 0
warnNotification = default
critNotification = default
}
alert testSampleAlert4 {
template = tags
$notes = This alert monitors the percentage of 5XX on arm APIs
crit = 0
warn = 1
warnNotification = default
critNotification = default
}
嗨,我希望每5分钟通知一次。但是,我有时会以5分钟的时间间隔或10分钟的时间间隔收到通知。 –