Page 1 of 1

Nagios Doesnt trigger continuous Alerts

Posted: Sat Nov 30, 2019 7:31 pm
by ananthm
I have setup Nagios on one of my VM. I receive the first alert when a service is Critical. But I do not receive the subsequent alert/email.
Host uses the host template.
notification_interval
is enabled in host template but still i don't see any notifications. I'm unsure if there is anything that is overriding it.

Code: Select all

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
}

Re: Nagios Doesnt trigger continuous Alerts

Posted: Mon Dec 02, 2019 7:58 am
by scottwilkerson
This looks correct for notifications every 10 minutes to go to user1 for this host if the host was in a DOWN state. The one thing that would override this is if you have an escalation setup that includes this host.