Codebase list centreon-engine / c4c89d2
Revert "checks.cc: current_notification_number set to 0 on recovery" This reverts commit f911692441f3960b299e86a280b8f9112382f68e. Matthieu Kermagoret 6 years ago
1 changed file(s) with 0 addition(s) and 7 deletion(s). Raw diff Collapse all Expand all
28462846 /* set the current state */
28472847 hst->current_state = HOST_UP;
28482848
2849 /* When the host goes back to the HOST_UP state, we must reinitialize the
2850 * current_notification_number so that the first notification delay will
2851 * be waited before sending next notification when the host will fall
2852 * down.
2853 */
2854 hst->current_notification_number = 0;
2855
28562849 /* set the state type */
28572850 /* set state type to HARD for passive checks and active checks that were previously in a HARD STATE */
28582851 if (hst->state_type == HARD_STATE