[icinga-checkins] icinga.org: icinga-core/r1.3: idoutils: change config_output_options to 1 (original config dump) #1127

git at icinga.org git at icinga.org
Thu Jan 20 14:03:48 CET 2011


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

Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Wed Jan 19 15:03:48 2011 +0100

idoutils: change config_output_options to 1  (original config dump) #1127

will slow down everything, but those queries will be changed to
bulk inserts mostly.

fixes #1127

---

 Changelog                                   |    2 ++
 module/idoutils/config/idomod.cfg-sample.in |    6 ++++--
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/Changelog b/Changelog
index 38389c7..64c8656 100644
--- a/Changelog
+++ b/Changelog
@@ -35,6 +35,8 @@ ENHANCEMENTS
 * idoutils: add dbversion upgrade scripts for 1.3 #633
 * idoutils: add dbversion check in ido2db and print error to syslog in case of non-matching #633
 * idoutils: do not clear host|service status tables on core restart/reload (inspired by Opsview) #1106
+* idoutils: change config_output_options to 1  (original config dump) #1127
+	- this will dump original configs to ido2db on core (re)start/load and take a while - needed for Icinga Web
 
 * contrib: bring daemonchk.cgi building into shape (Elan Ruusamäe) #1051
 
diff --git a/module/idoutils/config/idomod.cfg-sample.in b/module/idoutils/config/idomod.cfg-sample.in
index 76a8229..9b0537f 100644
--- a/module/idoutils/config/idomod.cfg-sample.in
+++ b/module/idoutils/config/idomod.cfg-sample.in
@@ -193,13 +193,15 @@ data_processing_options=67108861
 # CONFIG OUTPUT OPTION
 # This option determines what types of configuration data the IDO
 # NEB module will dump from Icinga.  Values can be OR'ed together.
-# Values: 
+# Default will be the original config, which will slow down (re)start.
+# Values:
 # 	  0 = Don't dump any configuration information
 #         1 = Dump only original config (from config files)
 #         2 = Dump config only after retained information has been restored
 #         3 = Dump both original and retained configuration
 
-config_output_options=2
+config_output_options=1
+#config_output_options=2
 
 
 





More information about the icinga-checkins mailing list