Modified: trunk/patches/nagios_notification_level.patch
===================================================================
--- trunk/patches/nagios_notification_level.patch 2014-10-23 22:51:35 UTC (rev 471)
+++ trunk/patches/nagios_notification_level.patch 2015-01-06 18:32:35 UTC (rev 472)
@@ -78,7 +78,7 @@
+ return ERROR;
+ }
+ if((cntct->notification_level_stop > 0 ) && ( notification_number > cntct->notification_level_stop ) ) {
-+ if (hst->last_hard_state_change != hst->last_check) {
++ if (hst->current_state != STATE_UP) { // This is different from services because Opsview sets all recoveries to be hard so old logic would always fail. This now allow recoveries to bypass this filter
+ log_debug_info(DEBUGL_NOTIFICATIONS,2,"This contact's notification_level_stop %d is less than the current notification number %d\n", cntct->notification_level_stop, notification_number);
+ return ERROR;
+ }