Hello,

I'm trying to use escalation for my monitoring, but I've got a little problem, when the escalation is triggered, shinken send an email every seconds !

I've searched a while and simplify my configuration, but I always meet this problem.

I don't know if I miss something in my configuration or if it's a bug, and I have no clue for debugging

Some conf parts :
Code:
define escalation {
	escalation_name		EscaladeWDM
	contacts		wdmedia
	first_notification_time 5
	last_notification_time	600
	notification_interval	60
	escalation_period	workhours
	escalation_options	w,u,c,r
}

define contact{
	use					generic-contact
    contact_name              wdmedia
	email					noiwontputithere@norhere.net
	host_notification_period		workhours
	service_notification_period		workhours
}

define service {
	use			generic-load
	host_name		ns212127
    escalations      EscaladeWDM
}

define service{
    name              generic-load
	use				generic-service
	service_description       LOAD
	normal_check_interval      3
	retry_check_interval      1
	max_check_attempts       3
	notification_interval      60
	check_command          check_nrpe_load
    register            0    ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE!
    }

define service{
    name              generic-service 	; The 'name' of this service template
    active_checks_enabled      1    		; Active service checks are enabled
    passive_checks_enabled     1  		  	; Passive service checks are enabled/accepted
	check_interval      5			; Check the service every 5 minutes in normal state
    retry_interval      1			; Re-check the service every one minutes until a hard state can be determined
    max_check_attempts    2			; Re-check the service up to 3 times in order to determine its final (hard) state
    check_period       24x7			; The service can be checked at any time of the day
    notifications_enabled      1    		; Service notifications are enabled
	notification_options		w,u,c,r			; Send notifications about warning, unknown, critical, and recovery events
    notification_interval      60			; Re-notify about service problems every hour
	notification_period       24x7
    flap_detection_enabled     1    		; Flap detection is enabled
	check_freshness         0
	freshness_threshold		3600
    obsess_over_service       0
    process_perf_data        1    		; Process perf data, like for PNP
	is_volatile           0    		; for log monitoring. See doc for more info about it
    register            0
    }

define host{
	name				generic-host
	alias				generic-host
	max_check_attempts		2
	check_interval			5
	active_checks_enabled		1
	check_period			24x7
	contact_groups			admins
	notification_interval		60
	notification_period		24x7
	notification_options		d,u,r,f
	notifications_enabled		1
	event_handler_enabled		0
	flap_detection_enabled		1
	process_perf_data		1
	register			0
}

define contact{
    name              generic-contact  	; The name of this contact template
    service_notification_period   24x7			; service notifications can be sent anytime
    host_notification_period    24x7			; host notifications can be sent anytime
    service_notification_options  c,w,r
    host_notification_options    d,u,r,f,s		; send notifications for all host states, flapping events, and scheduled downtime events
    service_notification_commands  notify-service-by-email	; send service notifications via email
    host_notification_commands   notify-host-by-email	; send host notifications via email
    register            0    		; DONT REGISTER THIS DEFINITION - ITS NOT A REAL CONTACT, JUST A TEMPLATE!
	host_notifications_enabled	1
	service_notifications_enabled	1
	host_notification_period		24x7
	service_notification_period		24x7
	email					nothere@nothere@net
	}
And some log :

2012-02-25 19:31:58,278 [1330194718] SERVICE NOTIFICATION: admin;ns212127;LOAD;WARNING;notify-service-by-email;WARNING - Charge moyenne: 3.13, 3.04, 3.19

2012-02-25 19:36:57,750 [1330195017] SERVICE NOTIFICATION: wdmedia;ns212127;LOAD;WARNING;notify-service-by-email;WARNING - Charge moyenne: 2.57, 2.77, 3.05

2012-02-25 19:36:58,753 [1330195018] SERVICE NOTIFICATION: wdmedia;ns212127;LOAD;WARNING;notify-service-by-email;WARNING - Charge moyenne: 2.57, 2.77, 3.05

2012-02-25 19:36:59,756 [1330195019] SERVICE NOTIFICATION: wdmedia;ns212127;LOAD;WARNING;notify-service-by-email;WARNING - Charge moyenne: 2.57, 2.77, 3.05

2012-02-25 19:37:00,776 [1330195020] SERVICE NOTIFICATION: wdmedia;ns212127;LOAD;WARNING;notify-service-by-email;WARNING - Charge moyenne: 2.57, 2.77, 3.05

2012-02-25 19:37:01,796 [1330195021] SERVICE NOTIFICATION: wdmedia;ns212127;LOAD;WARNING;notify-service-by-email;WARNING - Charge moyenne: 2.57, 2.77, 3.05

2012-02-25 19:37:02,816 [1330195022] SERVICE NOTIFICATION: wdmedia;ns212127;LOAD;WARNING;notify-service-by-email;WARNING - Charge moyenne: 2.57, 2.77, 3.05

2012-02-25 19:37:03,853 [1330195023] SERVICE NOTIFICATION: wdmedia;ns212127;LOAD;WARNING;notify-service-by-email;WARNING - Charge moyenne: 2.57, 2.77, 3.05


2012-02-25 19:37:05,943 [1330195025] SERVICE NOTIFICATION: wdmedia;ns212127;LOAD;WARNING;notify-service-by-email;WARNING - Charge moyenne: 2.57, 2.77, 3.05

2012-02-25 19:37:06,996 [1330195026] SERVICE NOTIFICATION: wdmedia;ns212127;LOAD;WARNING;notify-service-by-email;WARNING - Charge moyenne: 2.57, 2.77, 3.05

2012-02-25 19:37:08,068 [1330195028] SERVICE NOTIFICATION: wdmedia;ns212127;LOAD;WARNING;notify-service-by-email;WARNING - Charge moyenne: 2.57, 2.77, 3.05

2012-02-25 19:37:09,138 [1330195029] SERVICE NOTIFICATION: wdmedia;ns212127;LOAD;WARNING;notify-service-by-email;WARNING - Charge moyenne: 2.57, 2.77, 3.05

2012-02-25 19:37:10,227 [1330195030] SERVICE NOTIFICATION: wdmedia;ns212127;LOAD;WARNING;notify-service-by-email;WARNING - Charge moyenne: 2.57, 2.77, 3.05

2012-02-25 19:37:11,315 [1330195031] SERVICE NOTIFICATION: wdmedia;ns212127;LOAD;WARNING;notify-service-by-email;WARNING - Charge moyenne: 2.57, 2.77, 3.05

PS : sorry for my poor french based english

Regards,
ManicoW