【问题标题】:How to make nagios not send messages during the night and morning to send all the remaining errors如何让nagios在晚上和早上不发送消息发送所有剩余的错误
【发布时间】:2010-08-12 11:00:23
【问题描述】:

我让 Nagios 检查服务状态并发送有关服务状态的 SMS 消息。

有些问题晚上不重要,宁愿晚上不发。

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没有这个功能?

【问题讨论】:

    标签: email nagios


    【解决方案1】:

    据我了解您的问题,您只是不想在夜间收到某些问题的短信,但希望在工作时间收到您会收到的所有警告 如果正在发送警告。这不是 Nagios 内置的东西,但您可以/应该将其发送给开发社区以供考虑。

    【讨论】:

      猜你喜欢
      • 2023-02-07
      • 1970-01-01
      • 2022-09-28
      • 1970-01-01
      • 1970-01-01
      • 2015-06-06
      • 2012-08-03
      • 2019-10-26
      • 2020-01-30
      相关资源
      最近更新 更多