[icinga-checkins] icinga.org: icinga-core/mbrooks/core: re-enable retained states dump for neb modules

git at icinga.org git at icinga.org
Sun Aug 7 00:18:34 CEST 2011


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

Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Tue Aug  2 22:39:49 2011 +0200

re-enable retained states dump for neb modules

---

 Changelog                   |    1 -
 base/icinga.c               |    2 +-
 sample-config/icinga.cfg.in |    9 +++------
 3 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/Changelog b/Changelog
index b33e760..126e882 100644
--- a/Changelog
+++ b/Changelog
@@ -6,7 +6,6 @@ Icinga 1.5.x Change Log
 
 ENHANCEMENTS
 * core: do not update host/service status during scheduler initialization on startup (idoutils already know that) #1741
-* core: do not dump retained states on startup, re-enable via cfg option (idoutils already know that) #1742
 
 * classic ui: Added option to suppress coloring of hosts/services in maintenance (Matthew Brooks) #992
 * classic ui: Added option to show partial hostgroups (Matthew Brooks) #1013
diff --git a/base/icinga.c b/base/icinga.c
index ad37385..510cede 100644
--- a/base/icinga.c
+++ b/base/icinga.c
@@ -154,7 +154,7 @@ int             soft_state_dependencies=FALSE;
 int             retain_state_information=FALSE;
 int             retention_update_interval=DEFAULT_RETENTION_UPDATE_INTERVAL;
 int             use_retained_program_state=TRUE;
-int		dump_retained_host_service_states_to_neb=FALSE;
+int		dump_retained_host_service_states_to_neb=TRUE;
 int             use_retained_scheduling_info=FALSE;
 int             retention_scheduling_horizon=DEFAULT_RETENTION_SCHEDULING_HORIZON;
 unsigned long   modified_host_process_attributes=MODATTR_NONE;
diff --git a/sample-config/icinga.cfg.in b/sample-config/icinga.cfg.in
index 839fe01..6bcf28c 100644
--- a/sample-config/icinga.cfg.in
+++ b/sample-config/icinga.cfg.in
@@ -767,13 +767,10 @@ use_retained_program_state=1
 # DUMP RETAINED HOST SERVICE STATES TO NEB
 # This setting determines wether or not Icinga will dump host
 # and service states based on the values saved in the retention
-# file to the neb modules. As Icinga IDOUtils keeps the host
-# and service state already over reload/restarts, this is
-# intentionally left disabled.
-# Note: Enabling this can cause large dumps to neb on large
-# scale systems and decrease performance.
+# file to the neb modules. If you don't want that, use at your
+# own risk and disable it
 
-dump_retained_host_service_states_to_neb=0
+dump_retained_host_service_states_to_neb=1
 
 
 





More information about the icinga-checkins mailing list