Nagios不会触发连续警报

问题描述 投票:0回答:1

我已经在我的一个虚拟机上设置了Nagios。当服务为紧急状态时,我会收到第一个警报。但是我没有收到后续的警报/电子邮件。

Host template config
define host {
       name                                 host-template
       alias                                Default server template
       check_command                        check_dummy!0!!!!!!!
       max_check_attempts                   10
       check_interval                       5
       retry_interval                       1
       check_period                         24x7
       event_handler                        notify-host-by-email
       event_handler_enabled                1
       process_perf_data                    1
       contacts                             user1
       notification_interval                10
       notification_period                  24x7
       first_notification_delay             0
       notification_options                 d,u,s,
       notifications_enabled                1
       _LTERM_LOAD_C                        10
       _LTERM_LOAD_W                        5
       _USED_MEM_C                          30
       _USED_MEM_W                          20
       _USED_SPACE_C                        40
       _USED_SPACE_W                        30
       register                             0
}

Host config:
define host {
    host_name           aaaaa
    use                 bbbbb
    alias               DEV
    display_name        DEV
    address             11.111.111.111
    _KEY                xx
    _SERVERPORT         xx:8082
    _SERVERPORTLFAT     xx:443
    _URL                xx:8082
    _USER               test01
    register            1
}

notification_interval已启用,但我仍然看不到任何通知。我不确定是否有任何东西可以覆盖它。

nagios nagiosxi
1个回答
0
投票

由于此:

max_check_attempts                   10

Nagios将再尝试10次,然后再向您发送通知。尝试发表评论,然后再次检查

© www.soinside.com 2019 - 2024. All rights reserved.