mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-25 14:44:32 +02:00
Update documentation.
This commit is contained in:
parent
69dcdb5bf6
commit
cfc5331013
@ -57,14 +57,14 @@ introduces:
|
|||||||
* description of what configuration options are available.
|
* description of what configuration options are available.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
Icinga 2 supports C- and C++-style comments.
|
Icinga 2 supports [C/C++-style comments](#comments).
|
||||||
|
|
||||||
include <itl/itl.conf>
|
include <itl/itl.conf>
|
||||||
include <itl/standalone.conf>
|
include <itl/standalone.conf>
|
||||||
|
|
||||||
The *include* directive can be used to include other files. The *itl/itl.conf*
|
The *include* directive can be used to include other files. The *itl/itl.conf*
|
||||||
file defines a number of useful templates and constants you can use to
|
file is distributed as part of Icinga 2 and provides a number of useful templates
|
||||||
configure your services.
|
and constants you can use to configure your services.
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Global macros
|
* Global macros
|
||||||
@ -91,10 +91,11 @@ what you want the library to do.
|
|||||||
object ExternalCommandListener "command" { }
|
object ExternalCommandListener "command" { }
|
||||||
object CompatLogger "compat-log" { }
|
object CompatLogger "compat-log" { }
|
||||||
|
|
||||||
Those three object types are provided by the *compat* library. The *StatusDataWriter*
|
Those three object types are provided by the *compat* library:
|
||||||
|
|
||||||
Type | Description
|
Type | Description
|
||||||
StatusDataWriter | Is responsible for writing the status.dat and objects.cache files.
|
-------------------------|-------------------------
|
||||||
|
StatusDataWriter | Responsible for writing the status.dat and objects.cache files.
|
||||||
ExternalCommandListener | Implements the command pipe which is used by the CGIs to send commands to Icinga 2.
|
ExternalCommandListener | Implements the command pipe which is used by the CGIs to send commands to Icinga 2.
|
||||||
CompatLogger | Writes log files in a format that is compatible with Icinga 1.x.
|
CompatLogger | Writes log files in a format that is compatible with Icinga 1.x.
|
||||||
|
|
||||||
@ -153,23 +154,23 @@ The *macros* attribute can be used to define macros that are available for all
|
|||||||
services which belong to this host. Most of the templates in the Icinga Template
|
services which belong to this host. Most of the templates in the Icinga Template
|
||||||
Library require an *address* macro.
|
Library require an *address* macro.
|
||||||
|
|
||||||
### Setting up the Icinga Classic UI
|
### Setting up Icinga Classic UI
|
||||||
|
|
||||||
Icinga 2 can write status.dat and objects.cache files in the format that
|
Icinga 2 can write *status.dat* and *objects.cache* files in the format that
|
||||||
is supported by the Icinga 1.x Classic UI. External commands (a.k.a. the
|
is supported by the Icinga 1.x Classic UI. External commands (a.k.a. the
|
||||||
"command pipe") are also supported. It also supports writing Icinga 1.x
|
"command pipe") are also supported. It also supports writing Icinga 1.x
|
||||||
log files which are required for the reporting functionality in the Classic UI.
|
log files which are required for the reporting functionality in the Classic UI.
|
||||||
|
|
||||||
These features are implemented as part of the "compat" library and are enabled
|
These features are implemented as part of the *compat* library and are enabled
|
||||||
by default in the example configuration file.
|
by default in the example configuration file.
|
||||||
|
|
||||||
You should be able to find the status.dat and objects.cache files in
|
You should be able to find the *status.dat* and *objects.cache* files in
|
||||||
/var/cache/icinga2. The log files can be found in /var/log/icinga2/compat.
|
*/var/cache/icinga2*. The log files can be found in */var/log/icinga2/compat*.
|
||||||
The command pipe can be found in /var/run/icinga2.
|
The command pipe can be found in */var/run/icinga2*.
|
||||||
|
|
||||||
#### Installing the Icinga Classic UI
|
#### Installing Icinga Classic UI
|
||||||
|
|
||||||
You can install the Icinga 1.x Classic UI in standalone mode using the
|
You can install Icinga 1.x Classic UI in standalone mode using the
|
||||||
following commands:
|
following commands:
|
||||||
|
|
||||||
$ wget http://downloads.sourceforge.net/project/icinga/icinga/1.9.3/icinga-1.9.3.tar.gz
|
$ wget http://downloads.sourceforge.net/project/icinga/icinga/1.9.3/icinga-1.9.3.tar.gz
|
||||||
@ -225,7 +226,7 @@ Verify that your Icinga 1.x Classic UI works by browsing to your Classic
|
|||||||
UI installation URL, e.g.
|
UI installation URL, e.g.
|
||||||
[http://localhost/icinga](http://localhost/icinga)
|
[http://localhost/icinga](http://localhost/icinga)
|
||||||
|
|
||||||
### Configuring IDO Support
|
### Configuring IDO
|
||||||
|
|
||||||
TODO
|
TODO
|
||||||
|
|
||||||
|
@ -306,7 +306,7 @@ Global variables may be used in constant expressions.
|
|||||||
> Constant expressions are evaluated as soon as they're encountered in
|
> Constant expressions are evaluated as soon as they're encountered in
|
||||||
> the configuration file.
|
> the configuration file.
|
||||||
|
|
||||||
### Comments
|
### <a id="comments" /> Comments
|
||||||
|
|
||||||
The Icinga 2 configuration format supports C/C++-style comments.
|
The Icinga 2 configuration format supports C/C++-style comments.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user