[icinga-users] Notification Intervall is ignored

Franky Van Liedekerke liedekef at telenet.be
Mon Dec 3 11:52:23 CET 2012


According to your config, the following will happen:

- first notification after 2*15 (max_check_attempts*retry_interval) 
minutes
- subsequent notifications every 120 minutes

Read this (pay attention to the word "still" in the definition of 
notification_interval):
notification_interval:
This directive is used to define the number of "time units" to wait 
before re-notifying a contact that this service is still in a non-OK 
state. Unless you've changed the interval_length directive from the 
default value of 60, this number will mean minutes. If you set this 
value to 0, Icinga will not re-notify contacts about problems for this 
service - only one problem notification will be sent out.

first_notification_delay:
This directive is used to define the number of "time units" to wait 
before sending out the first problem notification when this service 
enters a non-OK state. Unless you've changed the interval_length 
directive from the default value of 60, this number will mean minutes. 
If you set this value to 0, Icinga will start sending out notifications 
immediately.

Franky

On 2012-12-03 11:15, Kai Timmer wrote:

> Hello,
> I use a service definition like this:
>
> define service{
> name service_template
> register 0
>
> is_volatile 0
> flap_detection_enabled 1
> flap_detection_options o,w,c,u
> notifications_enabled 1
> process_perf_data 0
> active_checks_enabled 1
> passive_checks_enabled 1
> check_period 24x7
>
> notifications_enabled 1
> notification_period 24x7
> notification_options w,u,c,r
> notification_interval 120
> max_check_attempts 6
> retry_interval 5
> check_interval 10
> first_notification_delay 0
> contact_groups admins
> }
> define service {
> name nrpe_service_template_check_disk
> use service_template
>
> servicegroups system-health
>
> notification_options c,r
> max_check_attempts 2
> check_interval 60
> retry_interval 15
> register 0
> }
> define service {
> use nrpe_service_template_check_disk
> check_command nrpe_windows_check!check_disk_e
> description disk_e
> host_name host1
> }
> define host{
> use host_template
> host_name host1
> alias wsus.intern.chemmedia.de
> address 172.1.2.3
> parents esx01
>
> host_groups os-windows, orga-internal-services
> }
>
> For some reason, from the disk check, I get notifications every 30
> minutes and not every 2 hours as i intended. Can anyone tell my why
> that happens?
>
> Thanks for your help,
> --
> Kai Timmer | E-Mail: email at kaitimmer.de
> Chemnitzer Linux-Tage | http://chemnitzer.linux-tage.de
>
>
------------------------------------------------------------------------------
> Keep yourself connected to Go Parallel:
> BUILD Helping you discover the best ways to construct your parallel
> projects.
> http://goparallel.sourceforge.net
> _______________________________________________
> icinga-users mailing list
> icinga-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/icinga-users




More information about the icinga-users mailing list