]> granicus.if.org Git - icinga2/commitdiff
Update documentation for --app
authorGunnar Beutner <gunnar@beutner.name>
Wed, 18 Mar 2015 11:32:55 +0000 (12:32 +0100)
committerGunnar Beutner <gunnar@beutner.name>
Wed, 18 Mar 2015 11:32:55 +0000 (12:32 +0100)
refs #8791

doc/19-language-reference.md
doc/8-cli-commands.md

index c0d843b8259274f4c595b0c2f01b250a7a54f1b9..746704f22e4d9ea177ac3cdcd873abdf84f25730 100644 (file)
@@ -368,7 +368,6 @@ ObjectsPath         |**Read-write.** Contains the path of the Icinga 2 objects f
 PidPath             |**Read-write.** Contains the path of the Icinga 2 PID file. Defaults to RunDir + "/icinga2/icinga2.pid".
 Vars                |**Read-write.** Contains a dictionary with global custom attributes. Not set by default.
 NodeName            |**Read-write.** Contains the cluster node name. Set to the local hostname by default.
-ApplicationType     |**Read-write.** Contains the name of the Application type. Defaults to "icinga/IcingaApplication".
 EnableNotifications |**Read-write.** Whether notifications are globally enabled. Defaults to true.
 EnableEventHandlers |**Read-write.** Whether event handlers are globally enabled. Defaults to true.
 EnableFlapping      |**Read-write.** Whether flap detection is globally enabled. Defaults to true.
index 9a9cfd602a15f553a49a0ad2b37c0db0a78b6a74..2d385a153a7d3627afcbd52eb965d7a5eee083d9 100644 (file)
@@ -67,6 +67,7 @@ options.
       --color                use VT100 color codes even when stdout is not a
                              terminal
       -D [ --define ] arg    define a constant
+      -a [ --app ] arg       application library name (default: icinga)
       -l [ --library ] arg   load a library
       -I [ --include ] arg   add include search directory
       -x [ --log-level ] arg specify the log level for the console log
@@ -104,6 +105,11 @@ Debian/Ubuntu:
 
 ## <a id="cli-commands-global-options"></a> Icinga 2 CLI Global Options
 
+### Application Type
+
+By default the `icinga2` binary loads the `icinga` library. A different application type
+can be specified with the `--app` command-line option.
+
 ### Libraries
 
 Instead of loading libraries using the [`library` config directive](19-language-reference.md#library)
@@ -168,6 +174,7 @@ Furthermore it provides the [configuration validation](8-cli-commands.md#config-
       --color                use VT100 color codes even when stdout is not a
                              terminal
       -D [ --define ] arg    define a constant
+      -a [ --app ] arg       application library name (default: icinga)
       -l [ --library ] arg   load a library
       -I [ --include ] arg   add include search directory
       -x [ --log-level ] arg specify the log level for the console log
@@ -251,6 +258,7 @@ nodes in a [remote monitoring ](10-icinga2-client.md#icinga2-client) or
       --color                use VT100 color codes even when stdout is not a
                              terminal
       -D [ --define ] arg    define a constant
+      -a [ --app ] arg       application library name (default: icinga)
       -l [ --library ] arg   load a library
       -I [ --include ] arg   add include search directory
       -x [ --log-level ] arg specify the log level for the console log
@@ -284,6 +292,7 @@ More information can be found in the [troubleshooting](16-troubleshooting.md#lis
       --color                use VT100 color codes even when stdout is not a
                              terminal
       -D [ --define ] arg    define a constant
+      -a [ --app ] arg       application library name (default: icinga)
       -l [ --library ] arg   load a library
       -I [ --include ] arg   add include search directory
       -x [ --log-level ] arg specify the log level for the console log
@@ -328,6 +337,7 @@ This functionality is used by the [node setup/wizard](8-cli-commands.md#cli-comm
       --color                use VT100 color codes even when stdout is not a
                              terminal
       -D [ --define ] arg    define a constant
+      -a [ --app ] arg       application library name (default: icinga)
       -l [ --library ] arg   load a library
       -I [ --include ] arg   add include search directory
       -x [ --log-level ] arg specify the log level for the console log
@@ -382,6 +392,7 @@ cleared after review.
       --color                use VT100 color codes even when stdout is not a
                              terminal
       -D [ --define ] arg    define a constant
+      -a [ --app ] arg       application library name (default: icinga)
       -l [ --library ] arg   load a library
       -I [ --include ] arg   add include search directory
       -x [ --log-level ] arg specify the log level for the console log
@@ -416,6 +427,7 @@ Its output defaults to a file named `troubleshooting-[TIMESTAMP].log` so it won'
       -V [ --version ]      show version information
       --color                use VT100 color codes even when stdout is not aterminal
       -D [ --define ] arg    define a constant
+      -a [ --app ] arg       application library name (default: icinga)
       -l [ --library ] arg   load a library
       -I [ --include ] arg   add include search directory
       -x [ --log-level ] arg specify the log level for the console log
@@ -449,6 +461,7 @@ Lists all configured variables (constants) in a similar fasion like [object list
       --color                use VT100 color codes even when stdout is not a
                              terminal
       -D [ --define ] arg    define a constant
+      -a [ --app ] arg       application library name (default: icinga)
       -l [ --library ] arg   load a library
       -I [ --include ] arg   add include search directory
       -x [ --log-level ] arg specify the log level for the console log