[icinga-checkins] icinga.org: icinga-core/mfriedrich/core: correct config description for transactions, add as new config item to update location refs #3527

git at icinga.org git at icinga.org
Thu Feb 21 19:32:09 CET 2013


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

Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Thu Jan 10 20:13:46 2013 +0100

correct config description for transactions, add as new config item to update location refs #3527

---

 module/idoutils/config/ido2db.cfg-sample.in        |   10 ++++----
 .../config/updates/ido2db.cfg_added_1.8_to_1.9.cfg |   23 ++++++++++++++++++++
 2 files changed, 28 insertions(+), 5 deletions(-)

diff --git a/module/idoutils/config/ido2db.cfg-sample.in b/module/idoutils/config/ido2db.cfg-sample.in
index 6eddb48..dbeb4d3 100644
--- a/module/idoutils/config/ido2db.cfg-sample.in
+++ b/module/idoutils/config/ido2db.cfg-sample.in
@@ -354,11 +354,11 @@ oracle_trace_level=0
 enable_sla=0
 
 # ENABLE TRANSACTIONS - EXPERIMENTAL!
-# This setting enables a SQL transaction around the data processing
-# block. The feature ist mostly useful for the config dump at start
-# of a big Icinga instance - or every other big chunk of data coming
-# from the Idomod. (In normal operation every event is still a single
-# transaction)
+# This setting enables SQL transactions during data processing. It will
+# be useful when dumping config objects and their relations (contacts, etc),
+# during normal operations it won't help that much.
+# The intention is clearly to reduce the reload/restart time when idomod
+# dumps the config data, blocking the core.
 #
 # WARNING: uses BEGIN / COMMIT for the transactions - make sure this
 # works with your DBMS!
diff --git a/module/idoutils/config/updates/ido2db.cfg_added_1.8_to_1.9.cfg b/module/idoutils/config/updates/ido2db.cfg_added_1.8_to_1.9.cfg
new file mode 100644
index 0000000..0007efa
--- /dev/null
+++ b/module/idoutils/config/updates/ido2db.cfg_added_1.8_to_1.9.cfg
@@ -0,0 +1,23 @@
+#################################################################
+# These are newly ADDED config options for IDO2DB.CFG only.
+#
+# NOTE: Update your existing configuration with those new ones,
+#	if needed. You are advised to do so, in order to get the
+#	full Icinga experience!
+#################################################################
+
+# ENABLE TRANSACTIONS - EXPERIMENTAL!
+# This setting enables SQL transactions during data processing. It will
+# be useful when dumping config objects and their relations (contacts, etc),
+# during normal operations it won't help that much.
+# The intention is clearly to reduce the reload/restart time when idomod
+# dumps the config data, blocking the core.
+#
+# WARNING: uses BEGIN / COMMIT for the transactions - make sure this
+# works with your DBMS!
+
+use_transactions=0
+
+
+
+





More information about the icinga-checkins mailing list