[icinga-checkins] icinga.org: icinga-core/mfriedrich/core: state based escal ranges leftover fix

git at icinga.org git at icinga.org
Mon Mar 4 19:26:59 CET 2013


Module: icinga-core
Branch: mfriedrich/core
Commit: 8450c9e57fd5f8d52c27195978e6fe91226076b6
URL:    https://git.icinga.org/?p=icinga-core.git;a=commit;h=8450c9e57fd5f8d52c27195978e6fe91226076b6

Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Wed Feb  6 10:37:23 2013 +0100

state based escal ranges leftover fix

---

 xdata/xodtemplate.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/xdata/xodtemplate.c b/xdata/xodtemplate.c
index 888e034..efde10c 100644
--- a/xdata/xodtemplate.c
+++ b/xdata/xodtemplate.c
@@ -1128,13 +1128,12 @@ int xodtemplate_begin_object_definition(char *input, int options, int config_fil
 		xod_begin_def(hostescalation);
 		new_hostescalation->first_notification = -2;
 		new_hostescalation->last_notification = -2;
-#ifdef USE_ST_BASED_ESCAL_RANGE
+		/* state based escalation ranges */
 		new_hostescalation->first_down_notification = -2;
 		new_hostescalation->last_down_notification = -2;
 		new_hostescalation->first_unreachable_notification = -2;
 		new_hostescalation->last_unreachable_notification = -2;
 		new_hostescalation->notification_interval = -2.0;
-#endif
 		break;
 
 	case XODTEMPLATE_HOSTEXTINFO:





More information about the icinga-checkins mailing list