]> granicus.if.org Git - icinga2/commitdiff
configconvert: update README
authorMichael Friedrich <michael.friedrich@netways.de>
Mon, 24 Jun 2013 14:19:58 +0000 (16:19 +0200)
committerMichael Friedrich <michael.friedrich@netways.de>
Mon, 24 Jun 2013 14:19:58 +0000 (16:19 +0200)
refs #2743

tools/configconvert/README

index 01bf1b6ae674ade75b9f69c1c30a82496ca8b86d..c18725356e4200258eba178d8ec36bbfa62b9c94 100644 (file)
@@ -18,15 +18,19 @@ allowing to define notifications directly on the service definition then.
 All required templates will be inherited from Icinga2's Template Library (ITL).
 
 RUN
-# time ./icinga2_convert_v1_v2.pl -v -o conf/
+# ./icinga2_convert_v1_v2.pl -v -o conf/
 
 HELP
 # ./icinga2_convert_v1_v2.pl -h
 
 TEST
 There's a small icinga2 conversion test config available, including conf/ folder.
+
 # ~/i2/sbin/icinga2 -c icinga2-conv.conf
 
+(or if icinga2 binary is located in $HOME/i2/sbin/icinga2, simply use run_icinga2)
+
+
 REQUIREMENTS
 - Perl:
        Data::Dumper
@@ -37,6 +41,16 @@ REQUIREMENTS
 
 - Icinga2 ITL
 
+
+DEBUG
+Compile Icinga2 with --enable-debug=yes and start it with -x. Alternatively, define the
+ConsoleLogger Object and set severity to "debug".
+
+local object ConsoleLogger "my-debug-log" {
+    severity = "debug"
+}
+
+
 NOTES
 - Excludes (will be ignored in member lists)
 - Wildcards (* means all)
@@ -47,4 +61,6 @@ NOTES
 TODO
 - Escalations (transformed from notification counter to start/end time, new logic)
 - Dependency attributes: failure_criteria, inherits_parents, timeperiods
-- Notifications: notification_options conversion (not yet implemented)
+- Notifications: notification_options conversion
+- Flapping Thresholds: old vs new logic
+- some special object tricks, regex