如何让nagios在晚上和早上不发送消息来发送所有剩余的错误
我让 Nagios 检查服务状态并发送有关服务状态的短信。
有些问题晚上不重要,宁愿晚上不发。
define timeperiod{
timeperiod_name non_work
alias Non work hours
sunday 00:00-24:00
monday 00:00-09:00,18:00-24:00
tuesday 00:00-09:00,18:00-24:00
wednesday 00:00-09:00,18:00-24:00
thursday 00:00-09:00,18:00-24:00
friday 00:00-09:00,18:00-24:00
saturday 00:00-24:00
}
然而,早上我希望所有的问题,而不仅仅是新的问题都会被发送。 我该如何配置呢?
或者nagios没有这个功能?
I have Nagios checking service status and sending SMS messages about service status.
Some problems are not important at night and prefer to not send them at night.
define timeperiod{
timeperiod_name non_work
alias Non work hours
sunday 00:00-24:00
monday 00:00-09:00,18:00-24:00
tuesday 00:00-09:00,18:00-24:00
wednesday 00:00-09:00,18:00-24:00
thursday 00:00-09:00,18:00-24:00
friday 00:00-09:00,18:00-24:00
saturday 00:00-24:00
}
However, in the morning I would like that all the problems, not just new would be sent.
How can I configure that?
Or nagios do not have this functions?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
据我了解您的问题,您只是不想在夜间收到某些问题的短信,但在工作时间希望收到您本应收到的所有警告 是否发送警告。这不是 Nagios 中内置的内容,但您可以/应该发送给开发社区供考虑。
As I understand your problem, you just don't want to receive text messages during the night for certain problems, but upon work hours want to receive all the warnings you would have received if the warnings were being sent. This isn't something that is built into Nagios, but is something that you can/should send over to the development community for consideration.